Xcode 8上传档案因资产而失败 [英] Xcode 8 uploading archive failed due to asset

查看:69
本文介绍了Xcode 8上传档案因资产而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试上传档案以通过testflight进行测试.但是Xcode 8拒绝了存档,并显示错误消息 Invalid Bundle:如果应用程序支持iOS,则".... path/extension.appex/Assets.car"上的资产目录不能包含16位或P3资产8或更早版本.这与我在扩展资产中添加的资产类型有关吗?有人遇到类似的错误吗?

I'm trying to upload archive to run a test through testflight. But Xcode 8 rejected the archive with the error message Invalid Bundle: The asset catalog at '.... path/extension.appex/Assets.car' can't contain 16-bit or P3 assets if the app supports iOS 8 or earlier. Is this something to do with assets type I added in assets for extension? Does anyone experience similar error?

推荐答案

尝试使用部署目标iOS 8.2为我工作.按照Apple的说法:您需要将目标操作系统移回8.2.这里有多个问题在起作用.您看到的一个问题是,部署目标为8.3或8.4生成的Assets.car错误地包含了一个密钥触发iTC验证.这与父应用程序中可能存在或不存在的扩展程序无关(存在单独的问题).

Tried with deployment target iOS 8.2 worked for me. As per Apple "You'll need to move the target OS back to 8.2. There have been multiple issues at play here. The one you're seeing is that Assets.car generated with a Deployment Target of 8.3 or 8.4 incorrectly include a key that trips up the iTC validation. This is unrelated to extensions that may or may not exist in the parent app (where there was a separate problem).

说过,随着iOS 10即将上线,我们的建议是将您的Deployment Target迁移到9.x."

Having said that, with iOS 10 going live soon, our recommendation will be to move your Deployment Target to 9.x."

这篇关于Xcode 8上传档案因资产而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆