我想在連接到我的Windows機器的iPHONE 5上運行我的腳本。我得到以下錯誤:iOS支持windows上的appium
ERROR: debug: Appium request initiated at /wd/hub/session info: Configuring Safari session ERROR: debug: Request received with params: {"desiredCapabilities":{"browserName":"Safari","device":"iPhone 5s white"}} info: Trying to use mobile safari, version 18 info: Looking for built in app MobileSafari ERROR: error: xcode-select threw error Error: Command failed: 'xcode-select' is not recognized as an internal or external command, ERROR: operable program or batch file. ERROR: info: Got configuration error, not starting session ERROR: error: Stderr: 'xcode-select' is not recognized as an internal or external command, ERROR: operable program or batch file. ERROR: ERROR: error: Stdout: ERROR: error: Could not prepare mobile safari with version '18': Error: xcode-select threw an error ERROR: error: Failed to start an Appium session, err was: Error: xcode-select threw an error info: Cleaning up appium session info: Error: xcode-select threw an error at D:\QM_Work\AppiumForWindows-1.0.0\AppiumForWindows\node_modules\appium\lib\helpers.js:523:10 at ChildProcess.exithandler (child_process.js:641:7) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5) info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: xcode-select threw an error)","origValue":"xcode-select threw an error"},"sessionId":null} POST /wd/hub/session 500 1379ms - 204b
那麼錯誤告訴我,appium正在尋找Xcode,它不適用於Windows。看起來你只能在OSX上使用appium for iOS。 – rckoenes
任何其他解決方法,以使其工作? – user3801774