Есть отличная удаленная работа для php+codeception+jenkins+allure+docker спецов. 100% remote! Присоединиться к проекту

Appium Inspector IOS не запускается ошибка 253!

java
appium
ios
Теги: #<Tag:0x00007f7b65228b60> #<Tag:0x00007f7b65228a20> #<Tag:0x00007f7b652288e0>

(Krombeer) #1

warn: Applications directory /Users/maximTest/Library/Developer/CoreSimulator/Devices/58EE814E-EB35-4924-BFBE-AFFBC8FC01B5/data/Containers/Data/Application doesn’t exist. Have you run this simulator before?
warn: Applications directory /Users/maximTest/Library/Developer/CoreSimulator/Devices/58EE814E-EB35-4924-BFBE-AFFBC8FC01B5/data/Containers/Bundle/Application doesn’t exist. Have you run this simulator before?
info: Couldn’t find app directories to delete. Probably it’s not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set

info: [debug] Starting iOS 8.* simulator log capture

info: [debug] Not pre-launching simulator

info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments

info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (8.4 Simulator)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w “iPhone 6 (8.4 Simulator)” /var/folders/bx/85bk0x5x045f4tr8jwm49kcc0000gn/T/116113-411-1qzsp8i/Payload/MusicVK.app -e UIASCRIPT “/Users/maximTest/Library/Application Support/appium/bootstrap/bootstrap-4e580d338a12229a.js” -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {“DYLD_INSERT_LIBRARIES”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib",“LIB_PATH”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {“global”:90000}

info: [debug] [INST] Waiting for device to boot…

info: --> GET /wd/hub/status {}

info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“bea0d3a1-d9ed-482f-8fae-c6532a316a73”}
info: <-- GET /wd/hub/status 200 6.862 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“bea0d3a1-d9ed-482f-8fae-c6532a316a73”}

info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“bea0d3a1-d9ed-482f-8fae-c6532a316a73”}

info: <-- GET /wd/hub/status 200 3.607 ms - 178 {“status”:0,“value”:{“build”:{“version”:“1.4.8”,“revision”:“c8179bd8352d3c62d98fa58b324491230df9342a”},“isShuttingDown”:false},“sessionId”:“bea0d3a1-d9ed-482f-8fae-c6532a316a73”}

info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Failed looking up pid of launched process

info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments

info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1

info: [debug] Killall iOS Simulator

info: <-- POST /wd/hub/session - - ms - -

info: Launching instruments

Подскажите пожалуйста, Сервак стартует без проблем, нажимаю на кнопку Inspector выдает предупреждения и ошибку, Причем устройство запускается и сразу начинает логать (начинает запускать и закрывать приложение) Уже и переустанавливал xcode c appium Ошибка таже ((


(Ray Romanov) #2

Думаю, что тестируемое приложение должно быть собрано для запуска на симуляторе.
Тема про это уже была: