嘗試用selenium+appium運行一個簡單的demo報錯:could not get xcode version. /Library/Developer/Info.plist doest not exist on disk


業余時間抽空搭了個appium+selenium的環境(mac), 在執行第一個腳本的時候遇到個問題紀錄下:

could not get xcode version. /Library/Developer/Info.plist doest not exist on disk

解決方案

1.打開appium

2.點擊apple 圖標

3.選擇advanced

4.最下面有個xcode path(原來的路徑是/Library/Developer/Commandlinetools)改成你的xcode安裝地址(本人是Applications/Xcode-beta)就好了

5.重啟appium

6.運行腳本,pass


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM