Host machine: macOS Mojave version: 10.14.6 (18G87)
node version: v12.8.1
npm version: 6.10.3
appium version: 1.14.1
Xcode version: 10.3
iOS Simulator: iPhone 6
Followed the steps mentioned here:
https://docs.katalon.com/katalon-studio/docs/mobile-on-macos.html#reference-installation-guide
Other info:
Appium version 1.14.1 webdriver agent project was missing withing appium-xcuitestdriver folder. Hence, initialize WebDriverAgent project from appium-webdriveragent directory. i.e. here:
/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
Test script included the following:
Mobile.startApplication(â/Users/yeaser.khan/Desktop/lylink-dev_v2.4/lylink-dev.ipaâ, false)
Mobile.delay(5)
Mobile.closeApplication()
Following is the EXECUTION LOG:
https://github.com/nyk5073/execution_logs/blob/master/ios_katalon_error_log
Please let me know if any further information is required to debug this issue. Your prompt response will be highly appreciated. Iâve been trying to find a workaround for the past 3~4 days now. I need the help very urgently. After doing some research on google I came up with those capabilities which I set on the project settings on Katalon Studio. Those informations can be found on the log above.
@duyluong - If you have some time do you mind taking a look into this one please? Your humble and prompt feedback will be highly appreciated!
cc: @vinhnguyencse04
Hi @Noor_Yeaser_Khan,
Please use appium 1.14.0 or 1.14.2.rc because 1.14.1 has a critical bug https://github.com/appium/appium/issues/13047
Thanks
2 Likes
Thank you @duyluong - Downgrading from Appium version 1.14.1 to 1.14.0 resolved the above mentioned issue. Thank you so very much!
1 Like
I have appium version 1.14.2. Still I am unable to launch app.
Hi @sejal.vala - Can you please mention which version of the following are you using:
Katalon version
npm version
node version
Host Machine OS
Physical device true or false
Xcode version
iOS version
Katalon version - 6.3.0
npm version - 6.4.1
node version - 10.15.3
Host Machine OS - MAC 10.14.6
Physical device true or false - simulator
Xcode version - 10.2
iOS version - 12.2
Hi @sejal.vala -
I have the exact same configuration (but with appium version 1.14.0) and I am able to launch any iOS app with valid bundle id or .app/.ipa file in a real iOS device.
Follow the steps provided here at first: https://docs.katalon.com/katalon-studio/docs/mobile-on-macos.html#iOS
Then verify that Katalon Studio can detect your real device from either Mobile Spy/Record option.
Then follow the steps provided here: https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html
Then verify that WebDriverAgent is built successfully. Xcode with give you the message for successful built.
Then follow the steps here to get the udid of your real device: How to find the UDID of iPhone XS, iPhone XS Max, and iPhone XR
Then run these commands on your terminal:
- cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
- xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination âid=<udid_of_device>â test
You will get the message test failed.
However, verify that WebDriverAgent is installed in your real device.
Since this will be the first time installing the WDA (WebDriverAgent) follow these steps to trust the WDA:
Settings => General => Device Management on the device to trust the developer and allow the WebDriverAgentRunner
app to be run
(Reference: http://appium.io/docs/en/drivers/ios-xcuitest-real-devices/)
Re-run the command:
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination âid=<udid_of_device>â test
This time verify the test has passed. The passed test can be verified if the following messages are seen in the terminal after running the above command:
Test Suite âAll testsâ started at 2017-01-23 15:49:12.585
Test Suite âWebDriverAgentRunner.xctestâ started at 2017-01-23 15:49:12.586
Test Suite âUITestingUITestsâ started at 2017-01-23 15:49:12.587
Test Case â-[UITestingUITests testRunner]â started.
t = 0.00s Start Test at 2017-01-23 15:49:12.588
t = 0.00s Set Up
Hit Cmd+C to exit the test.
Now you should be able to launch the application in Katalon using itâs Spy/Record. If not then please provide an error log for further investigation. @duyluong Please do let me know if Iâve missed any step.
Regards,
Noor Yeaser Khan
Thanks⌠I will try thisâŚ
I looked for this on various websites including youtube and solved it using to several steps you can take to troubleshoot and potentially fix the issue:
1. Restart the App:-
-Double-press the home button (or swipe up from the bottom of the screen on newer iPhones) to view the app switcher.
-Find the problematic app and swipe it up or off the screen to close it.
-Open the app again and see if the issue persists.
2. Restart Your iPhone:-
-Sometimes, a simple restart can resolve various software issues. Turn off your iPhone, wait a few seconds, and then turn it back on.
3. Check for App Updates:-
-Ensure that the app in question is up to date. Go to the App Store, tap on your profile picture, and check for updates.
4. Reinstall the App:-
-Delete the app from your iPhone by pressing and holding its icon until the apps start to wiggle, then tap the âXâ icon. Confirm the deletion.
-Go to the App Store, find the app, and reinstall it.
5. Check for Device Storage:-
-Ensure that your iPhone has enough available storage space. Go to Settings > General > [Device] Storage to check your available space.
6. Reset Settings:-
-If the issue persists, you can try resetting all settings on your iPhone. Go to Settings > General > Reset > Reset All Settings. Keep in mind that this will reset your settings, but it wonât delete your data.
Remember to back up your important data before performing any major troubleshooting steps, such as resetting settings or reinstalling apps. If the issue remains unresolved, itâs advisable to follow for more targeted assistance below.
https://www.youtube.com/watch?v=EczpmmfJL2E&ab_channel=TheGeekPage