• Macaca App Inspector 2.0 发布 at 2017年05月26日

    这个问题已解决

  • Macaca App Inspector 2.0 发布 at 2017年05月26日

    之前真机上还可以查元素 升级之后不查看了 Internal Server Error

    server.js:16:12 [master] pid:19234 server start with config:
    { port: 5678,
    verbose: true,
    udid: '5e8f56afede9e4ec04628190ca94c1d73f50dd12',
    ip: '172.18.172.223',
    host: 'TianXingyangdeMacBook-Pro.local',
    loaded_time: '2017-05-26 17:26:09' }
    app-inspector.js:43:12 [master] pid:19234 server start at: http://172.18.172.223:5678
    xctest-client.js:53:14 [master] pid:19234 project path: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctestwd start with port: 8002
    xctest-client.js:226:14 [master] pid:19234 xcode version: 8.3.2
    XCTestWD version: 1.0.25
    xctest-client.js:174:14 [master] pid:19234 2017-05-26 17:26:10.914 xcodebuild[19240:1184306] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/tianxingyang/Library/Developer/Xcode/DerivedData/XCTestWD-evljajykmolwzobrozpobiggeeea/Logs/Test/0AB1D74C-67D5-4046-B4E2-326667D5CE27/Session-XCTestWDUITests-2017-05-26_172610-vpbf54.log

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:174:14 [master] pid:19234 2017-05-26 17:26:10.914 xcodebuild[19240:1184291] [MT] IDETestOperationsObserverDebug: (74000DAD-CDBB-40D5-82DC-A603A0ED9A4D) Beginning test session XCTestWDUITests-74000DAD-CDBB-40D5-82DC-A603A0ED9A4D at 2017-05-26 17:26:10.914 with Xcode 8E2002 on target {
    deviceSerialNumber: C39SM0VAHG00
    identifier: 5e8f56afede9e4ec04628190ca94c1d73f50dd12
    deviceClass: iPhone
    deviceName: iPhone 7 Plus
    deviceIdentifier: 5e8f56afede9e4ec04628190ca94c1d73f50dd12
    productVersion: 10.3
    buildVersion: 14E277
    deviceSoftwareVersion: 10.3 (14E277)
    deviceArchitecture: arm64
    deviceTotalCapacity: 28161949696
    deviceAvailableCapacity: 7512875008
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    isPasscodeLocked: NO
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    bootArgs:
    } (10.3 (14E277))

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:174:14 [master] pid:19234 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/wv/1npf6k9503lgjf0jfmnzyx2r0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/0af7f3ce2b524a3c43248d6e0828b499/5e8f56afede9e4ec04628190ca94c1d73f50dd12/ManifestCache.plist

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:174:14 [master] pid:19234 2017-05-26 17:26:28.063 xcodebuild[19240:1184291] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:174:14 [master] pid:19234
    Testing failed:

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:174:14 [master] pid:19234 Test target XCTestWDUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    xctest-client.js:175:14 [master] pid:19234 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
    xctest-client.js:257:14 [master] pid:19234 killing deviceLogProc pid: 19237
    xctest-client.js:262:14 [master] pid:19234 killing runnerProc pid: 19240
    xctest-client.js:268:14 [master] pid:19234 killing iproxyProc pid: 19239
    xctest-client.js:185:14 [master] pid:19234 xctest client exit with code: 65, signal: null
    xctest-client.js:213:14 [master] pid:19234 iproxy exit with code: null, signal: SIGKILL
    xctest-client.js:147:16 [master] pid:19234 deviceconsole exit with code: null, signal: SIGKILL
    xctest-client.js:249:14 [master] pid:19234 Fail to start xctest: undefined
    undefined
    iOS device started: 5e8f56afede9e4ec04628190ca94c1d73f50dd12
    inspector start at: http://172.18.172.223:5678
    <-- GET /
    helper.js:97:16 [master] pid:19234 xctest client proxy error with: Error: connect ECONNREFUSED 127.0.0.1:8002

    Error: connect ECONNREFUSED 127.0.0.1:8002
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at TCPConnectWrap.afterConnect as oncomplete

  • Macaca2.0 升级公告 at 2017年05月22日

    responseHandler.js:11:12 [master] pid:465 Recieve HTTP Request from Client[2017-05-22 17:31:19]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"app":"/Users/test/Downloads/Elephant.app.zip","reuse":3,"platformName":"ios","udid":"fc99e044076957f2f7d22739baf7f52705f952c3"}}
    session.js:47:10 [master] pid:465 Creating session, sessionId: fcab3729-1fbb-4371-8dfc-882c651963b9.
    helper.js:194:12 [master] pid:465 Unzipping local app form /Users/test/Downloads/Elephant.app.zip
    CFBundleIdentifier is com.meituan.message
    Get bundleId com.meituan.message from plist /var/folders/vw/3l0zs0lx5hgbfn_jpxj011w40000gn/T/Elephant.app/Info.plist
    responseHandler.js:54:12 [master] pid:465 Send Error Respone to Client: Error: spawn ios-deploy ENOENT
    responseHandler.js:60:14 [master] pid:465 Error: spawn ios-deploy ENOENT
    at exports._errnoException (util.js:1034:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

    Error: spawn ios-deploy ENOENT
    at exports._errnoException (util.js:1034:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    macaca doctor 显示正常
    app-inspector 查看元素正常
    /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj 这个文件的签名已经改好了
    请大神指教

  • xctest-client.js:171:14 [master] pid:16242 please check project: /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    proxy.js:56:14 [master] pid:16242 Proxy: /session:POST to http://127.0.0.1:8900/session:POST with body: {"desiredCapabilities":{}}
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    proxy.js:62:22 [master] pid:16242 xctest client proxy error with: Error: socket hang up
    xctest-client.js:257:14 [master] pid:16242 Fail to start xctest: Error: socket hang up
    xctest-client.js:265:14 [master] pid:16242 killing deviceLogProc pid: 16245
    xctest-client.js:270:14 [master] pid:16242 killing runnerProc pid: 16248
    xctest-client.js:276:14 [master] pid:16242 killing iproxyProc pid: 16247
    app-inspector:66:44 [master] pid:16242 Error: socket hang up
    at createHangUpError (_http_client.js:302:15)
    at Socket.socketOnEnd (_http_client.js:394:23)
    at emitNone (events.js:91:20)
    at Socket.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    (node:16242) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: >> app-inspector:66:44 [master] pid:16242 Error: socket hang up
    at createHangUpError (_http_client.js:302:15)
    at Socket.socketOnEnd (_http_client.js:394:23)
    at emitNone (events.js:91:20)
    at Socket.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    (node:16242) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    xctest-client.js:145:16 [master] pid:16242 deviceconsole exit with code: null, signal: SIGKILL
    有人遇到我这个问题吗 请大神指导