Hi I am receiving this error and I am running on device. and Developer option - UI Automation is enabled. I have verified that the app name does not contain spaces or non-alphanumeric characters.
Here are my details. Thanks in advance
am trying to do a simple launch application on a real device to no avail. My settings are as follows: iphone 6, iOS 8.0, Mac OSX 10.9.5, Xcode 6.1, Appium 1.3.1 (I have also tried running from the node appium 1.3.3 (same error)). Appium settings - I have tried running from 127.0.0.1/4723 and 0.0.0.0/4723. any assistance would be greatly appreciated. Have tried numerous troubleshooting tips from online…including clearing the Device console in Xcode…clearing cache using node command. adding permissions…
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on real device with UDID 3#####
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w 3########af3e com.abcd.mpbasic
-e UIASCRIPT “/Users/user/Library/Application Support/appium/bootstrap/bootstrap-9280a4dc9be20ec9.js”
-e UIARESULTSPATH /tmp/appium-instruments info: [debug] And extra without-delay env: {}
info: [debug] And launch timeouts (in ms): {“global”:90000}
info: [debug] [INSTSERVER] Instruments exited with code 253
info: [debug] Killall instruments
info: [debug] Instruments crashed on startup
info: [debug] Attempting to retry launching instruments, this is retry #1 info: [debug] Killall iOS Simulator
Eclipse code: DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("deviceName", "iPhone");
capabilities.setCapability("platformName", "ios");
capabilities.setCapability("udid", "3##########");
capabilities.setCapability("bundleId", "com.ssssss.mptest");
capabilities.setCapability("ipa", "/Users/user/Desktop/Mptest.ipa");
try
{
System.out.println("before app is launched");
driver = new RemoteWebDriver(new URL("http://0.0.0.0:4723/wd/hub"), capabilities);
System.out.println("connected1");
}
catch (MalformedURLException e)
{
e.printStackTrace();
System.out.println(e.getMessage());
}
Appium settings:
app path is set…and checked…bundleID is checked and set
Device settings: Tried with Force device checked and unchecked - iphone 6 platform version 8.0
UDID…checked and set…Tried with Full Reset checked and unchecked…
If I check full reset…then the app is deleted and then readded to the device successfully…just won’t launch. I also tried launching a different app…same error.
I have also verified provisioning and developer profiles exist on device.