Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to launch WebDriverAgent because of xcodebuild failure: "Carthage binary is not found."

Every time i try to start appium desktop with the iOS capabilities i am getting the following error:

Unable to launch WebDriverAgent because of xcodebuild failure: "Carthage binary is not found. Install using brew install carthage if it is not installed and make sure the root folder, where carthage binary is installed, is present in PATH environment variable.

Complete appium log can be found on the following link

Capabilities used for this are:

{
"platformName": "iOS",
"deviceName": "iPhone X",
"app": "path/to/my/App.app",
"platformVersion": "11.2",
"automationName": "XCUITest",
"xcodeOrgId": "myXcodeOrgId",
"bundleId": "bundleIdOfMyApp"
}

which carthage output is /usr/local/bin/carthage and the version of carthage is 0.28.0

XCode version is Version 9.2 (9C40b)

like image 441
timetraveler90 Avatar asked Dec 23 '22 09:12

timetraveler90


1 Answers

You need to first install Carthage on your machine by executing below command on your terminal

$ brew install carthage

For more details refer here.

like image 169
Wasiq Bhamla Avatar answered May 03 '23 11:05

Wasiq Bhamla