还未发布过话题
  • @huangejuan 请问下你实现了真机上左右滑动的效果了吗?

  • @hualin 这个能实现 iOS 的左滑操作效果吗?

  • @michael_wang 你写的这个支持手机端吗?还是只针对 web 端的。

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

    @xdf 更新到 2.0.1 之后,iOS 使用 xpath 真机定位不到

    定位我图片上红色部分的地方,我把 xpath 复制直接使用定位不到,请问更新的 2.0.1 的版本,xpath 是只要复制直接使用就行了吗?

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

    我模拟器上能正常运行,真机真心跑不起来,倒腾了几天还是跑不起来

  • @juzi1018 这个问题你解决了吗?我的 Xcode 版本 8.3.2 的还是启动不了 app-inspector

  • 我的 Xcode8.3.2 的版本,Swift 怎么是 3.0 的

  • python ios 真机测试 at 2016年12月28日

    楼主,问下就是我真机上打开 app,打开一下就闪退是什么原因,就是打不开,下面是日志信息

    index.js:17:12 [master] pid:20467 webdriver server start with config:
    { port: 3456,
    verbose: true,
    always: true,
    ip: 'xx',
    host: 'xx',
    loaded_time: '2016-12-28 15:30:02' }
    middlewares.js:17:10 [master] pid:20467 base middlewares attached
    router.js:127:10 [master] pid:20467 router set
    webdriver sdk launched
    responseHandler.js:11:12 [master] pid:20467 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"udid":"f6c4faa88f3d7ccacb538924f321e5ea23a3d70d","platformVersion":"9.3.5","deviceName":"iPhone 6p","bundleId":"com.btcc.mobiEntStaging","platformName":"iOS"}}
    session.js:47:10 [master] pid:20467 Creating session, sessionId: c27e9934-ded7-4fc7-84db-2d935447fd7d.
    ios-deploy
    macaca-ios.js:229:12 [master] pid:20467 App "com.btcc.mobiEntStaging" is already installed.
    xctest-client.js:56:14 [master] pid:20467 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    macaca-ios.js:145:10 [master] pid:20467 {
    "bundleId": "com.btcc.mobiEntStaging",
    "platformVersion": "9.3.5",
    "platformName": "iOS"
    }
    macaca-ios.js:149:12 [master] pid:20467 Trying to start wda server...
    xctest-client start with port: 8900
    xctest-client.js:233:14 [master] pid:20467 xcode version: 8.2.1
    WebDriverAgent version: 1.0.41
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:31:59.244 xcodebuild[20503:960471] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-earnspoghlsscjbxlmzvvcsmvulx/Logs/Test/E61C5E1D-9856-4C0A-9E5E-D76FB2FB4204/Session-WebDriverAgentRunner-2016-12-28_153159-cPafZg.log

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:31:59.245 xcodebuild[20503:960218] [MT] IDETestOperationsObserverDebug: (EE3B84CA-2776-4BE7-8ECF-1C36DD988DEB) Beginning test session WebDriverAgentRunner-EE3B84CA-2776-4BE7-8ECF-1C36DD988DEB at 2016-12-28 15:31:59.242 with Xcode 8C1002 on target {
    deviceSerialNumber: xx
    identifier: xx
    deviceClass: iPhone
    deviceName: BTCC iPhone6p
    deviceIdentifier: xx
    productVersion: 9.3.5
    buildVersion: 13G36
    deviceSoftwareVersion: 9.3.5 (13G36)
    deviceArchitecture: arm64
    deviceTotalCapacity: 12442124288
    deviceAvailableCapacity: 7577001984
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    } (9.3.5 (13G36))

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/9299ec5bd02fdd44a5a5421b0c55a473/f6c4faa88f3d7ccacb538924f321e5ea23a3d70d/ManifestCache.plist

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:09.972 xcodebuild[20503:960218] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "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:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467
    Testing failed:

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:267:14 [master] pid:20467 killing deviceLogProc pid: 20500
    xctest-client.js:272:14 [master] pid:20467 killing runnerProc pid: 20503
    xctest-client.js:278:14 [master] pid:20467 killing iproxyProc pid: 20502
    xctest-client.js:181:14 [master] pid:20467 xctest client exit with code: 65, signal: null
    xctest-client.js:145:16 [master] pid:20467 deviceconsole exit with code: null, signal: SIGKILL
    xctest-client.js:255:14 [master] pid:20467 Fail to start xctest: undefined
    xctest-client.js:209:14 [master] pid:20467 iproxy exit with code: null, signal: SIGKILL
    macaca-ios.js:149:12 [master] pid:20467 Trying to start wda server...
    xctest-client start with port: 8900
    xctest-client.js:233:14 [master] pid:20467 xcode version: 8.2.1
    WebDriverAgent version: 1.0.41
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:15.909 xcodebuild[20649:960994] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-earnspoghlsscjbxlmzvvcsmvulx/Logs/Test/F6B8AD41-4386-4768-88C4-19DA1B1628C3/Session-WebDriverAgentRunner-2016-12-28_153215-eJLjXC.log

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:15.910 xcodebuild[20649:960990] [MT] IDETestOperationsObserverDebug: (E043020C-AC92-43B7-B75F-62D94863520C) Beginning test session WebDriverAgentRunner-E043020C-AC92-43B7-B75F-62D94863520C at 2016-12-28 15:32:15.908 with Xcode 8C1002 on target {
    deviceSerialNumber: xx
    identifier: x'x
    deviceClass: iPhone
    deviceName: BTCC iPhone6p
    deviceIdentifier: xx
    productVersion: 9.3.5
    buildVersion: 13G36xx
    deviceSoftwareVersion: 9.3.5 (13G36)
    deviceArchitecture: arm64
    deviceTotalCapacity: 12442124288
    deviceAvailableCapacity: 7576145920
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    } (9.3.5 (13G36))

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/9299ec5bd02fdd44a5a5421b0c55a473/f6c4faa88f3d7ccacb538924f321e5ea23a3d70d/ManifestCache.plist

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:25.771 xcodebuild[20649:960990] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "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:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467
    Testing failed:

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:267:14 [master] pid:20467 killing deviceLogProc pid: 20646
    xctest-client.js:272:14 [master] pid:20467 killing runnerProc pid: 20649
    xctest-client.js:278:14 [master] pid:20467 killing iproxyProc pid: 20648
    xctest-client.js:181:14 [master] pid:20467 xctest client exit with code: 65, signal: null
    xctest-client.js:145:16 [master] pid:20467 deviceconsole exit with code: null, signal: SIGKILL
    xctest-client.js:255:14 [master] pid:20467 Fail to start xctest: undefined
    xctest-client.js:209:14 [master] pid:20467 iproxy exit with code: null, signal: SIGKILL
    macaca-ios.js:149:12 [master] pid:20467 Trying to start wda server...
    xctest-client start with port: 8900
    xctest-client.js:233:14 [master] pid:20467 xcode version: 8.2.1
    WebDriverAgent version: 1.0.41
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:31.704 xcodebuild[20795:961660] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-earnspoghlsscjbxlmzvvcsmvulx/Logs/Test/3FD2CD4E-3031-44D4-8EF3-770F41DEB20E/Session-WebDriverAgentRunner-2016-12-28_153231-Zc6ewu.log

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:31.705 xcodebuild[20795:961613] [MT] IDETestOperationsObserverDebug: (DF6DEDF5-306E-4EBE-AA05-826A8FF49DCF) Beginning test session WebDriverAgentRunner-DF6DEDF5-306E-4EBE-AA05-826A8FF49DCF at 2016-12-28 15:32:31.703 with Xcode 8C1002 on target {
    deviceSerialNumber: xx
    identifier: fxx
    deviceClass: iPhone
    deviceName: BTCC iPhone6p
    deviceIdentifier: xx
    productVersion: 9.3.5
    buildVersion: 13G36
    deviceSoftwareVersion: 9.3.5 (13G36)
    deviceArchitecture: arm64
    deviceTotalCapacity: 12442124288
    deviceAvailableCapacity: 7575846912
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    } (9.3.5 (13G36))

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/9299ec5bd02fdd44a5a5421b0c55a473/f6c4faa88f3d7ccacb538924f321e5ea23a3d70d/ManifestCache.plist

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:41.419 xcodebuild[20795:961613] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "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:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467
    Testing failed:

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:267:14 [master] pid:20467 killing deviceLogProc pid: 20792
    xctest-client.js:272:14 [master] pid:20467 killing runnerProc pid: 20795
    xctest-client.js:278:14 [master] pid:20467 killing iproxyProc pid: 20794
    xctest-client.js:181:14 [master] pid:20467 xctest client exit with code: 65, signal: null
    xctest-client.js:145:16 [master] pid:20467 deviceconsole exit with code: null, signal: SIGKILL
    xctest-client.js:255:14 [master] pid:20467 Fail to start xctest: undefined
    xctest-client.js:209:14 [master] pid:20467 iproxy exit with code: null, signal: SIGKILL
    macaca-ios.js:149:12 [master] pid:20467 Trying to start wda server...
    xctest-client start with port: 8900
    xctest-client.js:233:14 [master] pid:20467 xcode version: 8.2.1
    WebDriverAgent version: 1.0.41
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:47.103 xcodebuild[20941:962260] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
    /Users/apple/Library/Developer/Xcode/DerivedData/WebDriverAgent-earnspoghlsscjbxlmzvvcsmvulx/Logs/Test/4CAA660B-8689-4F88-BBF3-0C71A5908BF9/Session-WebDriverAgentRunner-2016-12-28_153247-mFTZdi.log

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:47.104 xcodebuild[20941:962252] [MT] IDETestOperationsObserverDebug: (6B22B99F-757E-4FD6-8001-EB2D63E6BF81) Beginning test session WebDriverAgentRunner-6B22B99F-757E-4FD6-8001-EB2D63E6BF81 at 2016-12-28 15:32:47.102 with Xcode 8C1002 on target {
    deviceSerialNumber: xx
    identifier: xx
    deviceName: BTCC iPhone6p
    deviceIdentifier: xx
    productVersion: 9.3.5
    buildVersion: 13G36
    deviceSoftwareVersion: 9.3.5 (13G36)
    deviceArchitecture: arm64
    deviceTotalCapacity: 12442124288
    deviceAvailableCapacity: 7575179264
    deviceIsTransient: NO
    ignored: NO
    deviceIsBusy: NO
    deviceIsActivated: YES
    deviceActivationState: Activated
    deviceType:
    supportedDeviceFamilies: (
    1
    )
    applications: (null)
    provisioningProfiles: (null)
    activityProgress: -2
    activityTitle:

    hasInternalSupport: NO
    isSupportedOS: YES
    developerDiskMountError: (null)
    (null)
    } (9.3.5 (13G36))

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/5z/hjq6vzl133sf0kjt5fhv4nb80000gp/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/9299ec5bd02fdd44a5a5421b0c55a473/f6c4faa88f3d7ccacb538924f321e5ea23a3d70d/ManifestCache.plist

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 2016-12-28 15:32:56.850 xcodebuild[20941:962252] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "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:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467
    Testing failed:

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:170:14 [master] pid:20467 Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    xctest-client.js:171:14 [master] pid:20467 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
    xctest-client.js:267:14 [master] pid:20467 killing deviceLogProc pid: 20938
    xctest-client.js:272:14 [master] pid:20467 killing runnerProc pid: 20941
    xctest-client.js:278:14 [master] pid:20467 killing iproxyProc pid: 20940
    xctest-client.js:181:14 [master] pid:20467 xctest client exit with code: 65, signal: null
    xctest-client.js:145:16 [master] pid:20467 deviceconsole exit with code: null, signal: SIGKILL
    xctest-client.js:255:14 [master] pid:20467 Fail to start xctest: undefined
    responseHandler.js:54:12 [master] pid:20467 Send Error Respone to Client: undefined

    InternalServerError: Internal Server Error
    at Object.throw (/usr/local/lib/node_modules/macaca-cli/node_modules/koa/lib/context.js:91:23)
    at Object.module.exports (/usr/local/lib/node_modules/macaca-cli/node_modules/webdriver-server/lib/server/responseHandler.js:57:17)
    at throw (native)
    at onRejected (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:81:24)
    at process._tickCallback (internal/process/next_tick.js:103:7)

    xctest-client.js:209:14 [master] pid:20467 iproxy exit with code: null, signal: SIGKILL

  • 我也碰到乱码了,这个应该怎么解决呀!!