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

大呆呆 · March 27, 2018 · Last by 木头 replied at August 20, 2018 · 1464 hits

[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是可以的是么?正在下载中,请前辈指教~

Author only
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up