91

I sent an app yesterday for review, with no problem. I then realized that I had a very little fix to do (changing the max zoom level of a map from 19 to 18, nothing else), so I removed the binary from iTunes Connect, and tried to resubmit.

Now I'm having this warning :

warning_xcode

I don't understand why, as my architectures are :

  • architectures : armv7
  • valid architectures : armv6, armv7, armv7s, arm64

The app runs fine in the simulator. If I try to use the standard architectures (armv7, arm64) as recommended in the warning, then the app won't build and I get :

  • Undefined symbols for architecture x86_64
  • ld: symbol(s) not found for architecture x86_64

I'm using the lib route-me, and I set the same architecture settings.

5
  • We too have this issue. :(
    – Nazik
    Nov 7, 2014 at 6:30
  • Also since yesterday only ?
    – Tim Autin
    Nov 7, 2014 at 9:10
  • 1) try clearing the DerivedData for Xcode after you change that; 2) maybe are you using an older external api, sdk, framework, etc
    – TonyMkenu
    Nov 7, 2014 at 9:31
  • @Tim Did you manage to fix this ? can you please post solution for that ? Dec 5, 2014 at 9:47
  • Hi, sorry I did not found the solution, and I'm not working on this project anymore. For now it's just a warning, so I've been able to submit the app.
    – Tim Autin
    Dec 8, 2014 at 12:40

12 Answers 12

106

Use "Standard architectures" like this:

  • Architecture: "Standard architectures" arm7, arm64
  • Valid Architectures: "arm64" , armv7...
  • Build Active Architecture Only - NO (specially... if your connected device is not arm64 compatible)

like this:

enter image description here

  • Additionally, unplugging iphones and ipads from the mac has been known to help, especially if they are 32-bit versions.
7
  • 2
    Thanks for your answer, but as stated in my question I already tried that, and the project does not compile with this settings :/
    – Tim Autin
    Nov 7, 2014 at 9:10
  • 3
    @Tim, yes me too had armv7 and arm64 in Architechtures. Still, missing 64-bit support warning occurs while validating the app for submissiion.
    – Nazik
    Nov 7, 2014 at 9:31
  • @NAZIK do you have arm64 in both lines (Architectures and Valid Architectures)? I had the same error and this was the solution
    – TonyMkenu
    Nov 7, 2014 at 9:35
  • @Tim try to clean your DerivedData and check your latest external framework or SDK if they have 64 bit support
    – TonyMkenu
    Nov 7, 2014 at 9:38
  • 3
    Also, make sure your device is NOT connected when archiving the final build. See @powertoold answer bellow (stackoverflow.com/a/26848865/1715004) Jul 6, 2015 at 20:08
68

After confirming the correct architectures, make sure your device is NOT connected to your computer when ARCHIVING the final build to submit to the App Store.

The reason this warning appears is because the DEVICE you have connected is probably not arm64 compatible.

6
  • 4
    Hats off! :D you've saved my time Nov 15, 2014 at 11:30
  • 1
    Big help!! Saved me a lot of time on this one. Good tip for upgrading old apps.
    – harry
    Jan 13, 2015 at 8:03
  • I believe you can keep your non-64bit devices connected if you change the build setting Build Active Architecture Only to No. This will force xcode to build the 64bit binary regardless of what device is connected.
    – jxmallett
    Feb 6, 2015 at 6:49
  • 3
    In addition to @jxmallett 's answer, make sure your Scheme configuration Archive is set to Release, in which the Build Active Architecture is set to No. Set Archive Scheme
    – KarenAnne
    Jun 22, 2015 at 5:30
  • 1
    FYI I had to unplug my device, switch to simulator and then switch back to "iOS Device" for this to work.
    – nwkeeley
    Sep 1, 2015 at 10:21
37

As Tony wrote, it's important to have in both lines those settings. Since my (and obviously your) project was created yet before arm64 was added to standard, it is not reflected in "Valid Architectures" even if it is shown as Standard.

What I did:

  • I went to Project (vs. Target) configuration
  • Typed "arm64" in the Valid Architectures (it's automatically reflected in targets and schemas

After clean/build I even get some warnings about improper conversion of float to CGFloat, etc., so the settings obviously applied.

The validation warning disappeared too!

enter image description here

3
  • 1
    >not reflected in "Valid Architectures" even if it is shown as Standard This was the point for me. Thx!
    – Romain
    Nov 19, 2014 at 15:55
  • 1
    In case it helps others, I had to change in both Project and Target to get to work
    – djburdick
    Jun 10, 2015 at 19:17
  • @djburdick Thanks. That worked for me when nothing else did. Jun 26, 2015 at 8:17
27

Unplug your physical device from Mac. In XCode on device list choose iOS Device and create Archive again. It worked for me.

0
5

Today I solve that problem with the following steps:

Building Settings:

Architectures: Standard architectures(arm7,arm64) - $(ARCH_STANDARD)

Valid Architectures: armv7 armv7s arm64

  1. Clean and build your app with the iPhone connected
  2. Disconnect your iPhone and check the top bar if is in "iOS Device"
  3. Archive
  4. Validate and Submit
1
  • @Timuçin. Sorry for my late reply, you're right is: armv7 armv7s arm64. Jan 28, 2015 at 14:08
3

Just Create a New Project using latest xCode version and find the Build settings. The new project created using latest version have 64 support by default.

enter image description here

1
2

Okay this was insane. I tried every single answer. But it worked only when I placed arm64 before armv7 and armv7s in Valid Architectures.

P.S. : xcode version : 7.2

1
  • 1
    Yup. only then and only after connecting a device did the actual log of errors show. Then some lines of code which are deprecated and required (red) fixing and some issues with the RSA lib showed up.
    – maxweber
    Apr 22, 2016 at 23:45
1

I solved the problem by changing,

Architectures: arm7,arm64

Valid architecture: arm7,arm64

Build active architecture only : Yes

1

I submitted success by config as the image: enter image description here

(Archived with real device)

1
  • 1
    Should set release mode to no
    – ZYiOS
    Jun 9, 2015 at 6:04
1

Got rid of every warning. Went through everything over and over. Found the one word answer here above.

"Build Active Architecture Only - NO (specially... if your connected device is not arm64 compatible)"

My iPad is not 64 bit. Put in NO for Build Active Architecture and my submission worked!

0

Change your iOS development target to at least 5.1.1 or alternatively delete the standard architectures setting and re-apply it. You might have seen a warning that arm64 is not compatible with your build target. On the overview page, check both the build and target "deployment target" settings. In my case, the target was 6.0, but the project was 5.0.

Also, check "Valid Architectures" in both your target and your project. I had the right settings on the project but not on the target. After this, it worked for me.

Switch between project/target on the overview page in the top left corner of the box.

2
  • You really mean 5.1.1? 5.1 isn't recent enough?
    – Dirk
    Feb 2, 2015 at 14:43
  • It has been a long time. I don't know or remember the logic to this. Just do the steps and something may get back in its proper place. Fiddle with the architectures and all pages mentioned. Feb 3, 2015 at 15:21
0

Please check Build Active Architecture option. Set it to NO. It works for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.