![]() There are four keys that may store this license-related information. This is not accessed with a preferences API, just reading and writing to a property list file. The license “acceptance status” for Xcode is stored in a property list located in /Library/Preferences/.ist. And, you may have seen from time to time that you install a different version of Xcode (or a Beta version) on your own machine, that you need to re-accept the license again. This useful trick with xcodebuild works if you have only a single Xcode app to deploy, but the situation becomes less clear if you maintain several on a single machine. ![]() Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept See the script posted here on the Munki wiki, notably this part: # accept Xcode license Or, try and run a command line utility and get: ➜ ~ stringsĪgreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.įor a number of years the Munki wiki has been maintaining a list of actions to “finalize” an Xcode installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |