公證問題:altool 不在 PATH 中? (Notarize issue: altool not in PATH?)


問題描述

公證問題:altool 不在 PATH 中? (Notarize issue: altool not in PATH?)

檢查路徑:</p>

sudo rm ‑rf /Library/Developer/CommandLineTools   
xcode‑select ‑‑install   
sudo xcode‑select ‑r

這是在驅動器根級別的“庫”目錄中,而不是“用戶”目錄中。帳戶“圖書館” 目錄。所以這一切都很好(我猜),但我仍然得到上述錯誤。另外,如果我查看目錄 /Library/Developer/CommandLineTools/usr/bin,我看不到這個“altool”。是不是在別的地方?

我做錯了什麼嗎?如果我輸出 PATH(如下),我看不到對 CommandLineTools 目錄的任何引用。安裝程序 pkg 沒有這樣做是不是很奇怪?

我很猶豫“嘗試任何東西”。但我已經到了這一點。接下來我可以嘗試什麼?

echo "$PATH"


參考解法

方法 1:

You need to install Xcode ‑ the command line tools do not include altool, but Xcode does.

Assuming you install Xcode to /Applications you will find altool at /Applications/Xcode.app/Contents/Developer/usr/bin/altool

(by springTrev)

參考文件

  1. Notarize issue: altool not in PATH? (CC BY‑SA 2.5/3.0/4.0)

#electron-builder #javascript #notarize #electron #macos






相關問題

Electron Builder 代碼簽名下載證書錯誤 (Electron Builder Code Signing Download Certificate Error)

Electron 使用 electron-builder 創建 MSI 安裝程序 (Electron create MSI installer using electron-builder)

如何使用電子/電子生成器創建發布通道? (How to create release channels with electron/electron-builder?)

electron-builder,如何設置節點環境變量 (electron-builder, how to set node environmental variables)

電子應用Mac應用商店圖標問題->“缺少必需的圖標” (electron app Mac app store icon issue -> "missing required icon")

帶有 Vue 和 vue-cli-plugin-electron-builder 的電子應用程序無法與 Tesseract.js 一起使用 (Electron App with Vue and vue-cli-plugin-electron-builder can't working with Tesseract.js)

使用 Electron-builder 自定義 NSIS 安裝程序 (Customize NSIS installer with Electron-builder)

在 Mac 中打開 Electron 應用程序時出錯:“file:///Applications/../Contents/Resources/app.asar/dist/index.html” (Error in Opening Electron App in Mac:"file:///Applications/../Contents/Resources/app.asar/dist/index.html")

Mac Os 10.11.6 中 Windows 的 Electron Pakaging 問題 (Electron Pakaging issue for Windows in Mac Os 10.11.6)

對於 Mac,是否有關於基於電子的應用程序卸載的事件?還是一種區分安裝和更新的方法? (Is there an event on electron based app's uninstall, for Mac? Or a way to distinguish between an install and an update?)

Electron 應用架構 - IPC 與 API (Electron application architecture - IPC vs API)

公證問題:altool 不在 PATH 中? (Notarize issue: altool not in PATH?)







留言討論