简体   繁体   中英

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-
ERROR ITMS-9000: “Unsupported architectures. Your executable contains unsupported architectures '[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]'"

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

In my case was because of frameworks of Carthage has i386 & 86_64 arquitectures

Then, you can try 2 options:

1.- If Carthage case > Read carthage Readme file here

Where they explains how to workaround this 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.- Remove the arquitectures that you don't need to upload

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

You can solve it by adding armv6 in the supported architectures. This worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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