Re: Single Project with Mac and iPhone targets
Re: Single Project with Mac and iPhone targets
- Subject: Re: Single Project with Mac and iPhone targets
- From: Roland King <email@hidden>
- Date: Wed, 23 Jun 2010 20:06:45 +0800
On 23-Jun-2010, at 7:57 PM, Jocelyn Houle wrote:
>
> On 2010-06-23, at 05:47, Jason Swain wrote:
>
>> I have a single project that has multiple targets, some for OS X and some for iOS. This all worked fine until Xcode 3.2.3. Now when I select an OS X target the architectures do not update to i386, x86_64 etc, they remain on arm6, arm7. This means I cannot compile my OS X project any more.
> (...)
>
> On 2010-06-23, at 07:17, Roland King wrote:
>
>> Now that selection has gone (and similarly the Project->Select Active SDK dropdown just has one greyed-out Base SDK) and if I try to select my Command Line Tool target and build it I get
> (...)
>> It seems that a switch from target to target isn't switching the Base SDK, it 'sticks' at whatever the previous iOS thing I built was, is always iphoneos or iphonesimultaor, and I can no longer select it explicitly.
> (...)
>> Help!! What else can I look at here? I'm sure I've checked every setting from the project build settings down but .. it's not happening.
>
> I spent half a day yesterday isolating changed behavior to get our common OSX/iOS project files to work again.
>
> Here are the basic ingredients of the secret sauce:
>
> * The Active SDK dropdown (a.k.a. Overview) will show all of the SDKs if you hold Option when you click.
>
**THANK YOU**. That works for me, now I can reselect OS X 10.6 using Option-click (also if you option-Project you get the same extra choices in the Project->Set Active SDK menu as wel) when switching to my command line tool and build it again. Strangely enough, when I go back to the phone target it succeeds in figuring it out and switching back to iPhone OS so I don't have to use Option-click again, but for the OS X command line tool, even with the basesdk set as you have it per target, correctly, it needs that special option-click to force it back to OS X 10.6.
Was this in a readme I didn't read?
By the way this seems wrong, if my target has a Base SDK set I'd expect it to switch to that Base SDK when I pick the target, no?
At least I can work again - thanks so much.
_______________________________________________
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