Unable to install WebDriverAgent for iOS devices

Hey everyone,

I am attempting to set up my WebDriverAgent for iOS by following this Katalon doc page: https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html

When I enter the following code into my terminal on my macOS:

cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d

, I get this error message: ‘no such file or directory’

Any ideas as to why I am unable to find the file or directory?


Cd /usr/local/lib/node_modules/Appium/node_modules/Appium-webdriveragent

With new Appium it is getting change so look for correct folder in your system.


U need to move this file in this directory by hands

No you need to change the directory to that folder then follow the steps it will work.

1 Like

Starting in Appium 1.15.0, the WebDriverAgent is located in:




Appium version:1.20.2
I enter the following code into terminal on macOS Big Sur:

cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
mkdir -p Resources/WebDriverAgent.bundle
sh ./Scripts/bootstrap.sh -d

get this error message:sh: ./Scripts/bootstrap.sh: No such file or directory
I checked /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent//Scripts/,there is no a file named bootstrap.sh
appreciate any help


Please type these commands in the terminal and share the output:

which appium
which node

which appium:/usr/local/bin/appium
which node:/usr/local/opt/node@10/bin/node

I downloaded cartfile、cartfile.resolved and /Script/bootstrap.sh from https://github.com/facebookarchive/WebDriverAgent,
sh ./Scripts/bootstrap.sh -d
it works

Hi , could you please describe a particular steps ?

I have open the bootstrap.sh script from https://github.com/facebookarchive/WebDriverAgent
and copy all of content and then I create a empty bootstrap.sh script in directory /Script/ and then paste the script into the bootstrap.sh and then run sh ./Scripts/bootstrap.sh -d but i get

: command not found.sh: line 10:
: invalid optionrap.sh: line 11: set: -
set: usage: set [–abefhkmnptuvxBCHP] [-o option] [arg …]

Could you please give me any advice?


In Appium 1.21.0, you don’t need to run sh ./Scripts/bootstrap.sh.

For more details, please follow our tutorial video: https://www.youtube.com/watch?v=LHfCob8SVCQ

1 Like

Did you find a solution? I have the same problem

the solution is to copy bootstrap.sh from git project to your local directory /Script/ but then I get a message *** No Cartfile.resolved found, updating dependencies", so do it also for Cartfile.resolved and Cartfile from WebDriverAgent and then run sh ./Scripts/bootstrap.sh.