None of the valid provisioning profiles allowed the specified entitlements(有关不同版本xcode之间切换编译代码问题)

Posted 漂泊_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了None of the valid provisioning profiles allowed the specified entitlements(有关不同版本xcode之间切换编译代码问题)相关的知识,希望对你有一定的参考价值。

今天在打包提交App Store的时候遇到了这样的问题

刚开始以为证书问题,该改的都改了都没解决,查了一天的资料,最后是因为自己在同一台电脑,用xcode8和xcode7编译了同一份代码,用xcode8编译以后就会多一些配置文件,最明显的就是多了一个MyApp.entitlements文件,而我遇到的这个问题是因为多了下图所示的东西:


原来Xcode7中是Code Signing Entitlements后面的参数是空的,所以我在删除了这个参数以后,打包可以正常通过Archives,并提交到App Store. 另外附上我所查资料的链接,我总结的不全面,大家可以去参考: 1https://www.sian.space/analysis/2016/08/15/223617.html 2. https://developer.apple.com/library/content/qa/qa1830/_index.html
3. http://stackoverflow.com/questions/28006773/xcode6-error-no-matching-provisioning-profiles-found-for-application

以上是关于None of the valid provisioning profiles allowed the specified entitlements(有关不同版本xcode之间切换编译代码问题)的主要内容,如果未能解决你的问题,请参考以下文章