not able to see real ios device in the device list


#1

Hi,

I can see the device in xcode.I can see the device here as well. I am using 5.5 version

cd /Applications/Katalon\ Studio.app/Contents/Eclipse/configuration/resources/tools/imobiledevice

`idevice_id -l

I can see device when I run the cmd but not in device list`


#2

milind said:

Hi,

I can see the device in xcode.I can see the device here as well. I am using 5.5 version

cd /Applications/Katalon\ Studio.app/Contents/Eclipse/configuration/resources/tools/imobiledevice

`idevice_id -l

I can see device when I run the cmd but not in device list`

does anyone have experience in working with real ios devices with katalon


#3

milind said:

milind said:

Hi,

I can see the device in xcode.I can see the device here as well. I am using 5.5 version

cd /Applications/Katalon\ Studio.app/Contents/Eclipse/configuration/resources/tools/imobiledevice

`idevice_id -l

I can see device when I run the cmd but not in device list`

does anyone have experience in working with real ios devices with katalon

I am experiencing this too


#4

iam also not able to get the ios device in the list,so please help me


#5

I got this resolved by changing the mac … not sure what is the exact reason … but when I changed to work from mac laptop tp mac mini … it started identifying device. Frankly speaking not aware of the root cause yet


#6

Attempted to follow the “resolution” post here, but without more detail/further clarification it is hard to follow. Has anyone found a solution to this? If so, Please post with details on how to implement. Is this an XCODE issue, Katalon Issue, Appium configuration? I have seen numerous posts on this same topic and there is no one from either the community or Katalon posting any answers. Please help as I am dead in the water with IOS device testing at the moment.


#7

Hi @Chris Trevarthen maybe you can help us with what we encounter with Katalon, it does not display the real iOS device in device list.


#8

Hi Aaron,

This is a problem that a lot of people come across, and so far I don’t have a definitive solution. Here are a few things you can try:

First, make sure you follow the steps from the Katalon documentation for setting up the WebDriverAgent:

https://docs.katalon.com/katalon-studio/docs/installing-webdriveragent-for-ios-devices.html

Similar documentation from Appium about real device setup:

https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md

Verify/switch your Xcode’s tools directory:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Assuming your Xcode directory is at /Applications/Xcode.app

Reset the trust settings between your device and the computer

Here are a couple of articles about that. You can see if it works to get the trust prompt to show again (and hopefully your device recognized):

http://osxdaily.com/2014/03/24/trust-this-computer-alert-ios/

https://www.idownloadblog.com/2015/09/01/how-to-untrust-iphone-ipad/

Check if the device is recognized by command line tools outside of Xcode

These tools may be used by Appium and Katalon Studio to communicate with real devices.

idevice_id -l

If that does show your device (or if you don’t have idevice_id installed), then it could be that you don’t have permissions to run some of the other command line tools that Katalon (and Appium behind the scenes) require. You can reinstall those tools with:

brew uninstall ideviceinstaller
brew uninstall libimobiledevice
brew install --HEAD libimobiledevice
brew link --overwrite libimobiledevice
brew install --HEAD  ideviceinstaller
brew link --overwrite ideviceinstaller
sudo chmod -R 777 /var/db/lockdown/

Manually edit the iOS settings for the current project

As a workaround, you can edit the settings/internal/com.kms.katalon.core.mobile.ios.properties directly to bypass the Katalon menu and put in the UDID of your device. In my case, my iOS12 simulators are not shown in the Katalon dropdown, so I got the list of devices using the command line:

instruments -s devices

I then opened the settings/internal/com.kms.katalon.core.mobile.ios.properties under my test project (these are per-project settings) to include the deviceId for the iOS12 device I want to test. I think this should work for physical devices as well.

My file looks like this:

{"IOS_DRIVER":{"xcodeOrgId":"*******","updatedWDABundleId":"com.mycompany.WebDriverAgentRunner","showXcodeLog":false,"deviceId":"0C3F1694-ADB9-4010-AD3C-A0BE533746EE"}}

Save that file and restart Katalon Studio. When you run the test, it should run on the desired device.

Finally, uninstall everything or try another machine.

This solution is not ideal, but I have seen many people say that restoring their system from a backup or reinstalling Xcode, Appium, and Katalon Studio worked for them.

Hope this helps,

Chris


Real Device iOS not appear in device list
Will Katalon support Xcode 10 in the near future?
Katalon does not see the connected iphone 4s