Open pronebird opened 6 years ago
We should be using the contents of Contents/Resources/LicenseInfo.plist
within Xcode bundles to programatically determine whether an installed Xcode is a beta or not.
Xcode 9.4's looks like this, for example:
<?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>licenseID</key>
<string>EA1478</string>
<key>licenseType</key>
<string>Beta</string>
</dict>
</plist>
AFAIK Xcode 9.3 is now available as a stable release, I had 9.3-beta installed. xcversion says 9.3 is installed (wat?).