IOS App发布异常问题汇总

来源:互联网 发布:淘宝上企业店铺靠谱吗 编辑:程序博客网 时间:2024/05/19 18:47


1、 API 分析文件太大

Info.plist 文件中的LSRequiresIPhoneOS 没有设置,或者设置了NO。

对于 iOS 的 APP 来说,如果Info.plist 文件中的LSRequiresIPhoneOS 没有设置,或者设置了 NO,那么由 Xcode 导出的安装包(.ipa 包),就不会包含 Payload 文件夹,而是被一个叫做 APPlications 的文件夹代替。这样的安装包在安装时,会被 iOS 判定为无效的安装包,所以无法被正确安装。解决方式也很简单,只需要将Info.plist 文件中的LSRequiresIPhoneOS 设置为 YES,然后重新打包即可。具体操作为:在 Xcode 中打开 Info.plist 文件,然后检查 APPlication requires iPhone environment 是否已设置,如果没有设置,就添加一个,然后将 APPlication requires iPhone environment 的类型设置为 Boolean ,值设置为 YES。


2、Cannot proceed with delivery: an existing transporter instance is currently uploading this package

原因:上传的动作被记录在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了


3、ERROR ITMS-4238: "Redundant Binary Upload. There already exists a binary upload with build version '1.0' for train '1.0'" at SoftwareAssets/PreReleaseSoftwareAsset

出现这个问题通常是因为之前上传过app但是没使用

解决: 更改版本号

0 0
原创粉丝点击