t.me/atinfo_chat Telegram группа по автоматизации тестирования

Appium. Прога устанавливается на симулятор, но не открывается инспектор

Теги: #<Tag:0x00007fd7675892b0> #<Tag:0x00007fd767589198> #<Tag:0x00007fd767589080> #<Tag:0x00007fd767588f40>

Привет
Первый день осваиваю Appium. Делаю по мануалу с ютуба.
Возникла проблема.
Имеем:

  • Big Sur
  • Xcode
  • Homebrew
  • App Version: 1.19.1
  • Electron: 7.2.4
  • Node.js: 12.8.1

Файл программы - *.app (подсказали что *.ipa не дружит с эмуляторами)

Далее привожу JSON Representation

{
  "app": "/Users/myuser/Downloads/car-audit.app",
  "deviceName": "iPhone 11 Pro Max (14.3)",
  "udid": "D316BD0B-927E-4404-9F27-096B2C34C857",
  "automationName": "XCUITest",
  "platformName": "iOS",
  "bundleId": "com.car.cara",
  "NewCommandTimeout": "3600",
  "useNewWDA": true
}

В итоге. После нажатия на Start session
Запускается симулятор девайса, устанавливается приложение и Appium сообщает в окне вот такую ошибку

An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: 2020-12-16 23:32:43.473 xcodebuild[21466:1494167] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 “The folder “WebDriverAgentRunner_iphonesimulator14.3-x86_64.xctestrun” doesn’t exist.” UserInfo={NSFilePath=/Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products/WebDriverAgentRunner_iphonesimulator14.3-x86_64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fbcb8866200 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}} ** TEST BUILD FAILED ** 2020-12-16 23:32:43.489 xcodebuild[21466:1494167] IDETestOperationsObserverDebug: Writing diagnostic log for test session to: /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.12.16_23-32-42-+0100.xcresult/Staging/2_Test/Diagnostics/WebDriverAgentRunner-D96DC066-AAB4-4167-88EC-888BB3EA92C3/WebDriverAgentRunner-90F8955D-3AD5-4D32-A89F-5EAFD33F6B9C/Session-WebDriverAgentRunner-2020-12-16_233243-ZPtRCZ.log 2020-12-16 23:32:43.490 xcodebuild[21466:1494110] [MT] IDETestOperationsObserverDebug: (1F3289B0-9CB1-49CF-A113-BA1E9F93FCBA) Beginning test session WebDriverAgentRunner-1F3289B0-9CB1-49CF-A113-BA1E9F93FCBA at 2020-12-16 23:32:43.490 with Xcode 12C33 on target <DVTiPhoneSimulator: 0x7fbcb85fca90> { SimDevice: iPhone 11 Pro Max (D316BD0B-927E-4404-9F27-096B2C34C857, iOS 14.3, Booted) } (14.3 (18C61)) 2020-12-16 23:32:43.496 xcodebuild[21466:1494110] [MT] IDETestOperationsObserverDebug: (1F3289B0-9CB1-49CF-A113-BA1E9F93FCBA) Finished requesting crash reports. Continuing with testing. *** If you believe this error represents a bug, please attach the result bundle at /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.12.16_23-32-42-+0100.xcresult 2020-12-16 23:32:45.695 xcodebuild[21466:1494110] [MT] IDETestOperationsObserverDebug: 2.213 elapsed – Testing started completed. 2020-12-16 23:32:45.695 xcodebuild[21466:1494110] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start 2020-12-16 23:32:45.695 xcodebuild[21466:1494110] [MT] IDETestOperationsObserverDebug: 2.213 sec, +2.213 sec – end Test session results, code coverage, and logs: /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.12.16_23-32-42-+0100.xcresult Testing failed: Building for iOS Simulator, but the linked and embedded framework ‘CocoaAsyncSocket.framework’ was built for iOS + iOS Simulator. Building for iOS Simulator, but the linked and embedded framework ‘YYCache.framework’ was built for iOS + iOS Simulator. Building for iOS Simulator, but the embedded framework ‘CocoaAsyncSocket.framework’ was built for iOS + iOS Simulator. Building for iOS Simulator, but the embedded framework ‘YYCache.framework’ was built for iOS + iOS Simulator. WebDriverAgentRunner:

Подскажите пожалуйста в чем может быть дело и куда копать/что фиксить ?

ipa это когда билдим на девайс
app когда на симулятор. Тут вам правильно подсказали.

Какая версия Апиума ? Какая версия XCode ?
Appium 1.7.2 работает только с XCode 9.2 - сам нарывался на такое когда-то.

1 Симпатия

Артур. спасибо за ответ
Оказалось что 1.19 опиум не дружит с BigSur