Macaca 使用 ios 真机时,server 端报:BundleId XCTestWD.XCTestWD does not exist.是哪里出问题?

MJW · 2017年08月22日 · 最后由 MJW 回复于 2017年08月29日 · 1854 次阅读
  • Macaca Version:
    2.0.9

  • Macaca Doctor Logs:

    macaca-doctor version: 2.0.2
    

Node.js checklist:

node env: /usr/local/bin/node
node version: v8.1.4

iOS checklist:

Xcode Command Line Tools is ready, version: 2347.
xcodebuild version: 8.3.3
iproxy[usbmuxd] is installed at: /usr/local/bin/iproxy
ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy
carthage is installed, version: 0.23.0

Android checklist:

JAVA version is 1.8.0_91
JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home
ANDROID_HOME is set to /Users/micky/Library/Android/sdk
Platforms is set to /Users/micky/Library/Android/sdk/platforms/android-25
ADB tool is set to /Users/micky/Library/Android/sdk/platform-tools/adb
gradle is installed, version: 3.5

Installed driver list:

android: 2.0.36
chrome: 1.0.6
electron: 1.1.11
ios: 2.0.24


* **Operate System**:
MAC 10.12.6

* **Programming Language**:
JAVA

<!-- Enter your issue details and log as much information as possible below this comment. -->

webdriver sdk launched
responseHandler.js:11:12 [master] pid:18546 Recieve HTTP Request from Client[2017-08-21 21:33:57]: method: POST url: /wd/hub/session, jsonBody: {"desiredCapabilities":{"reuse":"3","bundleId":"com.iossss","platformName":"iOS","udid":"2466e45b2af1a78ccaf858ca913230398e726d8b","deviceName":"iPhone 6 Plus","autoAcceptAlerts":false}}
session.js:47:10 [master] pid:18546 Creating session, sessionId: f6d166c9-f8e2-4def-aab0-4fb7cd0a96e3.
ios-deploy
macaca-ios.js:246:12 [master] pid:18546 App "com.iossss" is already installed.
macaca-ios.js:247:12 [master] pid:18546 Adopting app reuse strategy: 3.
BundleId XCTestWD.XCTestWD does not exist.
macaca-ios.js:158:10 [master] pid:18546 {
"bundleId": "com.iossss",
"platformName": "iOS"
}
xctest-client.js:55:14 [master] pid:18546 project path: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
macaca-ios.js:167:12 [master] pid:18546 Trying to start xctestwd server...
xctest-client.js:228:14 [master] pid:18546 xcode version: 8.3.3
XCTestWD version: 1.1.6

已经重签名
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 4 条回复 时间 点赞
匿名 #1 · 2017年08月28日

你重签的 BundleId 是 XCTestWD.XCTestWD 还是 com.iossss

MJW #2 · 2017年08月29日 Author

重签名了 XCTestWD.XCTestWD

匿名 #3 · 2017年08月29日

那你的 jsonBody: {"desiredCapabilities":{"reuse":"3","bundleId":"com.iossss", 这个参数也要填成 XCTestWD.XCTestWD

MJW #4 · 2017年08月29日 Author

已经重装解决

MJW 关闭了讨论 08月29日 23:13
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册