代码之家  ›  专栏  ›  技术社区  ›  HelloWorld

为什么我的macOS公证示例不起作用?

  •  0
  • HelloWorld  · 技术社区  · 6 年前

    我为macOS公证程序签署并导出了我的测试申请。我可以使用 xcrun stapler validate

    $ xcrun stapler validate /Users/user/Downloads/Test.app 
    Processing: /Users/user/Downloads/Test.app
    The validate action worked!
    

    但是,打开应用程序仍会触发警告弹出窗口。有人知道为什么吗?我使用的是最新的macOS 10.14.4(18E226)。

    enter image description here

    0 回复  |  直到 6 年前
        1
  •  1
  •   matt    6 年前

    一切正常。没有“警告对话框”。您所看到的正是您希望看到的作为公证结果的对话框,如本页所示:

    https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

    enter image description here

    对话框说苹果已经检查了恶意软件。这就是公证

    推荐文章