我有一個問題開始Appium服務器後:Appium ideviceinstaller無法初始化
/Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium.js
,並試圖連接設備我碰到下面的錯誤。
A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system) (33)
Appium日誌:
←[36minfo←[39m: [debug] Couldn't find ideviceinstaller, trying built-in at /Applications/Appium.app/Contents/Resources/node_modules/appium/build/libimobiledevice-macosx/ideviceinstaller
←[31merror←[39m: Could not initialize ideviceinstaller; make sure it is installed and works on your system
←[31merror←[39m: Failed to start an Appium session, err was: Error: Could not initialize ideviceinstaller; make sure it is installed and works on your system
←[36minfo←[39m: [debug] Error: Could not initialize ideviceinstaller; make sure it is installed and works on your system
←[36minfo←[39m: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Could not initialize ideviceinstaller; make sure it is installed and works on your system)","orig Value":"Could not initialize ideviceinstaller; make sure it is installed and works on your system"},"sessionId":null}
←[36minfo←[39m: ←[37m<-- POST /wd/hub/session ←[39m←[31m500←[39m←[90m 1252.938 ms - 300←[39m ←[90m←[39m
有沒有人遇到這樣的問題?我使用Appium 1.4.8
,並通過ssh
使用putty
在Mac上啓動。
樣子ideviceinstaller。請使用命令行:「brew install ideviceinstaller --HEAD」來安裝它 – phuongle
我已經完成了並且是相同的。從日誌中我看到,試圖從Appim.app地方使用ideviceinstaller,而不是通過brew –
安裝的那個嘗試命令「ideviceinstaller -help」以確保您的ideviceinstaller正在工作 – phuongle