Verify that the entitlements in the provisioning-profile file are correct. To do this, open the .mobileprovision file in a text editor. The contents of the file are structured in XML. In the Entitlements dictionary locate the aps-environment key. For a development provisioning profile, the string value of this key should be development; for a distribution provisioning profile, the string value should be production.
用文本编辑器打开Entitlements.plist文件,加入
<key>aps-environment</key>
<string>development</string>
如下
<dict>
<key>application-identifier</key>
<string>X7R26W56BC.com.xxx.xxx</string>
<key>aps-environment</key>
<string>development</string>
<key>get-task-allow</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>X7R26W56BC.*</string>
</array>
</dict>
如果还有问题则检查你的证书是否选择正确。
本文指导您如何通过文本编辑器验证iOS应用的配置文件权限设置,并检查证书选择的正确性。
9669

被折叠的 条评论
为什么被折叠?



