Does Xcode save your answer to the system when agreeing to the License Agreement?

apple.stackexchange https://apple.stackexchange.com/questions/345688

  •  28-04-2021
  •  | 
  •  

سؤال

Upon installing Xcode, it prompts a license agreement. When you press agree, you are never prompted the license agreement again. Does your answer get saved to the system, that way the application does not ask you again? If so, where does the system save the file to?

هل كانت مفيدة؟

المحلول

When you agree to the Xcode license, an entry is created in:

/Library/Preferences/com.apple.dt.Xcode.plist

As shown in the image below:

enter image description here

Or from Terminal using the defaults command:

$ defaults read /Library/Preferences/com.apple.dt.Xcode.plist 
{
    IDELastGMLicenseAgreedTo = EA1478;
    IDEXcodeVersionForAgreedToGMLicense = "9.4.1";
}
$
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى apple.stackexchange
scroll top