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

  • Post author:
  • Post category:其他


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

]





然后我尝试

处理

把下划线去掉了 变成



[wb


n

ew

]

并全部小写 再次打包提交


















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









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


自定义 URL Scheme 完全指南






http://www.cocoachina.com/industry/20140522/8514.html


可以看看需要了






版权声明:本文为liubaoheng原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。