1、ERROR ITMS-90046 /90085: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '' for key 'com.apple.*
原因:生成的API分析文件過大,系統不能在提交前完成API使用信息的檢驗。
解決方案:command+Shift + K clean 下 Xcode 緩存,重新打包上傳 即可。
2、ERROR ITMS-90188
原因及解決辦法:打包的同一個版本,每次編包build號(就是上面說的CFBundleVersion)要遞增。
3、ERROR ITMS-90086:"missing 64-bit support. beginning on february 1, 2015, new iOS apps submitted to the app store must be include 64-bit support and be built with the ios8 SDK......
原因及解決辦法:這是因為現在提交的app必須支持64位,但是使用cocospod時,在Podfile文件里面加上:post_install do |installer| installer.project.targets.eachdo |target| target.build_configurations.eachdo |config| config.build_settings['ARCHS'] ="armv7 arm64" endend end
4、Error itms-90060 This bundle is invalid:
原因及解決辦法:這是在我跟新軟件第二個版本時,填寫的版本號格式與上次提交的不一致造成的,改成一致的就行。
5、Error itms-4236:
原因及解決辦法:這是在提交中版本號帶有字符造成的,改為數字即可
6、ERROR ITMS-90098:
原因及解決辦法:把Build-Active Architecture Only 改為YES就行
7、ERROR ITMS-90096
原因及解決辦法:打開圖片資源包Images.xcassets -> 如果沒有看到LaunchImage,就添加。-> LaunchImage將里面空缺的圖片補全,注意??必須是*.png。
項目設置如下:
8、ERROR ITMS-90535
原因及解決辦法:找到騰訊的info.plist
刪除箭頭指向的一行
重新打包上傳。
9、ERROR ITMS-90186:
"Invalid Pre-Release Train. The train version '100' is closed for new build submissions"
10、ERROR ITMS-90062:
"This bundle is invalid. The value for key CFBundleShortVersionString [100] in the Info.plist file must contain a higher version than that of the previously approved version [100]."
原因及解決辦法:提交新版本時 CFBundleVersion 和 CFBundleShortVersionString 都要大于上個版本才行
它的提示應該是你的 CFBundleShortVersionString 沒有大于之前的版本號
11、ERROR ITMS-90529:
"Invalid package. Applications built with sdk 9.0 or later must be packaged as proper IPA files."
原因及解決辦法:這個error是因為打包問題,解決方法:原先上傳的是.zip文件,現在需要上傳 .ipa文件。也就是需要將打包成的app在打包成ipa文件就可以了。
具體步驟:
1、新建文件夾 Payload
2、將xcode編譯好的app放在Payload文件夾中
3、壓縮Payload文件夾為 .zip文件,然后重命名為 .ipa
12、ERROR ITMS-9000:"The binary you uploaded was invalid"
原因及解決辦法:重新注冊了一下Provisioning Profiles,不知道什么原因原來的.mobileprovision我有下載,但在apple developer網站就沒有了,只能呢重新注冊了一下就成功了,問題出在你的Provisioning Profiles上面,你在確定一下你發布用的Provisioning Profiles是否出現在你的apple developer網站的Provisioning Profiles頁面中。
13、ERROR ITMS-90046:"Invalid Code Signing Entitlements.
在對項目進行打包上傳到APPStore時候,出現以下這個錯誤:
原因及解決辦法:翻譯過來的大概意思就是:"無效的代碼簽名權利。您的應用程序包的簽名包含不支持iOS上的代碼簽名授權"。那么十有八九是打包的描述證書有問題,或者是項目的Bundle Identifier命名出現不規范等。參考這里
**14、ERROR ITMS-90022:
"Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '57x57' pixels, in .png format for iOS versions < 7.0."
15、WARNING ITMS-90025:
"Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."
**
原因及解決辦法:從顯示出的錯誤中我們看到項目中缺少了57x57和120x120的PNG格式圖片。那我們如何添加進去了,這是我們關心的。解決ERROR ITMS-90022和WARNING ITMS-90025方案是:
一、在文件夾images.xcassets下的文件夾AppIcon.appiconset中添加icon.png、icon@2x.png以及icon-60.png、icon-60@2x.png這些PNG圖片
二、打開Contents.json,添加 "filename" : "icon.png"
**16、INFO ITMS-90111:
"Your app is built with a beta version of Xcode or iOS SDK. Only apps distributed for beta testing may be built with beta software. To submit an app for distribution on the App Store, you will need to build the app with release versions of Xcode and iOS SDK."
**
原因及解決辦法:信息顯示你的應用程序是建立Xcode的beta版本或iOS SDK。只能由應用分布式測試測試版軟件
方案:用發布版本的Xcode和iOS SDK來構建應用程序
**17、ERROR ITMS-90474/90475:
"Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'xxxx'."
**
原因及解決辦法:
在X5-info文件中添加<key>UIRequiresFullScreen</key>
<true/>
**18、ERROR ITMS-90049 /90535:
This bundle is invalid The bundle identifier contains disallowed characters **
原因及解決辦法:解決辦法(一):刪除項目中第三方的plist文件(最主要的騰訊的info.plist) 。
方法(二):在騰訊的info.plist中添加bundle id 鍵值對。這兩個error都是第三方的info.plist 文件問題,解決方法:在xcode左下角搜索info.plist 找到第三方的info.plist文件,如友盟中騰訊Api文件夾下的info.plist文件;找到Bundle version字段,添加項目的build號;添加Bundle identifier 字段,并對應添加項目的BundleId號;找到Bundle versions string, short字段 添加項目的版本號。