在XCode7上传应用时,上传失败遇到两个错误,提示如下:
- 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."
- 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文件,即可。