Macaca 求助 app-inspector 今天突然不能用了,报错: {"sessionId":null,"value":"There is no active application","status":13}

云霄 · 2017年03月28日 · 最后由 melody 回复于 2017年04月10日 · 1730 次阅读

<-- GET /
The source may be wrong, please report with below message at:
https://github.com/macacajs/app-inspector/issues/new
****** xctest source start *******
{"sessionId":null,"value":"There is no active application","status":13}
'****** xctest source end *******

TypeError: Cannot read property 'type' of undefined
at adaptor (/usr/local/lib/node_modules/app-inspector/lib/ios.js:23:20)
at Object.exports.dumpXMLAndScreenShot (/usr/local/lib/node_modules/app-inspector/lib/ios.js:60:22)
at next (native)
at onFulfilled (/usr/local/lib/node_modules/app-inspector/node_modules/co/index.js:65:19)
at process._tickCallback (internal/process/next_tick.js:103:7)

<-- GET /favicon.ico
--> GET /favicon.ico 404

共收到 6 条回复 时间 点赞

全都重装了一遍了。好了😅

云霄 回复

你是说要把 Bundle Identitier 改成 com.facebook.WebDriverAgentLib + “.你的 mac 机器的 host” 么?host 是 ip 还是机器名?

melody 回复

不过 macaca 真机很慢啊 你感觉呢 模拟器速度勉强能接受

melody 回复

解决了,
重新 build WDA

关键点在于 Bundle Identitier 的修改
com.facebook.WebDriverAgentLib + .你的 mac 机器的 host
app-inspector 和 macaca-ios 只要一个成功 ,复制过去就行

我也是今天升级后遇到了这个问题,请问解决了么?

模拟器 正常,真机表现为: 启动 wda 后一直黑屏

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册