原文地址:https://developer.apple.com/news/?id=09222015a
在终端系统上运行以下命令启用检测:
spctl --assess --verbose /Applications/Xcode.app
输入完成按回车键,但后等待验证,会有一个比较长的时间 感觉有5分钟左右的样子。
然后返回一下几行命令中的其中一行:
:
第一种:
/Applications/Xcode.app: accepted
source=Mac App Store
工具应该返回以下结果Xcode的版本从Mac App Store下载
第二种:
/Applications/Xcode.app: accepted
source=Apple
第三种:
/Applications/Xcode.app: accepted
source=Apple System
这三种都证明是Xcode是有效的其他的都是无效的。
Any result other than ‘accepted’ or any source other than ‘Mac App Store’, ‘Apple System’ or ‘Apple’ indicates that the application signature is not valid for Xcode