問題一:this action cannot be completed -22421
- iOS打包app為IPA包時報錯:
this action cannot be completed -22421
或者
iTunes Store operation failed
This action could not be completed ,Try again.
解決辦法:
- .Applacition Loader送出
或者
- 删掉之前的包重新Export
問題二:Error ITMS-4238 “Redundant Binary Upload
- submit時出現如下錯誤:Error ITMS-4238 “Redundant Binary Upload”
解決辦法:
- 出現這個問題通常是因為之前上傳過app但是沒使用,第二次上傳build版本沖突。修改軟體的build版本大于之前版本即可(工程-屬性-General)。現在的ITC送出app,APP版本要和ITC設定的版本相同,如果送出多次,則需要增加build版本好以便區分。
問題三:ERROR ITMS-90188
- Archive submit 之後報:ERROR ITMS-90188
解決辦法:
-
打包的同一個版本,每次編包build号(
就是上面說的CFBundleVersion)要遞增。
問題四:ERROR ITMS-90046 /90085
- 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 緩存,重新打包上傳 即可。
問題五:ERROR ITMS-90086
- 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檔案裡面加上:
問題六:Error itms-90060
- Error itms-90060 This bundle is invalid:
原因及解決辦法:
- 這是在更新軟體版本時,填寫的版本号格式與上次送出的不一緻造成的,改成一緻的就行。
問題七:Error itms-4236
- Error itms-4236:
原因及解決辦法:
- 這是在送出中版本号帶有字元造成的,改為數字即可
問題八:ERROR ITMS-90098
- ERROR ITMS-90098
原因及解決辦法:
- 把Build Active Architecture Only 改為YES就行
問題九:ERROR ITMS-90096
- ERROR ITMS-90096
原因及解決辦法:
-
打開圖檔資源包Images.xcassets
如果沒有看到LaunchImage,就添加。LaunchImage将裡面空缺的圖檔補全,注意⚠️必須是*.png。
問題十:ERROR ITMS-90535
- ERROR ITMS-90535
解決辦法:
- 找到騰訊的 info.plist
- 删除其中一行
- 重新打包上傳
問題十一:ERROR ITMS-90062
- 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 沒有大于之前的版本号
問題十二:ERROR ITMS-90046:
- ERROR ITMS-90046:
“Invalid Code Signing Entitlements.
解決辦法:
- 參考:點我檢視詳情
問題十二:ERROR ITMS-90022
- 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.”
- 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、[email protected]以及icon-60.png、[email protected]這些PNG圖檔
- 二、打開Contents.json,添加“filename” : “icon.png”
問題十三:ERROR ITMS-90049 /90535
- 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字段 添加項目的版本号
參考:點我坐飛機
本文持續更新···