Re: Settings for iPhone & iPad Universal Binary Development
Re: Settings for iPhone & iPad Universal Binary Development
- Subject: Re: Settings for iPhone & iPad Universal Binary Development
- From: "Clark S. Cox III" <email@hidden>
- Date: Tue, 13 Apr 2010 08:43:00 -0700
For the iPhone / iPad specific parts of this question, devforums.apple.com is a more appropriate venue.
That said the Active SDK in the Overview popup overrides the Base SDK setting as well as the deployment target setting (among others). As such, it isn't appropriate to set it to anything other than the Base SDK when you need a specific deployment target (so you are on the right track there). In general, I would recommend setting the Active SDK in the Overview popup *only* when switching between iPhone and Simulator.
From your error I would guess that you have something set in your Valid Architectures setting, if so, then delete that setting (check the project *and* the target settings) and let Xcode use the default value (which, incidentally, comes from the SDK).
Sent from my iPad
On Apr 13, 2010, at 6:19, Paul Summermatter <email@hidden> wrote:
> Folks,
>
> The Xcode 3.2 installation package has an About Xcode and iPhone SDK document that talks about building universal iPhone and iPad apps. The document says:
>
> To configure Universal apps that run on both iPad and iPhone, in Build Settings:
> - set Base SDK in the Architectures section to “iPhone SDK 3.2”
> - set iPhone OS Deployment Target to iPhone OS 3.1.3 or earlier
>
> So, I have that set now, but I'm confused, and I'm sure this is just more Xcode ignorance on my part. In the top left of the Xcode window, there is a pop-up with choice of Active SDK, Active Configuration, etc. I'm not clear on how my choices of Active SDK in this pop-up override or work with the choices in the Build info panel for the project itself. I figured I should choose Use Base SDK, but that results in the following as soon as I try to build:
>
> No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_ARCHS=i386).
>
> I cannot seem to find any more specific documentation on this topic, and I cannot seem to assemble a build for our QA department to test on the iPhone like I used to be able to before this new version of the SDK. I seem to be able to build just fine for the iPad, but I cannot seem to invoke the right magic to get a universal binary that works on the phone. If anyone can tell me where to RTFM, I would be happy to do so.
>
> Thanks,
> Paul
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden