Xcode 4.3: Apparently Persistent License Agreement

Harald Hanche-Olsen hanche at math.ntnu.no
Sun Mar 4 13:30:49 PST 2012


[Rainer Müller <raimue at macports.org> (2012-03-04 21:19:54 UTC)]

> On 2012-03-04 21:43 , Harald Hanche-Olsen wrote:
> > So what is the trick required to have the macports user "accept" the 
> > XCode license agreement?
> 
> MacPorts 2.0.4 just copies the agreement to the license from the home
> directory of the user executing the command.

Oh. But that would be the root user, then? I don't think the root user
has accepted the license, either.

> There should not be anything special required once you accepted the
> license (either by running Xcode.app or xcodebuild), which is stored
> in ~/Library/Preferences/com.apple.dt.Xcode.plist.

But most people run macports as root (using sudo), don't they?
How exactly does it determine where to copy the accepted license from?

- Harald


More information about the macports-users mailing list