问题一: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文件里面加上:
post_installdo |installer| installer.project.targets.eachdo |target| target.build_configurations.eachdo |config| config.build_settings['ARCHS'] ="armv7 arm64" endend end
问题六: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、icon@2x.png以及icon-60.png、icon-60@2x.png这些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字段 添加项目的版本号
参考:点我坐飞机
本文持续更新···