美文网首页IOS技术精华iOS Developer
No .app bundle found in the pack

No .app bundle found in the pack

作者: 逆行风 | 来源:发表于2016-11-26 00:35 被阅读12次

简而言之,就是打包的时候,应该使用发布证书,但是使用了开发证书,所以才会出现这个问题,修改为发布证书即可

When you see "iPhone Developer" in the code signing identity, that means Xcode will automatically select a matching identity to sign the app (It doesn't mean that no profile is selected).

From what I can see it looks like "iPhone Developer" is chosen for both Debug and Release configurations which will likely cause a problem because you cannot submit a Developer signed app to the App Store, it must be signed with a Distribution certificate and Distribution profile.

You will need to ensure that you have created a Distribution Certificate and profile to sign your app with before archiving it and submitting it via Xcode.

I would recommend you read up on how app store distribution works from the Apple documentation here:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html

Then if you still are having trouble, read the trouble shooting guide from the docs here:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Troubleshooting/Troubleshooting.html

相关文章

网友评论

    本文标题:No .app bundle found in the pack

    本文链接:https://www.haomeiwen.com/subject/xziwpttx.html