对于xcode8打包上传出现的问题留下纪念

1. 对于90682的第一个问题:ERROR ITMS-90682: "Invalid Bundle. The asset catalog at '$path' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3."

有道翻译:错误itm - 90682:“无效的包。资产目录的路径美元不包含16位或P3资产如果应用程序是针对iOS版本早于iOS 9.3。”

解决的方法如下:

iOS10,Xcode8上传AppStore的时候,显示构建版本无效

xcode8 升级过后,第一时间更新了,为了适配ios10遇到以下几个坑:

1.ios10推送获取不到devicetoken 注意在xcode8上要打开push Notifications (每个人的情况可能不一样,只是把我遇到的和解决办法说明下)

2、打包过后ERROR ITMS-90682: "Invalid Bundle. The asset catalog at '$path' can't contain 16-bit or P3 assets if the app is targeting iOS releases earlier than iOS 9.3."  注意:和那些ERROR ITMS-90682: Invalid Bundle - The asset catalog at 'Payload/XXXXX/Assets.car' can't contain 16-bit or P3 assets if the app supports iOS 9.3 or earlier不一样(注意路径) 之前是按照网上解决后者方法始终都找不到P3和16位图片后来参考这篇文章 把项目版本改为支持ios8.2(以前我的项目只支持8.3以上)发现打包就成功上传了,别的都没改.
3.接着到itunesconnect 发现没有构建的版本/此构建的版本无效(其实苹果公司这时会给你发邮件的)

邮件内容如下:

Dear developer,We have discovered one or more issues with your recent delivery for "Your App. To process your delivery, the following issues must be corrected:This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.Once these issues have been corrected, you can then redeliver the corrected binary.Regards,The App Store team

2.对于90474的第二个问题:

ERROR ITMS-90474: "Bundle Invalid. iPad Multitasking support requires there orientations:'UIInterfaceOrientationPortrait,UIIinterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle.t submit to Apple

翻译是:错误itm - 90474:“包无效。iPad多任务支持需要有方向:“UIInterfaceOrientationPortrait、UIIinterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight”。发现“UIInterfaceOrientationPortrait”包。
这是由于提交app适配ios9的ipad的分屏导致的,只要如下图操作就可以了

3.对于第三个问题90158:
ERROR ITMS-90158: The following URL schemes found in your app are not in the correct format:[wb 1054510268]. URL schemes need to begin with an alphabetic character,and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC 1738 for more detail.
对于这个问题其实要是自己的问题他是创建

URL schemes的问题,本来我没需要但是我最后不知道怎么添加造成的,但是问题出现了我还得解决,我就是把、

URL Types删除了,因为我不需要,但是对于需要而出现的问题应该是这的问题:

解决:工程的Target面板中,选择info可以看到有URL Types,其中就有一个URL scheme

我猜测我的问题是:我的 URL schemes 中的值有问题 如楼上 [wb 1054510268] 我的是 [wb_New]

然后我尝试处理把下划线去掉了 变成[wbnew]并全部小写 再次打包提交

欧了···················


另附一篇 后来的思索 之后的文章

自定义 URL Scheme 完全指南http://www.cocoachina.com/industry/20140522/8514.html
可以看看需要了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

朝着阳光飞去

鼓励鼓励我吧 ,让我继续加油

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值