FAQs under this topic:
38. Could not find a pair record for iOS device and how to troubleshoot?
39. Unable to create a new remote session with iOS real device and how to troubleshoot?
40. Failed to launch process with bundle identifier âcom.luis262.WebDriverAgentRunner.xctrunnerâ on IOS device and how to troubleshoot?
41. âUnable to start the application. Original error: socket hang upâ on IOS 15.5 and how to solve?
See also Weekly Katalon FAQs
38. Could not find a pair record for iOS device and how to troubleshoot?
If you encounter the situation of being unable to find a pair record for your real IOS device.
Please refer to the solution below:
Step 1: You are required to install WebDriverAgentRunner on your IOS device with the command:
cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=aae26f02b527948a92da47b5f116b5f51e2ef7a5 -allowProvisioningUpdates test
Step 2: Installing idevicepair (it comes bundled within libimobiledevice). Besides, it required you to brew install libimobiledevice
Step 3: Verifying that idevicepair is correctly installed and it sees your connected iPhone with: idevicepair list
Step 4: After everything is good you can pair your device with idevicepair --udid [here goes UDID of your iPhone] pair
39. Unable to create a new remote session with iOS real device and how to troubleshoot?
If you encounter the 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: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65
Please follow the solution:
- Remove the current WebDriverAgentRunner from your phone.
- On your iPhone, go to Settings > General > Device Management, trust your Apple ID.
- Run this command again to install the WebDriverAgentRunner:
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=your_device_id' test
If this step runs successfully should have messages as below:
40. Failed to launch process with bundle identifier âcom.luis262.WebDriverAgentRunner.xctrunnerâ on IOS device and how to troubleshoot?
If your test was failed to launch process with bundle identifier such as:
'com.luis262.WebDriverAgentRunner.xctrunner'. (Underlying Error: The operation couldnât be completed. Unable to launch com.luis262.WebDriverAgentRunner.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
Please follow this solution:
- Go to device, Settings > General > Device Management
- Trust the Apple Developement: abc@gmail.com
41. âUnable to start the application. Original error: socket hang upâ on IOS 15.5 and how to solve?
After updating to IOS 15.5 then trying to record with real mobile device, the following attached error display:
Unable to start the application. Original error: socket hang up
Please follow the below instruction to fix the issue:
- Update Appium version with the latest version 1.22.3 by command
npm install appium -g
- Recheck again to make sure the correct appium version installed by command