上傳APP到AppStore遇到的各種錯誤
阿新 • • 發佈:2019-02-11
3.
ERROR ITMS-90086: Missing 64-bit support. Submission
fails with error on submit app on iTunes
在 build settings 中的 Valid
Architectures, 新增
6.
ERROR ITMS-90535 Unexpected CFBundleExecutable
在我這裡是因為我的bundle裡是生成了一個可執行檔案,從新做一個bundle檔案,注意bundle專案Build
Settings 中的Mach-o Type 要選擇 Static Library。如果是第三方的就把bundle裡info.plist的 Executable file欄位刪除掉(我自己的bundle如果刪除,上傳的時候會提示bundle是損壞的),然後重新打包。
7. ERROR ITMS-90034: Missing or invalid signature
ERROR ITMS-90474: "Bundle Invalid. iPad Multitasking support requires there orientations: 'UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'.
Found 'UIInterfaceOrientationPortrait' in bundle.
在 TARGETS > iOS > General > Deployment Info 勾選 “Requires full screen”
4.ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/PgapIos.app/GoogleMaps.bundle' contains an invalid value '( "iPhoneSimulator" )'.
這個是編譯bundle的時候,是用模擬器來編譯的,解決方法是:在編譯bundle的時候選擇真機
5.
ERROR ITMS-90086: Missing 64-bit support. Submission
fails with error on submit app on iTunes
在 build settings 中的 Valid
Architectures, 新增 arm64
讓APP支援
64位的機器。XCode7不會有這種情況
6.
ERROR ITMS-90535 Unexpected CFBundleExecutable
在我這裡是因為我的bundle裡是生成了一個可執行檔案,從新做一個bundle檔案,注意bundle專案Build
Settings 中的Mach-o Type 要選擇 Static Library。如果是第三方的就把bundle裡info.plist的 Executable file欄位刪除掉(我自己的bundle如果刪除,上傳的時候會提示bundle是損壞的),然後重新打包。7. ERROR ITMS-90034: Missing or invalid signature
這個其實還是因為bundle裡有個可執行檔案,在打包的時候沒能進行簽名導致的。