简体   繁体   中英

Intern on IOS - Unable to launch WebDriverAgent because of xcodebuild failure: not found: carthage

When I am running Intern Standalone staring appium and then Running Intern Script Script perfectly works

By when I Run same using java Program at that time it gives issue

UnknownError: [POST http://localhost:65505/wd/hub/session / {"desiredCapabilities":{"name":"DS/tests/intern.js","idle-timeout":60,"platformName":"iOS","deviceName":"iPhone 6","bundleId":"com.apple.mobilesafari","automationName":"XCUITest","Simulator":true}}] An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: not found: carthage at Server.createSession

Carthage is installed correctly Is there any access issue to it

Please please help

Problem with Carthage Folder, Check in below path /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent Carthage Folder If it is not there, Follow Below steps

Step-1 : For Appium 1.15.1 and above

  • Open below path in Terminal

$ cd /Applications/Appium.app/Contents/Resources/app/node_modules

$ sudo chmod -R 777. appium-webdriveragent/*

Step-2 : goto 1) $ cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent

2) sudo mkdir -p Resources/WebDriverAgent.bundle

3) sudo sh./Scripts/bootstrap.sh -d

Step-3 : Build WebDriverAgent Project with sign

Open below project in XCode /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM