I'm working on a new app for some time now. I only tested it in the simulator up to today. Everything in the simulator was fine.
But when i try to run the app on my iPhone (8.1.2), i get this error:
APPNAME does not have an architecture that iphone6+ can execute
My Target Setting are (Xcode 6.1.1):
Architectures = $(ARCHS_STANDARD)
VALID_ARCHS = arm64 armv7s armv7
Another app with similar settings is running fine on the same iPhone...
I have already tried a lot of things found with google search, but nothing helps.
Is here somebody else with this problem?
Thanks, Urkman
arm64 is the current 64-bit ARM CPU architecture, as used since the iPhone 5S and later (6, 6S, SE and 7), the iPad Air, Air 2 and Pro, with the A7 and later chips. armv7s (a.k.a. Swift, not to be confused with the language of the same name), being used in Apple's A6 and A6X chips on iPhone 5, iPhone 5C and iPad 4.
In Project Settings, select "Standard" for the architecture (not "Optimized"). This should allow you to select "armv6" for the Active Architecture. This means it should also work on older devices (barring any other deprecations) once it's on the app store. Change your base SDK to iOS Device 4.
This happened to me after I migrated a project to Xcode 6; the following resolved the issue for me:
From within Xcode 6, select the target, then
I just did a project Clean (Shift+Command+K) and it seemed to resolve the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With