Ok, I forget that I had to make one other change:
You must run with a 32-bit simulator. Meaning iPhone 5 or lower. In the dropdown menu where you choose to run on a phone or in the simulator, don’t choose iPhone 5s / 6 / 6Plus. These are 64 bit devices which means the simulator wants to run /w 64-bit libraries.
If you need to simulate a 6 or 6Plus to test screen layouts, you will have to do what Guillaume said: remove arm64 from the Architectures lines and recompile.
Date: Tue, 20 Jan 2015 12:21:36 +0100From: "Matteo Leggieri, Automa s.r.l." <address@hidden>Hi Eli,attached image show my architectures build settings. I still get the error. Can you take a look to image to see if I have something wrong?Thanks, Matteo.Il 19/01/2015 22:45, Eli Burke ha scritto:
I posted this before but I guess it got lost in the noise. You do not
need to switch your settings back and forth if you set them up as
follows (using Xcode 6):
* Open your Target?s Build Settings
* set "Valid Architectures" to armv7 arm64
* set Architectures to $(ARCHS_STANDARD) which should cause it to show
* click the triangle next to 'Build Active Architectures Only?, select
Debug, and change it to YES. Leave Distribution and Release set to NO.
* If you include any sub-projects, you may need to repeat these steps
for each of them.
Using these settings, I can build and run in the simulator, on a
connected iPhone 4S, iPhone 6, and create archives to upload to the
app store without any of the x86_64 errors.