检验Xcode是否被改动过的简单方法,不妨试试!!!app
在终端系统上运行如下命令启用检测:spa
spctl --assess --verbose /Applications/Xcode.app code
输入完成按回车键,但后等待验证,会有一个比较长的时间 感受有5分钟左右的样子。io
而后返回一下几种命令中的其中一种:终端
第一种:方法
/Applications/Xcode.app: acceptedim
source=Mac App Storedeveloper
第二种:img
/Applications/Xcode.app: accepteddi
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
原文:https://developer.apple.com/news/?id=09222015a
注意:本文由大学霸整理,转载请注明出处,尊重IT人!