xcode ERROR ITMS

一、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使用信息的校验。ios

解决办法: command+Shift + K    clean  下  Xcode 缓存,从新打包上传 便可。sql

 

二、ERROR ITMS-90188

缘由及解决办法:打包的同一个版本,每次编包build号(就是上面说的CFBundleVersion)要递增。json

 

三、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位,xcode

可是使用cocospod时,在Podfile文件里面加上:缓存

   post_installdo |installer| installer.project.targets.eachdo |target| target.build_configurations.eachdo |config| config.build_settings['ARCHS'] ="armv7 arm64" endend endapp

 

四、Error itms-90060 This bundle is invalid:这是在我跟新软件第二个版本时,填写的版本号格式与上次提交的不一致形成的,改为一致的就行。分布式

五、Error itms-4236:这是在提交中版本号带有字符形成的,改成数字便可ide

 

 

六、ERROR ITMS-90098  把Build Active Architecture Only 改成YES就行


七、ERROR ITMS-90096

  • 打开图片资源包Images.xcassets
  • 若是没有看到LaunchImage,就添加。
  • LaunchImage将里面空缺的图片补全,注意⚠️必须是*.png

项目设置以下post

 

八、ERROR ITMS-90535

找到腾讯的info。plist测试

 

 



删除箭头指向的一行

 

从新打包,上传。

 

九、ERROR ITMS-90186:

"Invalid Pre-Release Train. The train version '100' is closed for new build submissions"

十、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-90529:

"Invalid package. Applications built with sdk 9.0 or later must be packaged as proper IPA files."

这是error是由于打包问题,解决方法:

原先上传的是.zip文件,如今须要上传 .ipa文件。也就是须要将打包成的app在打包成ipa文件就能够了。

具体步骤:

一、新建文件夹 Payload

二、将xcode编译好的app放在Payload文件夹中

三、压缩Payload文件夹为 .zip文件,而后重命名为 .ipa

十二、ERROR ITMS-9000 

:"The binary you uploaded was invalid"

从新注册了一下Provisioning Profiles,不知道什么缘由原来的.mobileprovision我有下载,但在apple developer网站就没有了,只能呢从新注册了一下就成功了 

 

 问题出在你的Provisioning Profiles上面,你在肯定一下你发布用的Provisioning Profiles是否出如今你的apple developer网站的Provisioning Profiles页面中 

1三、ERROR ITMS-90046: 

"Invalid Code Signing Entitlements. 

 

在对项目进行打包上传到APPStore时候,出现如下这个错误:

翻译过来的大概意思就是:"无效的代码签名权利。您的应用程序包的签名包含不支持iOS上的代码签名受权"。那么十有八九是打包的描述证书有问题,或者是项目的Bundle Identifier命名出现不规范等。参考:http://www.jianshu.com/p/3c2a97b36769

1四、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."

1五、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方案是:

1、在文件夹images.xcassets下的文件夹AppIcon.appiconset中添加icon.png、icon@2x.png以及icon-60.png、icon-60@2x.png这些PNG图片

2、打开Contents.json,添加 "filename" : "icon.png"


 1六、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来构建应用程序

1七、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/>

1八、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字段 添加项目的版本号

相关文章
相关标签/搜索