iOS app submission : missing 64-bit support

IosArchitectureApp StoreXcode6Arm64

Ios Problem Overview


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.

Ios Solutions


Solution 1 - Ios

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.

Solution 2 - Ios

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.

Solution 3 - Ios

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

Solution 4 - Ios

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

Solution 5 - Ios

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

Solution 6 - Ios

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

Solution 7 - Ios

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

Solution 8 - Ios

I solved the problem by changing,

Architectures: arm7,arm64

Valid architecture: arm7,arm64

Build active architecture only : Yes

Solution 9 - Ios

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

(Archived with real device)

Solution 10 - Ios

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!

Solution 11 - Ios

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.

Solution 12 - Ios

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionTim AutinView Question on Stackoverflow
Solution 1 - IosTonyMkenuView Answer on Stackoverflow
Solution 2 - IospowertooldView Answer on Stackoverflow
Solution 3 - IosNick EntinView Answer on Stackoverflow
Solution 4 - Ioshrast View Answer on Stackoverflow
Solution 5 - IosLeonel FolmerView Answer on Stackoverflow
Solution 6 - IosKirit VaghelaView Answer on Stackoverflow
Solution 7 - IospradView Answer on Stackoverflow
Solution 8 - Iosuser3616535View Answer on Stackoverflow
Solution 9 - IosBkillnestView Answer on Stackoverflow
Solution 10 - IosMountain ManView Answer on Stackoverflow
Solution 11 - Iosuser1122069View Answer on Stackoverflow
Solution 12 - IosPRITAM SATPUTEView Answer on Stackoverflow