Fix to "stdlib.h not found" errors in xcode


#1

I just got a build of the demo app going under xcode - after some hitches, which I thought I’d report to save others the trouble.

If you see hundreds of errors like “Stdlib.h: File or directory not found”, try changing the SDK (the pulldown in the top left-hand corner of each project) to be the most recent version (in my case, 10.6) - it worked for me.

I’m using xcode 3.2.1, OS/X 10.6.2.


#2

You are right for some reason Xcode gives higher preference to the SDK version set in combobox(the pulldown in the top left-hand corner of each project) instead of the one set in the project setting.

You can set two different SDK version in combobox and the the project setting and xcode will pick up the SDK version from the combobox.