[Boost-bugs] [Boost C++ Libraries] #10275: darwin.jam fails to detect installed SDK on MacOS 10.9 with XCode 5.1 installed

Subject: [Boost-bugs] [Boost C++ Libraries] #10275: darwin.jam fails to detect installed SDK on MacOS 10.9 with XCode 5.1 installed
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-30 00:07:25


#10275: darwin.jam fails to detect installed SDK on MacOS 10.9 with XCode 5.1
installed
----------------------------------+------------------------------
 Reporter: randy du <randydu@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.56.0
 Severity: Problem | Keywords: darwin.jam
----------------------------------+------------------------------
 On MacOS 10.9 / XCode 5.1, the SDKs are installed to a new location
 instead of "/Developer/":

 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/

 as a result the boost's darwin.jam fails to locate the available SDKs. The
 following command line will output errors:

 ./b2 macosx-version-min=10.7

 errors:

 tools/build/src/build/feature.jam:493: in validate-value-string from
 module feature
 error: "10.7" is not a known value of feature <macosx-version-min>
 error: legal values:
 ...

 The workaround is create a soft link to new SDK location and everything
 works fine:

 cd /
 sudo ln -s
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/
 Developer


 FYI: The XCode5 installs iOS sdks under:

 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/

 so darwin.jam should search both /Developer/ and these new SDK locations
 for installed SDKs.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10275>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC