Appium 求大神指导下,appium-Desktop1.5.3 + xcode 7.3.1 + IOS 11.1.2 真机 无法调起 Instruments,IOS 8.4.1 真机是好的

大呆呆 · 2018年03月27日 · 最后由 木头 回复于 2018年08月20日 · 2104 次阅读

[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:21 mojunde6 locationd[64] : @ClxWifi2, Fix, 0, ll, N/A, No pipelined information available

[debug] [Instruments] Instruments exited with code 253

[Instruments] Error launching instruments: Instruments crashed on startup

[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 notification_proxy(MobileSystemServices)[201] : 0x16f7eb000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 gputoolsd(GPUToolsCore)[284] : schedule invalidation
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 gputoolsd(GPUToolsCore)[284] : terminating daemon 0x13be0bbe0
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 notification_proxy(MobileSystemServices)[201] : 0x16f75f000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 DTServiceHub(DVTInstrumentsFoundation)[210] : Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 lsd(MobileCoreServices)[88] : LSInstallProgress: Removing observer
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 DTServiceHub(MobileCoreServices)[210] : progress connection invalidationHandler called
[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:15:24 mojunde6 assertiond[67] : Removed BKApplicationStateServerClient for [210:] ->

[Instruments] Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
[Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch]

[HTTP] <-- POST /wd/hub/session 500 43193 ms - 232

[MJSONWP] Encountered internal error running command: Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:220:15)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:16:05 mojunde6 wifid[44] : WiFi:[543838565.148714]: __WiFiDeviceManagerLQMEventCallback: null snrNumRef

[iOSLog] [IOS_SYSLOG_ROW] Mar 27 18:16:05 mojunde6 symptomsd(SymptomEvaluator)[131] : L2 Metrics on ifname en0: rssi: -34 (txFrames/txReTx/txFail) 0/0/0 -> (was/is) 0/0

共收到 7 条回复 时间 点赞

xcode 7.3.1 不支持 iOS11 的,要支持需要升级到 xcode9

@xiaozi2400-github 不是说把 IOS 11 的 SDK 放入 Xcode 支持库就行了吗?

大呆呆 回复

这个那就不清楚了

ios9.3 以后不支持 instruments

John 回复

支持的,看了网上有好几个贴说更新 Facebook 的 WDA 替换掉 appium 自带的就行,我装备自己试下

大呆呆 回复

最近想搭一个 iOS8.x 自动化的环境,appium desktop1.5.3+xcode7.3 是可以的是么?正在下载中,请前辈指教~

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