armv7s Issue while validating - ios

So,while validating my application, I got this issue. Looked it up alot on google, and I just can't seem to find how to solve it. I have all SDK's updated, and the newest version of XCODE. I've tested the app on a IRL iPhone 4, and the iPhone Simulator. Quick fix/Info needed to fix this issue?

Set this to yes. Great success.

In valid architectures, $VALID_ARCHS, please set armv7 and armv7s in build settings. It's an issue with latest XCode that, by default it does not support armv7. And armv7 is required for iPhon4,4s since they are having A5 processor, whereas iPhon5 is having A7 processor.
For finding out difference in these processors, plz find details in following link:
http://www.anandtech.com/show/6292/iphone-5-a6-not-a15-custom-core

Related

Xcode 10 : Not possible to archive with ARMv7

I encountered an issue since I updated to Xcode 10. Archiving my project leads to an infinite stuck. As I found in this Stackoverflow topic, we can fix this by removing ARMv7 from valid architectures. It did work for me, but it seems super weird : does it mean this is the end for ARMv7 iOS architectures ? As I could see it in this very useful matrix, devices like iPhone 5 or iPhone 5C use ARMv7 and, when they are up-to-date, use iOS 10.3.3 (which is kind of recent). So, this is the end ? We can not build apps for them anymore ?
If there is a way to continue to archive with both ARM64 ans ARMv7 architectures, I would be glad to know how.
Thanks for your concern.

missing 64-bit support when validating IOS build

My MAC OS version is 10.8.5 and xcode version is Version 5.1.1 (5B1008)
I have an IOS app which i was trying to update to app store. In the usual process which i used to do everytime, now i have cleaned build, created an Archive(Product>Archeive) and tried to validate it by clicking on Validate button after archieve build has been created, but i was facing the below error
My build settings are
So whats the problem here ? and how to avoid this error ?
I read somewhere on google to update the valid Architecture with arm64, and when i added arm64 to valid architecture setting and when tried to create a build(tried to create an archieve) then i was getting a lot of errors and build/code was not working
So can anyone please take me through steps to fix the above issue ?
After updating Valid Architecture setting to below
and when tried to create an archive the build failed and the errors are
Edit
Also the framework in which my app was built on Cordova framework
You have no option but to add arm64 to Valid architectures. So removing it to avoid errors is not a solution.
Instead, add arm64 back to your valid architectures and try to solve errors.
If you cant solve yourself, search for solutions on this site, or ask new question, people will help you out..
In short, SOLUTION :
Add arm64 to your valid architectures and solve arising errors.
Type "arm64" in the Valid Architectures
As of Feb 1, 2015 apple allows the app to be submitted with arm64 support.
You have no option to submit your app without adding arm64 support.
By adding support for arm64 support, it will cause errors if you have used frameworks which do not support arm64 support.
You will have to update your frameworks which do not support arm64.
Also, update your architectures from Build Settings to Standard architectures(armv7,arm64) - $(ARCHS_STANDARD).
Once done, then and the only you will be able to archive successfully and submit the app to app Store.
Hope it helps you.
In order to support arm64 with Cordova follow this post xcode 5.1: libCordova.a architecture problems
Otherwise #Mayur Deshmukh and others are right! You have no choice but supporting arm64 now.
Looking at the errors you have received, it would appear that the cordova framework you have used does not yet support arm64.
I experienced the same problem with a different framework and was able to solve it by contacting the creator of the framework, i would suggest doing this to see if there is an updated framework available.

Xcode 6 Standard architectures exclude armv7s

I am experimenting with Xcode 6 Beta, and noticed armv7s disappeared from Standard Architectures. I did scan through Xcode 6 release notes, but didn't see changes on that. Can anyone confirm this change?
Xcode 5.1.1:
Xcode 6 Beta:
Update
There is a thread on iOS 8 Beta forum discussing this topic as well. https://devforums.apple.com/thread/244407?tstart=0
Also note #ThomasW had an answer on adding armv7s to Architectures.
I also filed a bug on this and got a reply stating that this is intentional. If you want to build for armv7s you have to add the architecture manually. I have now idea why this change was made. I'll update this if I get additional information.
Update from the dev forums:
The reason for including armv7s would be marginal backward compatibility. But the general differences between armv7 and armv7s instruction sets are minor. So if you choose not to include armv7s, the targeted armv7 machine code still runs fine on 32 bit A6 devices, and hardly one will notice performance gap.
-- Zhou Yang
From #vladof's post on the Apple forum, if you need to include armv7s support you need to add it manually. You can do so by changing the architecture setting to be like this:
You may want to do this if you're building a library and users are expecting the armv7s slice to be available.
Please note that this answer was made at very early stage of the quest, has been unchecked for answer when Xcode 6.0 GM came out. This is meant only for tracking, refer to other answers for detailed information.
This appears to be a bug of Xcode 6 Beta, according to this thread on Apple forum. A bug has been opened.

Validation error for iPhone app using ZBar SDK

I have an iPhone app (for iOS 7 & above) which uses the ZBar SDK. I'm struggling to update it for iOS 7 using Xcode 5.1.1.
I was getting this arm64 build error, but I've managed to fix that by recompiling libzbar.a according to the instructions here.
The app now archives successfully. However, when I try to validate it in the Xcode Organizer I get the following error: "This bundle is invalid. Apps that include an arm64 architecture are required to include both armv7 and armv7s architectures."
I have "Standard architectures (armv7, armv7s, arm64)" set for my project's Architectures and "arm64 armv7 armv7s" for the Valid Architectures.
I not sure what else to try at the moment, so any help would be much appreciated.
Unplugging my iOS device and re-archiving the build helped me.
I could not find anything that would solve this problem. After going around in circles for several days, I removed every trace of the ZBar SDK from my app and instead used Apple's AVFoundation for QRCode support. This option was not available prior to iOS 7, but now that it is life becomes a whole lot easier!

Xcode 4.5 armv6 error when not having armv6 in target?

Hello,
I am currently getting the follow errors. I have tried everything posted before in other forums.
This is Xcode 4.5
I know it doesn't really support armv6,
I have tried manually adding it and it still comes up.
I have tried switching over the Build Active Architecture Only to NO, and get over 100 errors regarding armv6. I feel like I have tried everything people have been posting and nothing seems to clean up the problem!
Check the "Valid architectures" for any traces of armv6 as well as "Architectures" in your build settings for both your project and your target.
You may need to check that the minimum supported iOS version you are targeting is at least iOS 4.3.

Resources