【问题标题】:ERROR ITMS-9000: “Unsupported architectures.Xcode Archive error错误 ITMS-9000:“不支持的架构。Xcode 存档错误
【发布时间】:2014-11-19 10:42:05
【问题描述】:
【问题讨论】:
标签:
ios
iphone
xcode6
live-sdk
【解决方案1】:
我在尝试提交 ipa 时遇到了同样的错误,我们无法将带有模拟器架构 i386 和 x86_64 的框架上传到 itunes connect
在我的情况下是因为 Carthage 的框架具有 i386 和 86_64 架构
然后,您可以尝试 2 个选项:
1.- 如果迦太基案例 > 阅读迦太基Readme file here
他们在哪里解释了如何解决这个App Store submission bug:
On your application targets’ “Build Phases” settings tab, click the “+”
icon and choose “New Run Script Phase”. Create a Run Script with the following contents:
/usr/local/bin/carthage copy-frameworks
and add the paths to the frameworks you want to use under “Input Files”,
e.g.:
$(SRCROOT)/Carthage/Build/iOS/Box.framework
$(SRCROOT)/Carthage/Build/iOS/Result.framework
$(SRCROOT)/Carthage/Build/iOS/ReactiveCocoa.framework
2.- 删除不需要上传的架构
这里你有一个非常好的脚本来删除你不需要的架构的解决方案
Submit to App Store issues: Unsupported Architecture x86
【解决方案2】:
您可以通过在支持的架构中添加 armv6 来解决它。这对我有用。