Reputation: 1
I built an iPhone app and it works fine on iPhone 5,5S but when i try to install it on an iPhone 4 i get an error :
Could not install application on device, Error:kAMDIncorrectArchitectureError
I've checked my project settings and armv7
is already added.
What could be causing this error ?
Upvotes: 0
Views: 258
Reputation: 3093
Please check below things may be help you.
In your project target settings, make sure you have:
Architectures should be: Standard architecture (armv7 armv7s)
Valid architectures: should be arm64 armv7 armv7s (add these three things)
Build Active Architecture Only should be No
Also make sure that, clean all the targets and then after build it.
Upvotes: 2