XCode 4.3

Joshua Root jmr at macports.org
Sat Feb 18 18:40:26 PST 2012


On 2012-2-19 03:32 , James Berry wrote:
> Just a bit of information:
> 
> 	- The record of whether you've agree to the license is stored per-user in ~/Library/Preferences/com.apple.dt.Xcode.plist:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> 	<key>IDELastGMLicenseAgreedTo</key>
> 	<string>EA0720</string>
> 	<key>IDEXcodeVersionForAgreedToGMLicense</key>
> 	<string>4.3</string>
> </dict>
> </plist>
> 
> 	- One can run xcodebuild -version without agreeing, and xcode-select -print-path, but more complicated things require agreement (xcodebuild -showsdks, xcrun -find, etc).
> 
> Maybe we need to create a macports user home at something like /opt/local/users/macports, with no access except to /opt/local/users/macportsLibrary/Preferences… ?

We don't want a home dir that's writable by all ports, as this
potentially allows them to interfere with each others' builds. Can we
just set HOME when invoking the xcode commands that require it?

Also, don't we need to do this anyway when the commands are run as root?

And are we going to have to make users accept the EULA manually for root
and $RUNUSR? It doesn't seem like it would be OK to just accept it on
their behalf in the installer.

- Josh


More information about the macports-dev mailing list