@seveniruby 作者你好,有疑惑麻烦能百忙之中给予帮助,谢谢
我使用 iOS
命令输入如下:
$ bin/appcrawler -a KDemo.app/
错误信息如下:
2017-09-11 12:39:37 ERROR [IOSCrawler.setupAppium.44] error
2017-09-11 12:39:37 ERROR [IOSCrawler.setupAppium.45] An unknown server-side error occurred while processing the command. Original error: Xcode version [object Object] is not yet supported (WARNING: The server did not provide any stacktrace information)
我的 mac 系统是 10.12.6,xcode 版本 8.3.3
根据错误信息可以得出,xcode 的版本过高,不支持,查看了论坛的评论大致原因是苹果不在支持 uiatuomation,而是使用了 xctest,但具体如何解决没有给出官方的建议。
麻烦作者给予一定的支持,谢谢。
我想到的版本是不是设置配置文件,配置文件如下:
logLevel: "TRACE"
saveScreen: true
screenshotTimeout: 20
tagLimitMax: 3
currentDriver: "iOS"
maxTime: 10800
resultDir: ""
capability:
newCommandTimeout: 120
launchTimeout: 120000
platformVersion: ""
platformName: ""
autoWebview: "false"
autoLaunch: "true"
noReset: "false"
iosCapability:
deviceName: "iPhone 7 Plus"
bundleId: "com.netease.qa.KIFDemo"
screenshotWaitTimeout: "10"
platformVersion: "10.3"
autoAcceptAlerts: "true"
app: "/Users/jc/Documents/工程信息/MonkeyUITest/appcrawler-1.7.1/KDemo.app"
automationName: "XCUITest"
我将 automationName: "XCUITest"设置,但发现提示错误,无法识别 XCUITest:
错误信息如下:
A new session could not be created. Details: The desiredCapabilities object was not valid for the following reason(s): automationName XCUITest not part of Appium,Selendroid,WebDriverAgent. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 92 milliseconds
所以麻烦作者给出指导意见,谢谢