Since a few weeks it seems that my app no longer supports the iPhone 4S hardware.
The deployment target is set to iOS 8.0. The iPhone 4S can have iOS 9... What am I missing here?
It seems the build was only made for 64 bit architectures???
Although my build settings request both arm64,armv7 and armv7s
TestFlight build states:
I'll rebuild the app and upload it again.
Re-Adding armv7 and armv7s with a new build solved the issue. (Still don't know why the architectures were removed.)
Related
Recently I have purchased iPhone XS (iOS 12) and since I build my app on iPhone 6S I get an error when I try to run the app I'm developing.
Error:
User’s iPhone doesn’t support any of appname.app’s
architectures. You can add User’s iPhone’s arm64e
architecture to appname.app’s Architectures build setting.
I try to add arm64e as mentioned above to Project>Build Settings>Valid Architectures, but still same error. Also to mention that Architectures is Standard architectures - $(ARCHS_STANDARD).
What am I doing wrong and how can I resolve this? I know this is due to the A12 chip as I read through the Web, but no one suggests a fix.
Upgrade to Xcode 10.0
The problem can be solved by simply upgrading your Xcode to 10.0.
Upgrade to Xcode 10.1
You can find it here
I keep getting this error in AppCode, but usually it runs just fine with Xcode:
Error:xcodebuild: error: The run destination iPad Mini is not valid
for Running the scheme 'Appname'. Error:iPad Mini doesn't match any of
Appname.app's targeted device families. You can expand Appname.app's
targeted device families to support iPad Mini. Error:Build failed with
2 errors and 0 warnings in 7 sec Note:Building for 2 architectures.
Double click to set 'ONLY_ACTIVE_ARCH=YES' to speed up compilation.
Target sdk is 7.1 in AppCode 3.0.6 (Xcode 6.1)
TARGETED_DEVICE_FAMILY = 2 (iPad)
VALID_ARCHS = armv7 armv7s i386 arm64
Architectures = Standard architectures (armv7, arm64)
I have the problem with both an iPad Mini with iOS 8.1 and a iPad 4 with iOS 7.1.
Any idea why it will not work from AppCode?
According to JetBrains, it's a problem with the xcodebuild tool in Xcode 6 rather than being an issue with AppCode. Hopefully something Apple will fix soon!
https://youtrack.jetbrains.com/issue/OC-11204
I had that as well: Xcode builds fine, Appcode does not. There is no evident reason for that - the target etc looks fine. It seems to be a bug in AppCode 3.0.6 that seems to be fixed in the 3.1 EAP version. With 3.1 the project builds fine here.
Just had this problem as well in Appcode. If you set "Targeted Device Family" in Appcode's target to "1,2" (iPhone and iPad), it worked here.
Go To Build Settings ->
in search bar, search "targeted"
change in Universal
You need to check Development info like development target, Device and match with the simulator device.
I submitted an app to the App Store one week ago.
I had tested it on the iPhone6 and 6+ simulators and it was OK.
Now it is available on the App Store but in the compatibility section iPhone6 and iPhone6+ are not shown.
Why? Is it because of building with xCode 6.0?
More information about my build config:
XCode 6.0
Deployment-Target: 7.0
Valid Architectures: arm64, armv7, armv7s, arm6
I had same issues. Did few adjustments to get iPhone 6 and 6+ compatibility. You may refer to the steps I took: https://stackoverflow.com/a/26503186/1336105
I tried debugging my ios 6.1 project on the new iPad 4 (A6X, armv7s instruction set). However the build failed with
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv6 armv7 i386).
I'm using XCode5-DP6. App debugs on the latest iPod touch (armv7) and on both iPad and iPhone simulators (both iOS 6.1 and 7.0).
It was my understanding that code built for arm7 should build and run on arm7s, since apps between iPad3 and iPad4 are the same? Any clue what I'm doing wrong?
The last product I know of with armv6 is iPhone 3G, even iPhone 3GS is with armv7.
Apple has removed the support for armv6 in a way you cannot compile to that processor architecture and even if you would successfully compile you would have a problem submitting the app to Apple (the build won't be accepted automatically). Moreover, You cannot compile to an OS below 4.3 (it would give you errors also) so there are some restrictions - I'm saying that because I think old devices also can't support new OS. So, it is just a matter of days that there won't be any old iPhone with an OS you can support with Apple's platform.
So, my recommendation is to change the build and valid architectures to armv7, armv7s & i386 (if you need it).
This shall work and you really don't have a choice. you should know that most users doesn't own those old devices. If you still want to support those maybe you should consider add a new app specific for "new" devices, but know that you couldn't update the old version because of what explained earlier.
I have finally reached to the point where i need to set the build settings for my iphone application.I want to my App to run on 4.3 to 6.0.1 and devices from iPhone 3gs to 5.
Are the following build setting for the target valid and correct? Notice i have changed the armv7 to armv6.Should i change it again or is it safe to leave it like this?
Also should i add armv6 to Valid Architercures(appstore scheme)?
You need to set Valid Architecture for armv7 and armv7s as for iPhone 3GS and further devices has support for armv7. iPhone 3G is having armv6, so no use of it as you are not supporting iPhone 3G.
Also, your iOS target set to iOS 4.3 is proper.
Hope this info helps you..
the 3gs can run armv7 just fine so why do you need it?