简体   繁体   English

供应配置文件和APNS问题

[英]Provisioning Profile & APNS issue

Using a provisioning profile to make an archive for an app, I have the following case: On the Apple Developer Portal under Certificates, Identifiers & Profiles I can see this information for myProfile 使用调配配置文件为应用程序存档时,出现以下情况:在Apple Developer PortalCertificates, Identifiers & ProfilesCertificates, Identifiers & Profiles我可以看到有关myProfile的信息。

Type:
    iOS Distribution
Enabled Services:
    Game Center, In-App Purchase, Push Notifications

But when using myProfile later to generate the app archive The aps-environment production does not appear in the Binary and Entitlements list. 但是,以后使用myProfile生成应用程序存档时,“ Binary and Entitlements列表中不会显示aps-environment production How can that happen? 怎么会这样 What did I do wrong? 我做错了什么?

Doesn't "Push Notifications" implies "aps-environment"? “推送通知”不是暗指“ aps-environment”吗?

Please reload all certificate from Xcode and check it again. 请从Xcode重新加载所有证书,然后再次检查。

Steps for reload all certificate from Xcode 从Xcode重新加载所有证书的步骤

  • Xcode menu => Preferences => Accounts Xcode菜单=>首选项=>帐户

  • Select the Apple ID in the left panel. 在左侧面板中选择Apple ID。

  • Click the View Details button on the right. 单击右侧的“查看详细信息”按钮。

  • In the pop-over that follows click the round refresh arrow. 在随后的弹出窗口中,单击圆形刷新箭头。 The lists will refresh after the download from the Member Center finishes. 从会员中心下载完成后,列表将刷新。 This can take a few minutes. 这可能需要几分钟。

  • The provisioning profiles can then be selected in a Mac project under Build Settings => Code Signing => Provisioning Profile. 然后可以在Mac项目中的Build Settings => Code Signing => Provisioning Profile中选择配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM