• 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
Re: Switching between Mac Target and iOS Target breaks XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching between Mac Target and iOS Target breaks XCode


  • Subject: Re: Switching between Mac Target and iOS Target breaks XCode
  • From: Kwasi Mensah <email@hidden>
  • Date: Mon, 25 Oct 2010 15:55:19 -0400

That's exactly what I was looking for. Thanks!

On Mon, Oct 25, 2010 at 3:51 PM, Jocelyn Houle <email@hidden> wrote:
> I have an project with a Mac target and an iOS target. If I switch to the iOS target, choose simulator, and then switch back to the Mac target, XCode is stuck in a weird state where it thinks I'm still trying to build for iOS.
>
> I tracked the problem down to my user file (*.pbxuser in the xcodeproj folder). The line "activeSDKPreference" is stuck to whatever I chose while I had an iOS target. I can get around this problem by deleting this line in the user file. Xcode will detect the change and go back to normal. Is there a better fix for this?

There is not real *fix*, but you can Opt-Click your "Overview" combo box (when Xcode is in Project, in the toolbar).  You should see a more complete list of Active SDKs; pick an explicit OSX SDK.  A bit annoying, but probably less than editing your pbxuser file every time. ;-)

Hope it helps...

 _______________________________________________
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

References: 
 >Switching between Mac Target and iOS Target breaks XCode (From: Kwasi Mensah <email@hidden>)
 >Re: Switching between Mac Target and iOS Target breaks XCode (From: Jocelyn Houle <email@hidden>)

  • Prev by Date: Re: Switching between Mac Target and iOS Target breaks XCode
  • Next by Date: XcodeDataModel Browser: 'User Info' attribute...?
  • Previous by thread: Re: Switching between Mac Target and iOS Target breaks XCode
  • Next by thread: XcodeDataModel Browser: 'User Info' attribute...?
  • Index(es):
    • Date
    • Thread