Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo

本文指导您如何通过文本编辑器验证iOS应用的配置文件权限设置,并检查证书选择的正确性。

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>


如果还有问题则检查你的证书是否选择正确。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值