#28 楼 @chenhengjie123 xcodebuild -workspace xxx.xcworkspace -scheme xxx -configuration Debug -sdk iphonesimulator9.3 用这个打包的,appium 上的模拟器也是自定义的 9.3,(appium 1.4.13,xcode7.3),Use Native Instruments Library 也勾选了
info: [debug] Waited for 8880ms so far
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info[3
9m: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
: [debug] Waited for 9987ms so far
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [IOS_SYSLOG_ROW ] Apr 28 10:13:59 MACdeMacBook-Pro-3 mstreamd[865]: (Note ) PS: Media stream daemon stopping.
info: [IOS_SYSLOG_ROW ] Apr 28 10:13:59 MACdeMacBook-Pro-3 mstreamd[865]: (Note ) AS: : Shared Streams daemon has shut down.
info: [IOS_SYSLOG_ROW ] Apr 28 10:13:59 MACdeMacBook-Pro-3 mstreamd[865]: (Warn ) mstreamd: mstreamd shutting down.
error: Could not pre-launch appium: Error: App did not have elements
#28 楼 @chenhengjie123 用 xcodebuild 打的 模拟器的 debug 包,曾成功过一次,后来又不行了。。。
@chenhengjie123 楼主 ,我的 launch 后报错,“error: Could not pre-launch appium: Error: App did not have elements” 请问什么原因呢