Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add armv6 architecture to Xcode project?

I got a warning that my project needs to include the armv6 binary.. but I don't really know how to do that. Have been googling for an answer, but non of the suggestions seems to fit? Is armv6 something I need to download to support in my app, or does Xcode have it, I just need to include it in my project settings? Also, my app should support OS back till 3.1.

I have added i386 behind armv6 and armv7 in the Debug section, but I dunno if that fixes the problem. Does this seem right to you people with more experience?

Screenshot of Architecture settings:

like image 543
Anders Lindsetmo Avatar asked Sep 08 '11 12:09

Anders Lindsetmo


3 Answers

Follow my step

  1. In your picture you choose level change it to "Combined"
  2. Click at Standard (armv7) $(ARCHS_STANDARD_32_BIT)
  3. Choose "Other"
  4. CLick at "$(ARCHS_STANDARD_32_BIT)" and the Click "-" to delete it
  5. Click "+" to add new item
  6. Type "armv6"
  7. Click "+" again
  8. Type "armv7"
  9. Click anywhere to finish

I hope this help

I just have the same problem and I try to do this and it work for me

like image 95
Bancha Rojkittisakul Avatar answered Oct 07 '22 02:10

Bancha Rojkittisakul


I could run my code on an old 1st generation iPhone using the string armv6 armv7 instead of $(ARCHS_STANDARD_32_BIT) in architectures and setting "Build Active Architecture Only" to YES.

like image 33
Teofilo Israel Vizcaino Rodrig Avatar answered Oct 07 '22 03:10

Teofilo Israel Vizcaino Rodrig


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.x or below so you can see your armv6 architecture.

like image 30
Nikunj Jadav Avatar answered Oct 07 '22 03:10

Nikunj Jadav