将iOS应用程式提交给应用程式商店应用程式标识无效

我正在使用 xcode 5,我想我没有在哪里更改包标识符.

当我尝试验证我的应用程序提交到应用商店,我得到两个错误….

Invalid code signing entitlements. Your application bundle’s signature
contains code signing entitlements that are not supported on iOS.
Speicifically value ‘K8TE8KDZ95.com.iclinical.child’ for key
‘application-identifier’ in ‘Payload/iResus.app/iResus’ is not
supported. This value should be a string starting with your TEAMID,
followed by a dot ‘.’ followed by the bundle identifier

The executable at Payload/iResus.app/iResus in Payload/iResus.app has
been signed with identifier ‘com.iclinical.child’ which does not match
the bundle identifier ‘com.iclinical.childresus

我不知道我应该改变这个.目标中的bundle标识符是com.iclinical.child,但显然我需要改变它在别的地方….

希望你能帮忙.

解决方法

我刚刚收到这两个错误信息,这里是我如何修复它:

>进入iTunes Connect>查看了我的应用程序(在管理应用程序下)并复制了“Bundle ID”
>进入xcode并将’Bundle ID’粘贴到info.plist’Bundle标识符’字段中
>重新启动的xcode
> Xcode>窗口>主办单位>项目> “删除”项目的派生数据文件
> Xcode>产品> Alt Clean(清理Build文件夹)

然后我尝试重新提交,所有这些都正确地进行.我95%肯定我的Bundle ID是正确的开始,所以它可能是步骤2到5中的一些修复这一点.

无论如何希望这有助于别人.

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...