xcode 可以在macOS 10.15 Catalina 中使用NOTARYTOOL吗?

nxowjjhe  于 2023-04-22  发布在  Mac
关注(0)|答案(1)|浏览(231)

我必须在macOS 10.15 Catalina 上使用XCode 12.4一段时间。是否可以使用notarytool而不是altool
我已经从XCode 13.4中复制了notarytool到我的usr/local/bin文件夹中。当我在shell中运行时:

xcrun notarytool submit myApp.zip

我得到了这个:
xcrun:错误:无法执行实用程序“/usr/local/bin/notarytool”,因为它需要较新版本的macOS。
作为最后的手段,我可以使用Web API进行公证:
Submitting software for notarization over the web
或者每次 Boot 到我的macOS 12 Monterey分区。

4nkexdtk

4nkexdtk1#

我找到了一个简单的解决方案:你不必使用xcrun!只需要像这样使用普通的:

notarytool submit myApp.zip

相关问题