App 上传错误
4.ERROR ITMS-90174。
ERROR ITMS-90174: "Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision."
If you submit your build to the AppStore in an IPA archive format (example: Game.ipa), make sure that the Payload folder is at the root of the archive, otherwise you'll get the error: Missing Provisioning Profile - - Apps must contain a provisioning profile in a file named embedded.mobileprovision.
3.Found an unexpected Mach-O header code: 0x72613c21。
path = /Users/***/Library/Developer/Xcode/Archives/2018-05-14/Demo 2018-5-14 下午6.23.xcarchive/Products/Applications/Demo.app/Frameworks/Hi.framework
2018-05-14 18:23:34 +0000 [MT] [OPTIONAL] Didn't find archived user entitlements for <DVTFilePath:0x7f8529a08050: 'path'>: Error Domain=NSCocoaErrorDomain Code=4 "Item at "path" did not contain a "archived-expanded-entitlements.xcent" resource." UserInfo={NSLocalizedDescription=Item at "path" did not contain a "archived-expanded-entitlements.xcent" resource.}
原因: 一般是误将静态库添加在 Embed Frameworks 中。
解决方案:
a) 检查 Hi.framework 制作工程的 Mach-o Type 是 Dynamic Library 还是 Static Library。
b) 在使用 Hi.framework 的工程中:
如果 Hi.framework 是 Static Library,需添加到 Link Binary With Libraries 中;
如果 Hi.framework 是 Dynamic Library,需添加 Embed Frameworks 中。
2.利用 Application Loader 上传时出现 ERROR ITMS-90087错误。
ERROR ITMS-90087:"Unsupported Architectures.The executable for Demo.app/DemoSDK.framework contains unsupported architectures ‘[x86_64,i386]]."
解决方案:重新制作不包含支持模拟器的DemoSDK.framework。
1.利用 Application Loader 上传时出现 ERROR ITMS-90668错误。
ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'Demo.app/Frameworks/DemoSDK.framework/DemoSDK' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."
原因:DemoSDK.framework在编译时支持了bitcode(YES),而打包的Demo.app使用的Xcode版本(如6.4)没有设置bitcode的选项。
解决方案:同时支持或不支持bitcode。