Xcode7编译发布问题
文章目录
【注意】最后更新于 September 25, 2015,文中内容可能已过时,请谨慎使用。
Xcode7编译发布问题
ERROR ITMS-90535: “Unexpected CFBundleExecutable Key. The bundle at ‘Payload/PBBReader.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.”
解决办法:搜索CFBundleExecutable 字段,删除所有第三方框架中的info.plist文件中包含的字段,重新打包上传。
ERROR ITMS-90475: “Invalid Bundle. iPad Multitasking support requires launch story board in bundle ‘pyc.com.cn.pbbReader’.”
苹果邮件:We have discovered one or more issues with your recent delivery for “PBB Reader”. To process your delivery, the following issues must be corrected: Invalid Bundle - A nested bundle doesn’t have the right platforms listed in CFBundleSupportedPlatforms Info.plist key.
IOS9访问网络设置:NSAppTransportSecurity 字典,字段:NSAllowsArbitraryLoads 字段值:YES
搜索Target对应的build setting中,把bitCode支持设置为NO
iPad 中的多任务适配
如果你不想你的 app 可以作为多任务的副 app 被使用的话,你可以在 Info.plist 中添加 UIRequiresFullScreen 并将其设为 YES对第三方SDK后台运行,有严格的把控,要求bundle资源必须为最新有效,上传包时必要条件
解决办法:
退回Xcode6.4,进行打包发布
Cannot proceed with delivery: an existing transporter instance is currently uploading this package
把Application Loader(XCode->Organizer->Archived Applications->Submit)中正在上传的文件中断或者删除,再次Submit提示:
Cannot proceed with delivery: an existing transporter instance is currently uploading this package。
无论如何Clean All、重新Submit都失败,给出上述提示。
原因:上传的动作被记录在UploadToken中了。
解决方法:
(1)打开终端,输入cd,到达个人用户目录下。
(2)输入ls -a,可以看到一个隐藏的目录 .itmstransporter
(3)cd .itmstransporter/UploadTokens
(4)ls ,可以看到一个类似 xxxxx.local_itunesConnectUSERxxxxxx.itmsp.token文件
(5)nano xxxxx.local_itunesConnectUSERxxxxxx.itmsp.token,在里面把内容都删除,保存。
(6)重新在Organizer里面submit,ok了
文章作者 iTBoyer
上次更新 2015-09-25