I'm trying to set up a library for modeling or building a device, and everywhere I see it explains that SDKROOT should expand to / Developer / Platform / </ SDK / <> /, where <> is populated according to your project settings.
Many links on the Internet explain that SDKROOT will expand to the path, but newer versions of Xcode, SDKROOT expand to "iphoneos2.2.1" - this is not so useful (for this task).
Clearly enough, if you look at the documentation for apples, the behavior has changed:
http://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Reference/XcodeBuildSettingRef/9-Revision-3.1/history.html
I confirmed this change by looking at some old documents on my Mac.
Any thoughts on how to achieve similar functionality in recent versions of Xcode? My ultimate goal is to link the static library with platform-independent ways. Header files vary on each platform, so creating a fat-static library does not solve the problem.
iphone xcode static-libraries
Brian king
source share