macos - 我如何知道我的 OS X 应用程序使用哪个 Gatekeeper 签名?

标签 macos mac-app-store osx-gatekeeper

来自苹果最近的一篇文章:

With the release of OS X Mavericks 10.9.5, the way that OS X recognizes signed apps will change. Signatures created with OS X Mountain Lion 10.8.5 or earlier (v1 signatures) will be obsoleted and Gatekeeper will no longer recognize them. Users may receive a Gatekeeper warning and will need to exempt your app to continue using it. To ensure your apps will run without warning on updated versions of OS X, they must be signed on OS X Mavericks 10.9 or later (v2 signatures).



我如何知道我的应用程序是否需要辞职?

最佳答案

$ codesign -dv Foo.app
Executable=/Applications/Foo.app/Contents/MacOS/Foo
Identifier=com.example.Foo
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20100 size=915 flags=0x200(kill) hashes=37+5 location=embedded
Signature size=4169
Info.plist entries=30
TeamIdentifier=not set
Sealed Resources version=1 rules=5 files=33 // ⬅︎ this is the line
Internal requirements count=1 size=228

详情见Technical Note TN2206 , OS X 代码深度签名。

关于macos - 我如何知道我的 OS X 应用程序使用哪个 Gatekeeper 签名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25132928/

相关文章:

python - Ansible azure_rm_virtualmachine 在 Mac 上因缺少 pip 包而失败

xcode - 如何在没有 macOS 应用程序的情况下开发 Safari 应用程序扩展?

objective-c - Cocoa应用程序首次打开

objective-c - 如何在沙盒 Mac 应用程序中跟踪用户批准的访问路径?

macos - 如何确定 Gatekeeper 拒绝签名的可执行文件的原因?

macos - Mac DMG 奇怪 - 签名和 "damaged"应用程序

c - mmap for write under MacOSX 10.8.2 with XCode 4.6 will make program crash

macos - 如何使用 GDAL 将 jp2000 转换为 geotiff?

java - .java 文件无法使用 mac 终端常用 java 命令正确运行

macos - 在 Mac App Store 之外分发应用程序