When installing appium (npm install -g appium
) it installs the WebDriverAgent folder, but is neglecting to add the Resources folder, containing the WebDriverAgent.bundle file. This is not letting me build the WebDriverAgent project in Xcode and I'm not sure how else to add it.
My process has been:
$ npm install -g appium
$ npm install -g appium-doctor
$ brew install libimobiledevice --HEAD
$ brew install ideviceinstaller
$ npm install -g ios-deploy
$ gem install xcpretty
$ cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/
$ brew install carthage
$ npm i -g webpack
$ ./Scripts/bootstrap.sh -d
However, during the first step of installing appium, I see that the Resources folder has not been added to the WebDriverAgent folder.
When I open the project in Xcode, I see the following:
I know I can add a new config file to remedy the missing ProjectSettings.xcconfig file, but am not sure how to get around the error:
error: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Resources/WebDriverAgent.bundle: No such file or directory
I've tried uninstalling and reinstalling appium a few times and it never seems to add the Resources folder.
The Resources folder is created when Appium is run.
If you really want to do things manually, it is just an empty directory. If you run mkdir -p /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Resources/WebDriverAgent.bundle
it ought to be fixed.
Thank you, I didn't realize it was only created when run.
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.
Most helpful comment
The Resources folder is created when Appium is run.
If you really want to do things manually, it is just an empty directory. If you run
mkdir -p /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Resources/WebDriverAgent.bundle
it ought to be fixed.