这个原因主要是Build Setting 里没有Provisioning Profile(简称PP)。为什么没有?因为PP没导入啊,怎么导入?在https://developer.apple.com/account/ios/profile/profileList.action可以看到生成的各个PP,点击可以下载,下到MAC后,关闭XCode,双击.mobileprovision文件,再重新打开XCode就看到啦。
好了,这是网友的解决方案,参考下:
//============== http://www.cnblogs.com/imzzk/p/3501868.html ===========
以后碰到这样的问题按照下面几个步骤来做:
- go to Certificates, Identifiers & Profiles in the Developer Center
- create a new provisioning profile in "Provisioning Profiles" / "Distribution"
- download the profile and open it
- restart Xcode
//============== http://www.cnblogs.com/wuwangchuxin/p/3711554.html =============
今天重新上传做好的app提交到app store,结果就出现标题上的错误。“No identities are available for signing”。
以后碰到这样的问题按照下面几个步骤来做:
进入Distribution -----下载发布证书 -----双击安装-----重启Xcode就能上传了
其他细节
如果再次提交Validate的时候,还是这个错误。可以看错误信息的提示,可能是app的"Bundle Identifier"跟我生成的Provisioning对不上,所以就没有匹配的identities,这样把app的bundle identifier删除掉,换上跟provisioning一样的即可。再次提交就ok啦。