1、前提:已成功安装 macaca 和 app-inspector

bogon:macaca-test lunkr$ macaca doctor

  macaca-doctor version: 1.0.27


  Node.js checklist:

  node env: /usr/local/bin/node
  node version: v6.3.0

  iOS checklist:

  Xcode is installed at: `/Applications/Xcode.app/Contents/Developer`
  Xcode Command Line Tools is ready, version: 2343.
  iproxy[usbmuxd] is installed at: `/usr/local/bin/iproxy`
  ios_webkit_debug_proxy is installed at: `/usr/local/bin/ios_webkit_debug_proxy`

  Android checklist:

  JAVA version is `1.8.0_73`
  JAVA_HOME is not set
  ANDROID_HOME is not set

  Installed driver list:

  electron: 1.1.4
  ios: 1.0.41

2、问题描述

bogon:macaca-test lunkr$ app-inspector -u 3BFC9033-C8A4-4C59-A9D2-0ECA244EA193
>> xctest-client.js:50:14 [master] pid:1684 project path not found
>> app-inspector:66:44 [master] pid:1684 Error: >> xctest-client.js:50:14 [master] pid:1684 project path not found
    at Logger.error (/usr/local/lib/node_modules/app-inspector/node_modules/xlogger/lib/xlogger.js:169:9)
    at XCTest.checkProjectPath (/usr/local/lib/node_modules/app-inspector/node_modules/xctest-client/lib/xctest-client.js:50:14)
    at XCTest.init (/usr/local/lib/node_modules/app-inspector/node_modules/xctest-client/lib/xctest-client.js:43:10)
    at new XCTest (/usr/local/lib/node_modules/app-inspector/node_modules/xctest-client/lib/xctest-client.js:39:10)
    at Object.exports.initDevice (/usr/local/lib/node_modules/app-inspector/lib/ios.js:90:12)
    at next (native)
    at onFulfilled (/usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:65:19)
    at /usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:54:5
    at co (/usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:50:10)
    at toPromise (/usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:118:63)

3、补充

本人小白一枚,个人能力有限,希望有大神指教指教!


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