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

2.4k views Asked by At

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

2

There are 2 answers

0
Nitesh On

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

0
AlbertoMDF On

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