Command 'carthage bootstrap --platform iOS\,tvOS' exited with code 1
See original GitHub issueThe problem
Could not install WDA on simulator/real device, because carthage bootstrap command throw error
Environment
- Appium version (or git revision) that exhibits the issue: 1.14.0-beta.2
- Last Appium version that did not exhibit the issue (if applicable): 1.14.0-rc.1
- Desktop OS/version used to run Appium: macOS
- Node.js version (unless using Appium.app|exe): v11.9.0
- Npm or Yarn package manager: npm
- Mobile platform/version under test: iPhone X iOS 12.2 (Sim) and iPhone 6 iOS 11.0.1 (device)
- Real device or emulator/simulator: both
- Appium CLI or Appium.app|exe: CLI
Details
I haven’t dive in source code but I think that error maybe come from new appium-webdriveragent
repo
Link to Appium logs
https://gist.github.com/zcmgyu/51ad5cb03daa30f34b45ea8aebab82b6
Code To Reprodsuce Issue [ Good To Have ]
POST {{host}}/session
{
"desiredCapabilities": {
"platformName": "iOS",
"platformVersion": "12.2",
"deviceName": "iPhone X",
"app": "/Users/zcmgyu/Downloads/BaseReactNative_v3.2.app"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
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 · Install ...
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 >启动appium 失败,报错信息:Error: Unable to launch ...
... 报错信息:Error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS\,tvOS' exited with code 1.
Read more >appium/appium - Gitter
I am able to launch the mobile application in iOS 13 using "Appium 1.15.0-rc" and "Xcode 11.1" but I am unable to swipe-up...
Read more >install carthage, check carthage version terminal, carthage bootstrap ...
Just as Carthage helps install packages for Cocoa development, ... xcodebuild failure: Command 'carthage bootstrap --platform iOS,tvOS' exited with code 1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you guys.
I gotta reclaim write permission in node_modules directory again. Everything works as expected.
Allow root argument when install appium seems like not work at all.
Updated: (Oct 10 2019) Remove Appium from your computer and re-install to solve problem.
I had two versions of carthage installed that was causing this issue. One was with homebrew the other with npm. There was a global node_modules version and then also the one in the carthage app folder.
Hopefully that will help!