可以在windows上结合tidevice使用appcrawler测试ios吗?
windows环境:appium1.22 tidevice0.10.2 appcrawler2.7.4。
我这边尝试了一下,但是报错:
[Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[BaseDriver] Creating session with W3C capabilities: {
[BaseDriver] "alwaysMatch": {
[BaseDriver] "appium:appium": "http://127.0.0.1:4723/wd/hub",
[BaseDriver] "platformName": "ios",
[BaseDriver] "appium:app": "",
[BaseDriver] "appium:automationName": "XCUITest",
[BaseDriver] "appium:bundleId": "com.ft.ftchinese.mobile",
[BaseDriver] "appium:deviceName": "iPhone 8",
[BaseDriver] "appium:dontStopAppOnReset": "false",
[BaseDriver] "appium:fullReset": "false",
[BaseDriver] "appium:newCommandTimeout": 120,
[BaseDriver] "appium:noReset": true,
[BaseDriver] "appium:platformVersion": "16.4",
[BaseDriver] "appium:startIWDP": true,
[BaseDriver] "appium:udid": "3bf757645ca473392a6ab87117a686108a1a40f7",
[BaseDriver] "appium:webDriverAgentUrl": "http://localhost:8103"
[BaseDriver] },
[BaseDriver] "firstMatch": [
[BaseDriver] {}
[BaseDriver] ]
[BaseDriver] }
[BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[BaseDriver] appium
[BaseDriver] dontStopAppOnReset
[BaseDriver] Session created with session id: 588a03ce-8273-4282-a0a9-05542aca5325
[XCUITest] Current user: 'desktop-0cmlolj\hhz'
[XCUITest] Available devices: 3bf757645ca473392a6ab87117a686108a1a40f7
[XCUITest] Creating iDevice object with udid '3bf757645ca473392a6ab87117a686108a1a40f7'
[XCUITest] Determining device to run tests on: udid: '3bf757645ca473392a6ab87117a686108a1a40f7', real device: true
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1692103528605 (20:45:28 GMT+0800 (中国标准时间))
[BaseDriver] Event 'appConfigured' logged at 1692103528606 (20:45:28 GMT+0800 (中国标准时间))
[BaseDriver] Event 'resetStarted' logged at 1692103528606 (20:45:28 GMT+0800 (中国标准时间))
[XCUITest] Reset: fullReset not set. Leaving as is
[BaseDriver] Event 'resetComplete' logged at 1692103528606 (20:45:28 GMT+0800 (中国标准时间))
[WebDriverAgent] Using WDA path: 'C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-webdriveragent'
[WebDriverAgent] Using WDA agent: 'C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-webdriveragent\WebDriverAgent.xcodeproj'
[XCUITest] {}
[DevCon Factory] Releasing connections for 3bf757645ca473392a6ab87117a686108a1a40f7 device on any port number
[DevCon Factory] No cached connections have been found
[WebDriverAgent] Cannot retrieve WDA build settings. Original error: Command 'xcodebuild' not found. Is it installed?
[BaseDriver] Event 'newSessionStarted' logged at 1692103528613 (20:45:28 GMT+0800 (中国标准时间))
[W3C] Encountered internal error running command: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
[W3C] at validateString (internal/validators.js:112:11)
[W3C] at Object.resolve (path.js:139:9)
[W3C] at new IOSCrashLog (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-xcuitest-driver\lib\device-log\ios-crash-log.js:11:12)
[W3C] at XCUITestDriver.startLogCapture (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-xcuitest-driver\lib\commands\log.js:36:26)
[W3C] at startLogCapture (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:361:33)
[W3C] at XCUITestDriver.start (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:367:39)
[W3C] at XCUITestDriver.createSession (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-xcuitest-driver\lib\driver.js:215:7)
[W3C] at AppiumDriver.createSession (C:\Users\hhz\AppData\Local\Programs\Appium\resources\app\node_modules\appium\lib\appium.js:371:35)
[HTTP] <-- POST /wd/hub/session 500 76 ms - 749```