[darwinbuild-dev] SDKs

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Sun Apr 9 13:37:17 PDT 2017


Hi there!

   Does anyone still read this list?  Anyone know anything about the way Platforms and SDKs work on newer versions of Xcode?


   So I got DarwinBuild built on 10.12 Sierra.  I have Xcode 8.3.1.  I made a copy of DarwinBuild's installXcode32 and modified it to use the new paths that Xcode uses these days.  So the script runs fine, and symlinks all the stuff it thinks it ought to to make a new platform bundle and SDK within Xcode, but something's not right.  xcodebuild throws errors like this:


xcodebuild: error: Initialization failed.

Reason: Required content for platform <darwinbuild_build_stamp> is missing.


I am pretty sure it has to do with the Info.plist in /Applications/Xcode.app/Content/Developer/Platforms/<darwinbuild_build_stamp>.platform/Info.plist and the SDKSettings.plist in the appropriate subdirectory, but I'm having a hard time trying to figure out what it keys off of and what causes it to recognize a bundle as a valid Platform and SDK or not.  Anyone know the minimum requirements for creating a valid Platform and SDK?


Many thanks!


-Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20170409/30a039d4/attachment.html>


More information about the darwinbuild-dev mailing list