文档

将 Firebase 与 Apple 开发者账户关联

已更新 2026年6月26日

第 1 步:获取 APN(Apple Push Notification)密钥。

Account Apple Developer
  • 点击“+”添加新密钥。
Add a new key
  • 为密钥命名
  • 勾选 ☑️ Apple Push Notifications Service (APNs), 
  • 然后点击 Configure。
APN key configure
  • 选择 Production 作为 APN 环境
  • 保存 
Production APN environment

您将被重定向回 Certificates, Identifiers & Profiles 页面上的 Key registration 部分。

  • 点击继续
Continue Reg a new key
  • 注册该密钥
Register key
  • 下载密钥文件
  • 复制Team ID(位于同一页面右上角)
  • 复制Key ID
Download the key

第 2 步:Apple Cloud Messaging 设置

Click iOS app
  • 在项目设置下点击 Cloud Messaging 标签页
  • 在 Apple app configuration 区块下找到 APNs Authentication Key 部分。
  • 找到显示 No production APNs auth key 的部分
  • 点击上传
Cloud messaging
  • 上传 APNs auth key
  • 粘贴 Key ID/ Team ID  
  • 点击上传以提交 APN 密钥文件和凭据。您现在已成功将Apple Developer Account与Firebase连接。
Key file and details updated

至此,Apple 云消息推送已成功配置。

您可以前往 Android Apps 了解 Apple firebase 连接,并前往 Firebase admin SDK 将您的 firebase 与 Evlop 应用后台关联。