还未发布过话题
  • 也是依赖包 node-idevice 的原因吗

  • Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
    [HTTP] <-- GET /wd/hub/status 200 10 ms - 83 
    [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","platformVersion":"9.3.1","udid":"D8A98E35-BD85-5A5C-9C51-CFA796368B3A","automationName":"Appium","bundleId":"com.weizuche076.WeRentCar","deviceName":"iPhone 6"}}
    [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"9.3.1","udid":"D8A98E35-BD85-5A5C-9C51-CFA796368B3A","automationName":"Appium","bundleId":"com.weizuche07...
    [Appium] Creating new IosDriver session
    [Appium] Capabilities:
    [Appium]   platformName: 'iOS'
    [Appium]   platformVersion: '9.3.1'
    [Appium]   udid: 'D8A98E35-BD85-5A5C-9C51-CFA796368B3A'
    [Appium]   automationName: 'Appium'
    [Appium]   bundleId: 'com.weizuche076.WeRentCar'
    [Appium]   deviceName: 'iPhone 6'
    [Appium]   app: 'com.weizuche076.WeRentCar'
    [Appium]   noReset: true
    [Appium]   showIOSLog: true
    
    [BaseDriver] Session created with session id: 24d224e8-42c4-4525-b2cd-f5485cbbe15b
    [debug] [iOS] Not auto-detecting udid.
    [debug] [iOS] App is an iOS bundle, will attempt to run as pre-existing
    [debug] [iOS] Removing any remaining instruments sockets
    [debug] [iOS] Cleaned up instruments socket /var/folders/yw/s47v0nk54yzg04p2ls7m3m0r0000gn/T/instruments_sock
    [debug] [iOS] No language specified. Using default strings
    [debug] [iOS] Strings file not found. Looking in 'en.lproj' directory
    [iOS] Could not file localizable strings file 'Localizable.strings'!
    [debug] [iOS] Creating instruments
    [debug] [UIAuto] Preparing bootstrap code
    [debug] [UIAuto] Dynamic bootstrap dir: /Users/pengbingxiang/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/yw/s47v0nk54yzg04p2ls7m3m0r0000gn/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/pengbingxiang/Library/Application Support/appium/bootstrap/bootstrap-7a90aecc8b979ac8.js
    
    [debug] [UIAuto] Reusing dynamic bootstrap: /Users/pengbingxiang/Library/Application Support/appium/bootstrap/bootstrap-7a90aecc8b979ac8.js
    [debug] [iOS] Reset not set, not ending real device
    [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
    [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
    
    [MJSONWP] Encountered internal error running command: Error: Command failed: ideviceinstaller -U D8A98E35-BD85-5A5C-9C51-CFA796368B3A -l 
    
        at ChildProcess.exithandler (child_process.js:202:12)
        at emitTwo (events.js:100: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)
    
    [debug] [iOS] Creating iDevice object with udid D8A98E35-BD85-5A5C-9C51-CFA796368B3A
    [HTTP] <-- POST /wd/hub/session 500 124 ms - 215 
    
    [HTTP] --> GET /wd/hub/status {}
    
    [MJSONWP] Calling AppiumDriver.getStatus() with args: []
    
    [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":null}}
    [HTTP] <-- GET /wd/hub/status 200 16 ms - 83 
    
    

    楼主帮忙看看是怎么回事?