appium: xCode 8.2.1, iOS 10.12 (Sierra) not working with Appium 1.6.3
The problem
I’m getting a notable error when I try to use a physical device with Appium 1.6.3 on my iOS 10.12 Mac.
Environment
Appium version (or git revision) that exhibits the issue: 1.6.3 Desktop OS/version used to run Appium: mac OSx 10.12.1 Mobile platform/version under test: iOS 10.2 Real device or emulator/simulator:: Real Device Appium CLI or Appium.app|exe: 1.6.3 no UI
My Caps:
capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, "iOS");
capabilities.setCapability("automationName", "XCUITest");
capabilities.setCapability("newCommandTimeout", 9000);
capabilities.setCapability("xcodeConfigFile", "/usr/local/lib/node_modules/appium/"
+ "node_modules/appium-xcuitest-driver/WebDriverAgent/xcodeConfigFile.xcconfig");
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "iPad Pro");
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "10.2");
capabilities.setCapability(MobileCapabilityType.UDID, "faa0447802b5fbe83e06907fbfd2dd007e1dcece");`
Error
This is the main error I’m getting:
Encountered internal error running command: Error: Command '/bin/bash Scripts/bootstrap.sh -d' exited with code 1
Link to Appium logs
Here is a link to the full log which has the error I mentioned above near the bottom (just do a search for bootstrap). https://gist.github.com/WoodPlank/85d8421a2c93f46cda7d56acaac8765c
Trying to Fix
I’ve looked at previous posts and their fixes didn’t seem to work for me. When I try to run
$ bash Scripts/bootstrap.sh -d
Fetching dependencies
Error: Command "bootstrap" does not exist.`
I know I’m in the right location because
$ pwd
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
Any help would be greatly appreciated!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (5 by maintainers)
@WoodPlank if you do
which carthage
in a new terminal window, what does it say? Seems like your terminal still thinkscarthage
is a node module.