I found a workaround to launch the Setting application.
Regarding workaround:
The way safarilauncher code uses URL to launch safari app, I used the following code to launch Setting app. I created one custom app and included the following code to launch Setting in build app.
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
[[UIApplication sharedApplication] openURL:url];
Using the workaround, I could launch the Setting app and automate the app using precise tap. I get all the ids,names and xpaths of Setting app but am unable to perform click or tap action. However, I could use precise tap to perform actions.
Example : I could perform following actions
1. Tap on General
2. Scroll down to Profiles
3. Tap on Profiles & Device Management
4. Tap on Profile XYZ
When Install pop up (as per the screenshot) is activated, I didn't find any way to locate the element. Therefore, I am unable to perform click,tap or precise tap action.
After reading the logs from Appium console, precise tap gets performed on the location(provided in the method) which is below this pop up. Can you please guide me on this?