简体   繁体   English

错误ITMS-9000:“不支持的体系结构。Xcode存档错误

[英]ERROR ITMS-9000: “Unsupported architectures.Xcode Archive error

I am trying to upload my app to the appstore. 我正在尝试将我的应用上传到应用商店。
Have done that successfully in the past but after integrating live sdk i get this error- 过去已成功完成此操作,但在集成实时SDK之后,出现此错误-
ERROR ITMS-9000: “Unsupported architectures. 错误ITMS-9000:“不受支持的体系结构。 Your executable contains unsupported architectures '[x86_64, i386]'” 您的可执行文件包含不受支持的架构'[x86_64,i386]'”
I cant even get past the validation screen. 我什至无法通过验证屏幕。
Any help would be highly appreciated. 任何帮助将不胜感激。
I tried a few suggestion mentioned here- 我尝试了这里提到的一些建议-

ERROR ITMS-9000: "Unsupported architectures. Your executable contains unsupported architectures '[x86_64, i386]'" 错误ITMS-9000:“不支持的体系结构。您的可执行文件包含不支持的体系结构'[x86_64,i386]'”

But even this did not help 但这甚至没有帮助
Thanks in advance. 提前致谢。

Cheers Nitesh 干杯尼特什

I had the same error when I tried to submit the ipa, we can't upload frameworks with simulator arquitectures i386 & x86_64 to itunes connect 我尝试提交ipa时遇到了相同的错误,我们无法将带有模拟器结构i386和x86_64的框架上载到iTunes连接

In my case was because of frameworks of Carthage has i386 & 86_64 arquitectures 就我而言,是因为迦太基的框架具有i386和86_64架构

Then, you can try 2 options: 然后,您可以尝试2个选项:

1.- If Carthage case > Read carthage Readme file here 1.-如果是迦太基案例 > 在这里阅读迦太基自述文件

Where they explains how to workaround this App Store submission bug : 他们在哪里解释如何解决此App Store提交错误

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.- Remove the arquitectures that you don't need to upload 2.-删除不需要上传的建筑

Here you have a solution with a really nice script to remove arquitectures that you don't need Submit to App Store issues: Unsupported Architecture x86 在这里,您有一个具有非常好的脚本的解决方案,可以删除不需要的“ 提交到App Store”问题的 arquitectures :Unsupported Architecture x86

You can solve it by adding armv6 in the supported architectures. 您可以通过在支持的体系结构中添加armv6来解决此问题。 This worked for me. 这对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM