1.
git clone https://github.com/facebook/WebDriverAgent.git
2.
cd WebDriverAgent ,執行brew install carthage
3.
執行
./Scripts/bootstrap.sh
4.
如執行報錯:
5.卸載node
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}
6.
安裝node12 版本
brew install node@12
7.
將級npm
npm install [email protected] -g,執行./Scripts/bootstrap.sh
如圖:
8.clone 地址包:
https://pan.baidu.com/s/1PAvt-eKT-SXp8olY6QJZ5w 提取碼: 2u89
9.安裝問題
9.1 mac os big sur 11.6---xcode 12.4 ---蘋果12 14.5
9.2
編譯報錯Building for iOS, but the linked and embedded framework ‘xxx.framework’ was buil......
9.3報錯
修改:
9.4編譯報錯Building for iOS, but the linked and embedded framework \'RoutingHTTPServer.framework\' was built for iOS + iOS Simulator
修改:
9.5 報錯
修改:
最後
1.
2.