Hello,
I can’t run mobile record / mobile spy on the simulator or real device.
Operating System: macOS Monterey 12.1 (M1 apple silicon)
Katalon Studio Version: 8.2.0
Xcode version (for iOS): 13.2.1
Appium version: 1.22.2
Which appium: /opt/homebrew/bin/appium → whenever i try to install appium its always here
I try every step here:
- https://docs.katalon.com/katalon-studio/tutorials/mobile-ios-setup.html#part-4-install-the-webdriveragent
- https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html#setting-up-the-ios-device
and even i try to install dependencies from katalon itself (tools>ios> install dependecies)
when i try to install webdriver from katalon it shows an error
Failed to run the installation step: “Installing WebDriverAgent dependencies…”.
Cannot run program “/bin/sh” (in directory “/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent”): error=2, No such file or directory
i try to manually run command line on terminal to navigate to location of webdriveragent
cd /opt/homebrew/lib/node_modules/appium/node_modules/appium-webdriveragent
but when i want to run mobile recorded / mobile spy on real device it always shows error: Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. 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
xcodebuild error message:
. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘MacBook-Air-xxxx.local’, ip: ‘fxxxxx’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’
Driver info: driver.version: IOSDriver
When i try to run on the simulator it shows an error
java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the ‘/var/folders/1s/n399g3sn5d364mg3ytgfx46h0000gn/T/Katalon/Appium/Temp1642394756121/2022017-22928-1shtjhi.tloaj/xxxx.app’ application. Make sure the correct deployment target has been selected for its compilation in Xcode.
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘MacBook-Air-xxxx.local’, ip: ‘xxxx’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.16’, java.version: ‘1.8.0_275’
Driver info: driver.version: IOSDriver
when i try to run on the simulator, the simulator shows up but then i got an error
when i try to run on the real device, the apps successfully install on the device, but when trying to install webdriveragent it will disappear then i got an error.
can someone help me figure out where is the wrong?