準備工作
Xcode軟體安裝
首先,現在 Terminal (mac上面叫終端)中拉取最新的原始碼:
git clone https://github.com/Sunnyyoung/WeChatTweak-macOS.git
複製程式碼
然後在原始碼目錄中進行編譯:
cd WeChatTweak-macOS
sudo make install
複製程式碼
編譯完成後重啟微信即可啟用外掛。
如果微信升級,可能出現
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun.
複製程式碼
莫方,執行以下命令即可。
xcode-select --install
複製程式碼
然後執行:

還沒解決,再執行:
sudo xcode-select -switch /
複製程式碼
啟動
