$(ARCHS_STANDARD_32_BIT) vs. armv6, armv7/armv7s vs. i386

I have an iPhone App which should run on armv7 as well as armv6. For debugging the App should run in the simulator too.

The Standard in Xcode 4.2 is this:

armv7 ($(ARCHS_STANDARD_32_BIT))

It is not clear to me what $(ARCHS_STANDARD_32_BIT) stands for and if I should use the two:

  1. $(ARCHS_STANDARD_32_BIT)
  2. armv6

Or all three like this

  1. armv6
  2. armv7
  3. i386

What is the best option for this in my case? And how does Architectures work with Valid Architectures

Answers


To run in the simulator you don't have to do anything.

You can leave the Valid Architectures setting at armv6 armv7, because, according to the docs:

During the build, this list is intersected with the value of ARCHS build setting

To support armv6 and armv7, set the architectures to $(ARCHS_STANDARD_32_BIT) armv6, $(ARCHS_STANDARD_32_BIT) currently expands to armv7.

Also check if there is a "Required device capabilities" = UIRequiredDeviceCapabilities setting in your plist file, as Xcode will add armv7 for new projects there.


Need Your Help

AddModelError message not showing up

asp.net-mvc exception-handling

I have a EDIT page, and when user submits the page by entering same name, exception is raised and getting caught. But its not redirecting to edit page to display the model error instead displaying

How do I correctly separate the database operations from the gui/logic in c# when working with datasources?

c# linq-to-sql oop

Im having a really hard time figuring out how to specify a good search term for my problem: separation of gui and database interaction in visual studio 2008 using Linq to sql.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.