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.

xCode 8.2.1, iOS 10.12 (Sierra) not working with Appium 1.6.3

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jlippscommented, Jan 17, 2017

@WoodPlank if you do which carthage in a new terminal window, what does it say? Seems like your terminal still thinks carthage is a node module.

0reactions
lock[bot]commented, Apr 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appium Master iOS10 (Xcode 8) Discussion - Support
Hi all, Since the release of Xcode 8 Im sure theres a few of us in the same boat, investigating the new webDriverAgent...
Read more >
Appium Master iOS10 (Xcode 8) Discussion - Support
Hi all, Since the release of Xcode 8 Im sure theres a few of us in the same boat, investigating the new webDriverAgent...
Read more >
Click and hideKeyboard not working on Appium 1.6.3, iOS 10.2
Using: macOS Sierra 10.12.1 iPad mini 3 (real device) with iOS 10.2 Xcode 8.2 Appium 1.6.3 ... Click and hideKeyboard not working on...
Read more >
Appium, xcode and Mac os version required for ios 10.3.x or ...
Currently I am having 1)xcode 8.2, Mac os 10.12.3 and appium 1.6.3 on one machine. 2)xcode 8.2.1, Mac os 10.11.x(EL captian) and appium...
Read more >
Cannot run test using XCUITest driver. Original error
I am also facing the same problem. I have the below component versions: Mac OSX: Mac Sierra (10.12.2) XCode: 8.2.1. Appium: 1.6.3 iOS...
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