appium: Cannot launch WebDriverAgent : error - 'carthage bootstrap --platform iOS\,tvOS'
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
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 28 (3 by maintainers)
I am also facing the same issue. Any solution here?
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.
@mayusn I think I ran into your issue with carthage. Make sure you are running the latest Carthage version
0.4.0. You can confirm this by runningcarthage versionon your machine. If you are not on the latest version you will probably see a message like thisPlease update to the latest Carthage version: 0.34.0. You currently are on 0.33.0. You can update Carthage by running:brew upgrade carthageAfter upgrading Carthage then run
on your appium setup to test if it works. Hope this helps!
I am also facing same issue Appium Desktop: 1.18.0-2 Node.js:12.8.1 Electron: 7.2.4 xcode: 12.0 carthage:0.36.0
error: [MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command ‘carthage bootstrap --platform iOS,tvOS’ exited with code 1 [MJSONWP] at quitAndUninstall (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:532:15) [MJSONWP] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:562:11 [MJSONWP] at wrapped (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:35:13) [MJSONWP] at retry (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:18:13) [MJSONWP] at retryInterval (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/asyncbox/lib/asyncbox.js:45:10) [MJSONWP] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:542:7
No good idea for me. Probably your environment has different(?) issue I haven’t seen, unfortunately.