Mac 10.5 target always building as iPhone
Mac 10.5 target always building as iPhone
- Subject: Mac 10.5 target always building as iPhone
- From: Mike Shields <email@hidden>
- Date: Wed, 30 Jun 2010 16:02:43 -0400
Resending since this is happening again with a newly created project.
I've got a really weird problem that just seems to have cropped up and may be related to installing the Xcode4 tools on my system. However, Xcode4 was installed using the default location/settings, so theoretically is shouldn't have affected anything.
What's going on:
I have a project that builds both a Mac OS X framework target as well as an iPhone static library target.
Up until recently (and after my initial email I rebuilt the project file that was giving me grief, which solved the problem for a while) everything was fine, but now when in Xcode itself and attempting to build the Mac framework for some reason Xcode is always selecting the iPhoneOS compilers/sdks (specifically the 4.0 sdk) and attempting to output arm code.
If I build the project using xcodebuild, everything builds just fine. if I build the framework target from my application project (the framework project is set up as a dependent target), it builds fine. Only if I try to build the framework project/target itself from the GUI does it fail.
I'd rather not nuke my system and start over if there's a fix for this, but I'm stumped as to what the problem might be.
-Mike
_______________________________________________
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