使用真机执行用例,抱如下错误:

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...

info: [debug] Dynamic bootstrap path: /Users/XXXXX/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js

info: [debug] Reusing dynamic bootstrap: /Users/XXXXX/Library/Application Support/appium/bootstrap/bootstrap-6745615c424bb0c0.js

info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog

info: [debug] Creating iDevice object with udid eeeeeeeeeeeeeeeeeeeee

info: [debug] App is not installed. Will try to install the app.

info: [debug] Cleaning up appium session

info: [debug] Error: Command failed: /bin/sh -c ideviceinstaller -u eeeeeeeeeeeeeeeeeeeee -i com.test

    at ChildProcess.exithandler (child_process.js:751:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u eeeeeeeeeeeeeeeeeeeee -i com.test\n)","killed":false,"code":null,"signal":"SIGSEGV","cmd":"/bin/sh -c ideviceinstaller -u eeeeeeeeeeeeeeeeeeeee -i com.test","origValue":"Command failed: /bin/sh -c ideviceinstaller -u eeeeeeeeeeeeeeeeeeeee -i com.test\n"},"sessionId":null}

appium version: 1.4.8 dmg 安装
ios version :8.4.3
经查 是 ideviceinstaller 的 问题,然后重新安装,发现提示已经安装,但是使用 ideviceinstaller -l 时出错,请问大家有没有遇到过这个问题,如何解决

$ brew install -HEAD ideviceinstaller
Warning: ideviceinstaller-1.0.1 already installed
$ ideviceinstaller -l
Segmentation fault: 11


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