Appium 是最新版的 0.14.2
AppPath 无论选不选,都无法运行 inspetor。
Python 测试脚本可以正常运行,并打开 ios 模拟器。
mac 版本是 10.09 的,xcode 是 5.0.2 的,
大家有遇过这种情况么?

debug: Appium request initiated at /wd/hub/status

info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.14.2","revision":"113e796b850b28e7066fe472faf8554b73b6299d"}}}

debug: Request received with params: {}
debug: Appium request initiated at /wd/hub/sessions
debug: Request received with params: {}
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{}}
error: A valid device type is required in the capabilities list
error: Failed to start an Appium session, err was: Error: A valid device type is required in the capabilities list

GET /wd/hub/status 200 1ms - 144b
info: Responding to client with success: {"status":0,"value":[]}
GET /wd/hub/sessions 200 12ms - 32b
info: Got configuration error, not starting session
info: Cleaning up appium session
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: A valid device type is required in the capabilities list)","origValue":"A valid device type is required in the capabilities list"},"sessionId":null}
POST /wd/hub/session 500 4ms - 262b


↙↙↙阅读原文可查看相关链接,并与作者交流