by simonvc · 11y ago · 0 comments
$ spctl --assess --verbose /Applications/Xcode.app
/Applications/Xcode.app: rejected
source=obsolete resource envelope
I downloaded XCode via the app store, but have disabled gatekeeper (re-enabled it before running this command). /Applications/Xcode.app: accepted
source=Mac App Store
override=security disabled
Which I think means I have Gatekeeper disabled, but it still gave me the 'accepted' response.jzollars$ spctl --assess --verbose /Applications/Xcode.app /Applications/Xcode.app: accepted source=Mac App Store
/Applications/Xcode.app: accepted
source=Mac App Store
/Applications/Xcode.app: accepted
source=Apple
/Applications/Xcode.app: accepted
source=Apple System
Are the only valid options. You should remove XCode and reinstall it from Apple. $ spctl --assess --verbose /Applications/Xcode.app
/Applications/Xcode.app: accepted
source=Mac App Store