• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mac 10.5 target always building as iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mac 10.5 target always building as iPhone
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: gdb crash
  • Next by Date: Re: Mac 10.5 target always building as iPhone
  • Previous by thread: Mac 10.5 target always building as iPhone
  • Next by thread: Re: Mac 10.5 target always building as iPhone
  • Index(es):
    • Date
    • Thread