当我尝试验证我的应用程序提交到应用商店,我得到两个错误….
@H_301_4@Invalid code signing entitlements. Your application bundle’s signature@H_301_6@ contains code signing entitlements that are not supported on iOS.@H_301_6@ Speicifically value ‘K8TE8KDZ95.com.iclinical.child’ for key@H_301_6@ ‘application-identifier’ in ‘Payload/iResus.app/iResus’ is not@H_301_6@ supported. This value should be a string starting with your TEAMID,@H_301_6@ followed by a dot ‘.’ followed by the bundle identifier
和
@H_301_4@The executable at Payload/iResus.app/iResus in Payload/iResus.app has@H_301_6@ been signed with identifier ‘com.iclinical.child’ which does not match@H_301_6@ the bundle identifier ‘com.iclinical.childresus
我不知道我应该改变这个.目标中的bundle标识符是com.iclinical.child,但显然我需要改变它在别的地方….
希望你能帮忙.
解决方法
>进入iTunes Connect>查看了我的应用程序(在管理应用程序下)并复制了“Bundle ID”@H_301_6@>进入xcode并将’Bundle ID’粘贴到info.plist’Bundle标识符’字段中@H_301_6@>重新启动的xcode@H_301_6@> Xcode>窗口>主办单位>项目> “删除”项目的派生数据文件@H_301_6@> Xcode>产品> Alt Clean(清理Build文件夹)
然后我尝试重新提交,所有这些都正确地进行.我95%肯定我的Bundle ID是正确的开始,所以它可能是步骤2到5中的一些修复这一点.
无论如何希望这有助于别人.