Appium проблема с запуском на MacOS. Благодарю

selenium
appium
Теги: #<Tag:0x00007f3d456eb570> #<Tag:0x00007f3d456eb1d8>

(Paul Gladoon) #1

Доброго времени суток, помогите пожалуйста запустить проект на MacOS. Appium выдает ошибку после клика на инспектор:

[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","newCommandTimeout":"7200","app":"/Users/paulgladoon/Desktop/Newtopia DEV 2017-04-17 15-01-24/Newtopia DEV.ipa","platformVersion":"8.1","udid":"fdadf1e4b99fce958247404050fab32fbd1d211f","deviceName":"iPhone 5s","automationName":"Appium"}}

[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","new...
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] platformName: 'iOS'
[Appium] newCommandTimeout: '7200'
[Appium] app: '/Users/paulgladoon/Desktop/Newtopia DEV 2017-04-17 15-01-24/Newtopia DEV.ipa'
[Appium] platformVersion: '8.1'
[Appium] udid: 'fdadf1e4b99fce958247404050fab32fbd1d211f'

[Appium] deviceName: 'iPhone 5s'
[Appium] automationName: 'Appium'
[Appium] showIOSLog: true

[BaseDriver] Capability 'newCommandTimeout' changed from string ('7200') to integer (7200). This may cause unexpected behavior
[BaseDriver] Session created with session id: 142baa0c-ae09-4436-8819-7d15af76d4bc
[debug] [iOS] Not auto-detecting udid.
[BaseDriver] Using local app '/Users/paulgladoon/Desktop/Newtopia DEV 2017-04-17 15-01-24/Newtopia DEV.ipa'
[debug] [BaseDriver] Copying local zip to tmp dir

[debug] [BaseDriver] Unzipping /var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/2017317-17366-1d6jk6m/appium-app.zip

[debug] [BaseDriver] Testing zip archive: /var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/2017317-17366-1d6jk6m/appium-app.zip

[BaseDriver] Unzipped local app to '/var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/2017317-17366-1d6jk6m/Payload/Newtopia DEV.app'

[debug] [iOS] Removing any remaining instruments sockets
[debug] [iOS] Cleaned up instruments socket /var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/instruments_sock
[debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory
[iOS] Could not file localizable strings file 'Localizable.strings'!
[debug] [ios-app-utils] Getting bundle ID from app

[iOS] Extracted bundleID: com.newtopia.dev from app: /var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/2017317-17366-1d6jk6m/Payload/Newtopia DEV.app

[debug] [iOS] Creating instruments
[debug] [UIAuto] Preparing bootstrap code
[debug] [UIAuto] Dynamic bootstrap dir: /Users/paulgladoon/Library/Application Support/appium/bootstrap
[debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...

[debug] [UIAuto] Dynamic bootstrap path: /Users/paulgladoon/Library/Application Support/appium/bootstrap/bootstrap-5cedfd183e3be2a0.js

[debug] [UIAuto] Reusing dynamic bootstrap: /Users/paulgladoon/Library/Application Support/appium/bootstrap/bootstrap-5cedfd183e3be2a0.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

[debug] [iOS] Creating iDevice object with udid fdadf1e4b99fce958247404050fab32fbd1d211f

[debug] [iOS] App is not installed. Will try to install.

[MJSONWP] Encountered internal error running command: Error: Installing /var/folders/bx/zq235y856w9_cmc3l5djtlnm0000gn/T/2017317-17366-1d6jk6m/Payload/Newtopia DEV.app failed
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/node-idevice/main.js:159:6
at ChildProcess.exithandler (child_process.js:193:7)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket. (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)

[HTTP] <-- POST /wd/hub/session 500 1062 ms - 250


(Ray Romanov) #2

Это устаревшая версия, рекомендую пользоваться https://github.com/appium/appium-desktop
(Тут собранные пакеты)


(Paul Gladoon) #3

Благодарю за ответ, качал тоже с офф сайта, почему скачало старую версию ХЗ