question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot launch WebDriverAgent : error - 'carthage bootstrap --platform iOS\,tvOS'

See original GitHub issue

The problem

I cannot launch WebDriverAgent due to the following error shown in the Appium server log.

[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS\,tvOS' exited with code 1 [XCUITest] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/lib/driver.js:527:15)

Could anyone help me please?

Environment

Xcode Version 10.1 (10B61)

  • Appium version 1.15.1
  • Desktop OS/version used to run Appium: Mac
  • Mobile platform/version under test: IOS
  • Real device or emulator/simulator: simulator

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:28 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
RonitJoardarcommented, Sep 25, 2020

I am also facing the same issue. Any solution here?

3reactions
AlfredoBazoCrossvalecommented, Aug 19, 2020

I am using appium 1.18.0-beta.1 and none of the solution provided works for me. Any idea? I have tried doing carthage bootstrap --platform iOS,tvOS but it does not work.

*** Checking out YYCache at "1.1.0"
*** Checking out CocoaAsyncSocket at "72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc"
*** xcodebuild output can be found in /var/folders/yf/cmjdckl115qgcylj1krb19x40000gn/T/carthage-xcodebuild.phy5x2.log
*** Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj
Build Failed
	Task failed with exit code 1:
	/usr/bin/xcrun lipo -create /Users/alfredobazolopez/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8189h/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Intermediates.noindex/ArchiveIntermediates/iOS\ Framework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaAsyncSocket.framework/CocoaAsyncSocket /Users/alfredobazolopez/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8189h/CocoaAsyncSocket/72e0fa9e62d56e5bbb3f67e9cfd5aa85841735bc/Build/Products/Release-iphonesimulator/CocoaAsyncSocket.framework/CocoaAsyncSocket -output /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/Carthage/Build/iOS/CocoaAsyncSocket.framework/CocoaAsyncSocket

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/yf/cmjdckl115qgcylj1krb19x40000gn/T/carthage-xcodebuild.phy5x2.log
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to launch WebDriverAgent because of xcodebuild ...
The issue is Unable to launch WebDriveragent because of xcodebuild failure. Tried executing the Carthage bootstrap --platform iOS,tvOS' but ...
Read more >
Unable to launch WebDriverAgent because of xcodebuild ...
Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS\,tvOS' exited with code 1.
Read more >
Unable to launch WebDriverAgent because of xcodebuild ...
The above error is due to WebDriverAgent is not installed on your real device or simulator connected to run the appium tests. The...
Read more >
Xcode is unable to correctly run W…
Xcode is consistently failing to launch WebDriverAgent on an ipad 3 correctly causing it to launch several times and fail. Error: Xcode encountered...
Read more >
appium-xcuitest-driver
Appium driver for iOS using XCUITest for backend. ... WDA for 12.2, the module cannot run on iOS 11.4 because of loading some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found