關于iOS簽名Mac電腦的問題解說一下,因為平常用IPA簽名工具在mac電腦簽名時可能出現(xiàn)不成功的情況或者簽名過程中無反應(即:未生成任何ipa文件)。證明系統(tǒng)缺少openessl@1.1庫。
1 首先,使用命令 brew install openssl@1.1安裝,若安裝成功,下列內容忽略,若提示command not found: brew,則執(zhí)行下列內容
2 安裝brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
(可能會提示網(wǎng)絡不通等,多試幾次即可)
(可能會讓安裝git工具,安裝即可,安裝后重新執(zhí)行命令)
下載完成后使用brew -v命令進行驗證,查看當前版本號
3 分別執(zhí)行下列語句:
git config --global --add safe.directory /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services
git config --global --add safe.directory /usr/local/Homebrew/Library/Taps/homebrew/homebrew-caskgit
git config --global --add safe.directory /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask
4 切換成清華源
替換brew.git:
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
替換homebrew-core.git:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
5 安裝openssl即可
brew install openssl@1.1
重新運行IPA簽名工具簽名即可。