Appium 1.4.13,真机 iPhone6 iOS9.2.1 已安装测试 App,Appium 上启动 Inspector 起不来,卡在 Creating iDevice object with udid...那一段时间不往下执行,然后就弹报错框了,求帮忙解决,谢谢


目前情况:Xcode 使用的是自己的 AppleID(非开发账号)build 到真机上的,且已用 Instruments->UI Automation 真机运行过的。

iOS Settings 如下图:

启动 Inspector 报错截图:

info: [debug] App is an iOS bundle, will attempt to run as pre-existing
info: [debug] Creating new appium session cec429dd-f477-4dbb-bcc3-0f06f21ce88a
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Auto-detecting iOS udid...
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.chaomo.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Applications/Appium.app/Contents/Resources/node_modules/appium/com.chaomo.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/zhuquan/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/zhuquan/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Reusing dynamic bootstrap: /Users/zhuquan/Library/Application Support/appium/bootstrap/bootstrap-5923cadea0343e3f.js
info: [debug] Attempting iOS device log capture via libimobiledevice idevicesyslog

info: [debug] Creating iDevice object with udid 7f5d1c1cb5e7ea8046052b0c52d371e24fa0a8c3


↙↙↙阅读原文可查看相关链接,并与作者交流