• 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
Incorrect SDK Headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incorrect SDK Headers


  • Subject: Incorrect SDK Headers
  • From: Jason Swain <email@hidden>
  • Date: Tue, 11 Jan 2011 17:25:00 +0000

I've got an XCode Project that contains multiple targets, some for iOS and some for Mac OS X. More and more this is causing problems for Xcode, but this latest problem I am a bit stuck on.

I can build a Mac OS X target for OS X 10.5, but when I try and build for OS X 10.6 I get compile errors. The errors are due to the wrong version of TargetConditionals.h being used. TARGET_OS_IPHONE is defined in my Mac build and this causes the compile errors.

First I tried a Clean All, just in case this was a simple fix. Next I tried turning off precompiled headers, as I thought this may be the problem. That didn't do anything. Next I tried disabling the hmap files and set up the header search paths for my own files. This didn't help either. So somehow the iOS version of TargetConditionals.h is still being used instead of the OS X 10.6 version. Does anyone have any ideas what I should try next?

I'm using Xcode 3.2.5 with:

Xcode IDE: 1760.0
Xcode Core: 1763.0
ToolSupport: 1758.0


Jason _______________________________________________
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: Incorrect SDK Headers
      • From: Andreas Grosam <email@hidden>
  • Prev by Date: Re: Xcode config file not found?
  • Next by Date: Re: Xcode config file not found?
  • Previous by thread: Re: Xcode config file not found?
  • Next by thread: Re: Incorrect SDK Headers
  • Index(es):
    • Date
    • Thread