XCode7打包上传报错

Posted 一天一个知识点

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了XCode7打包上传报错相关的知识,希望对你有一定的参考价值。

 

在XCode7上传应用时,上传失败遇到两个错误,提示如下:

 

[html] view plain copy
  1. ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at ‘xxxxx.app/TencentOpenApi_ios_Bundle.bundle‘ does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."  

[html] view plain copy
  1. ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 or later must be packaged as proper IPA files."  

对于问题1:

 

修改Info.plist文件

找到这个Bundle,删除info.plist里边的Executable file这一项(删除蓝色箭头指向的那一个,注意是腾讯SDK里边的那个info.plist)

技术分享

技术分享

 

对于问题2:

按照错误提示原先上传的是.zip文件,现在需要上传 .ipa文件。将xcode编译的.app文件放入Payload文件夹内,压缩成.zip文件,修改其后缀为.ipa文件,即可。

 
 

以上是关于XCode7打包上传报错的主要内容,如果未能解决你的问题,请参考以下文章

Xcode7打包,iOS9真机闪退,如何解决?

iOS打包上传ipa文件时,报错<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone a

iOS开发之旅iOS 开发之 Xcode7.2 打包生成ipa给测试

xcode7.3 升级 xcode8.0 后权限设置问题(升级xcode 8.0 后构建版本不显示问题)

iOS 11 上传应用 缺少图标报错

Xcode7新特性