Xcode7编译发布问题

  1. 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文件中包含的字段,重新打包上传。

  2. ERROR ITMS-90475: “Invalid Bundle. iPad Multitasking support requires launch story board in bundle ‘pyc.com.cn.pbbReader’.”

  3. 苹果邮件: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.

  4. IOS9访问网络设置:NSAppTransportSecurity 字典,字段:NSAllowsArbitraryLoads 字段值:YES

  5. 搜索Target对应的build setting中,把bitCode支持设置为NO

  6. iPad 中的多任务适配
    如果你不想你的 app 可以作为多任务的副 app 被使用的话,你可以在 Info.plist 中添加 UIRequiresFullScreen 并将其设为 YES

  7. 对第三方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了