iOS上架报错

最近用Application Loader上架报错:

ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [***.app/***] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html"

iOS上架报错_第1张图片

翻遍了外网找不到解决办法,但换一个上架方式就好了。

解决方法:Product -> Archive,从这个渠道去上架。注意程序里App Strore的icon要和创建项目的一致,不能有透明层。而且要连上真机,不然Archive按钮是灰色不能点。

你可能感兴趣的:(Swift,oc)