Hello, I am trying to set up a recording of a test on an ios device (iPhone SE, iOS 16). I followed the instructions here:
The installation via tools>ios did not work for me, Installation of WebDriverAgent throws:
The following build commands failed:
Ld /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/build/Release-iphoneos/WebDriverAgentLib.framework/WebDriverAgentLib normal (in target ‘WebDriverAgentLib’ from project ‘WebDriverAgent’)
Failed to run the installation step: “Building WebDriverAgentLib…”.
Command: “xcodebuild build -target WebDriverAgentLib -destination generic/platform=iOS DEVELOPMENT_TEAM=”********“”
So I tried the manual installation. The manual states:
For Appium version 1.14.2 or older, copy the following command instead:
I am on appium version 1.22.3, but the webdriveragent folder is not to be found in appium-xcuitest-driver folder, it is in fact in cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent folder. So I ran the command mkdir -p Resources/WebDriverAgent.bundle in the appium-webdriveragent folder. Next, if I run sh ./Scripts/bootstrap.sh -d , then I get “No such file or directory” I see that there is no bootstrap.sh file there. The only .sh file there is build.sh.
Anyways I followed the whole manual despite this problem, now If I try to launch the recording tool, with my device and .ipa file set, I get this error:
Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
Googling a troubleshooting this error sent me to a thread where someone had a solution, to rename the “Product Bundle Identifier” to a custom name. I did that with all the targets in xcode and re-built, but the error still persist.
Does anyone have some idea about what I could try to eliminate the error? Tips would be much appreciated.
I’m using mac with M1 chip, Venture OS. Katalon version 8.5.1. Appium version 1.22.3 as previously mentioned.