验证Xcode数字签名 - 蔚藍部落

验证Xcode数字签名

苹果在开发者博客上介绍了验证 Xcode 的方法,帮助开发者获得官方的编译工具。
苹果建议开发者从 Mac App Store 或苹果开发者网站下载 Xcode,并开启 Gatekeeper 功能。OS X 会自动检查应用的签名并进行验证。
Downloads for Apple Developers:https://developer.apple.com/downloads/

苹果给出了验证 Xcode 的方法,需要用户在终端中执行下面的命令:

spctl --assess --verbose /Applications/Xcode.app

如果 Xcode 从 Mac App Store 下载,会返回:

/Applications/Xcode.app: accepted
source=Mac App Store

如果从苹果开发者网站下载会返回:

/Applications/Xcode.app: accepted
source=Apple

或:

/Applications/Xcode.app: accepted
source=Apple System

 

发表新评论
icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif
仅有 1 条评论
  1. Snowy
    Snowy Chrome 40.0.2214.111 Windows 7
    回复

    It's posts like this that make surfing so much pluresae