• appium.app Inspector 启动方法 at 2016年12月05日

    [HTTP] --> GET /wd/hub/sessions {}
    [MJSONWP] Calling AppiumDriver.getSessions() with args: []
    [MJSONWP] Responding to client with driver.getSessions() result: []
    [HTTP] <-- GET /wd/hub/sessions 200 3 ms - 40

    [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","newCommandTimeout":"7200","app":"/Users/xiaomingqi/Desktop/ming/TestApp.app","platformVersion":"10.1.1","deviceName":"iPhone 5s","bundleId":"com.pinjian.ghdoctor","automationName":"Appium","udid":"04db8ba37c488014b5adef0bf6ea559893ea84ad"}}

    [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","new...

    [Appium] Creating new IosDriver session
    [Appium] Capabilities:
    [Appium] platformName: 'iOS'
    [Appium] newCommandTimeout: '7200'
    [Appium] app: '/Users/xiaomingqi/Desktop/ming/TestApp.app'
    [Appium] platformVersion: '10.1.1'
    [Appium] deviceName: 'iPhone 5s'
    [Appium] bundleId: 'com.pinjian.ghdoctor'
    [Appium] automationName: 'Appium'
    [Appium] udid: '04db8ba37c488014b5adef0bf6ea559893ea84ad'
    [Appium] nativeInstrumentsLib: true
    [Appium] showIOSLog: true
    [BaseDriver] Capability 'newCommandTimeout' changed from string ('7200') to integer (7200). This may cause unexpected behavior

    [BaseDriver] Session created with session id: cf145f4e-85da-458a-84e4-ef1d0bb11dbe

    [debug] [iOS] Not auto-detecting udid.
    [BaseDriver] Using local app '/Users/xiaomingqi/Desktop/ming/TestApp.app'
    [debug] [iOS] Removing any remaining instruments sockets
    [debug] [iOS] Cleaned up instruments socket /var/folders/0s/9h3r2djd3hx044c79hs2hg7w0000gn/T/instruments_sock
    [debug] [iOS] No language specified. Using default strings

    [debug] [iOS] Strings file not found. Looking in 'en.lproj' directory

    [debug] [iOS] Parsed app 'Localizable.strings'

    [debug] [iOS] Creating instruments
    [debug] [UIAuto] Preparing bootstrap code
    [debug] [UIAuto] Dynamic bootstrap dir: /Users/xiaomingqi/Library/Application Support/appium/bootstrap
    [debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/0s/9h3r2djd3hx044c79hs2hg7w0000gn/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

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

    [debug] [UIAuto] Dynamic bootstrap path: /Users/xiaomingqi/Library/Application Support/appium/bootstrap/bootstrap-2ef1e5134d4d6b1c.js

    [debug] [UIAuto] Reusing dynamic bootstrap: /Users/xiaomingqi/Library/Application Support/appium/bootstrap/bootstrap-2ef1e5134d4d6b1c.js

    [debug] [iOS] Running ios real device reset flow

    [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

    [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

    [debug] [iOS] Creating iDevice object with udid 04db8ba37c488014b5adef0bf6ea559893ea84ad

    [debug] [iOS] App is not installed. Will try to install.

    [MJSONWP] Encountered internal error running command: Error: Installing /Users/xiaomingqi/Desktop/ming/TestApp.app failed
    at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice/main.js:159:6
    at ChildProcess.exithandler (child_process.js:193:7)
    at emitTwo (events.js💯13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:850:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

    [HTTP] <-- POST /wd/hub/session 500 433 ms - 197

    [HTTP] --> GET /wd/hub/status {}

    [MJSONWP] Calling AppiumDriver.getStatus() with args: []

    楼主报安装不成功!麻烦你给看看就什么问题?