I’ve been unable to get Appium to launch on a real iOS device. I’m not sure if this is an issue with Fruitstrap or SafariLauncher and have been unable to remedy the issue.
I am able to launch simulators ios-webkit-debug-proxy is running on port 27753 Web Inspector is enabled
Open the SafariLauncher.xcodeproj downloaded from git in xcode and make sure you set your Build Settings correctly. This means setting the Code Signing Identity and Provisioning Profile to the one you just uploaded to xcode.
Find the following folder in the location where Appium is installed node_modules/appium/build/SafariLauncher and replace the safarilauncher.zip file with the one you created
now make sure you have the ios_webkit_debug_proxy installed and launched from the terminal with the following command ios_webkit_debug_proxy -d -c Your Device’s UDID:27753
Now you should be able to run your tests assuming you’ve set your capabilities and appium settings correctly.
i have successfully done all the steps but its failing,safari launcher launches safari browser and only apple.com site is opening all time instead of my specified URL.
It sounds like the launcher is working, but the driver is not taking you to where you want to go. Can you share your configuration? The driver capabilities etc…
I recently upgraded to Yosemite 10.10.4 and am now receiving a Fruitstrap error. This is probably going to take a bit of work to get running again. What os and version of appium are you using?
Since you’re running a newer version of iOS you may be able to go into the developer settings on the iPad and set UI Automation to enabled. settings > developer > UI Automation
I unfortunately don’t have that luxury on the device I’m using. If that doesn’t work, the error could be related to the version of safariLauncher that you’re using. I would check your appium run log.
I tried steps shared by you. Everything worked fine.
But in 8th step, when i run “ios_webkit_debug_proxy -d -c Your Device’s UDID:27753”. this command doesn’t accept device UDID as a parameter.
Is my command outdated.
Or is there any specific location from where this command has to be run. Please help.
I am using OS 10.10, appium 1.4.8 on iphone 6 with OS 8.1.3.