Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the Build Settings for a Universal iPhone and iPad Application

Tags:

iphone

ipad

What would be the settings to build and have accepted an universal app for both the iPad and iPhone?

That is, what would be the settings in Project X Info > Build for

  • Architectures [ARCHS] ("Standard(armv6)" or "Optimized(armv6 armv7)" or other)
  • Valid Architectures [VALID_ARCHS] ("armv6 armv7" or other)
  • Build Active Architecture Only (checked or unchecked)

and what would we select in the dropdown (Device - 3.2|Distribution|armv?) ?

We're either getting warnings at build time that we haven't built for armv7, or the app upload is rejected on account of

"The binary you uploaded was invalid. When supporting iPhone, the executable must include support for the armv6 architecture".

Thank you for your help.

like image 820
McPragma Avatar asked Mar 30 '10 17:03

McPragma


2 Answers

This site gives a good information how to make a universal binary.

http://iphonedevelopment.blogspot.com/2010/04/converting-iphone-apps-to-universal.html

like image 131
iwat Avatar answered Oct 12 '22 04:10

iwat


almost the same question, and I answered myself.

How to start a project with both outputs iPhone & iPad ?

maybe can help someone

like image 29
balexandre Avatar answered Oct 12 '22 05:10

balexandre