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_installdo |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:這是在提交中版本號帶有字符造成的,改爲數字即可
把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命名出現不規範等。參考:http://www.jianshu.com/p/3c2a97b36769
14、ERROR ITMS-90022:
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、[email protected]以及icon-60.png、[email protected]這些PNG圖片
二、打開Contents.json,添加 "filename" : "icon.png"
16、INFO ITMS-90111
信息顯示你的應用程序是建立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字段 添加項目的版本號