I have upgraded to Studio 11.2.23. I am running code that worked on Studio 10.66. I am using an IOS physical device. When I use the Studio UI, it sees the phone w/o issue. I open my app on the phone and see the instrumentation (see the RED). I run the code and I get the following error log:
java.lang.AssertionError: session not created (failed to launch com.mobileheartbeat.mhcure.enterprise, because it is not installed on the device (reportUrl=/Users/wakelt/appiumstudio-reports/reports/test318)) (WARNING: The server did not provide any stacktrace information)
The bundle is clearly on the phone.
My code to create the driver:
DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability(MobileCapabilityType.UDID, âde26b951ae4075f8ee712fa73b22f65ba182c2d7â);
dc.setCapability(IOSMobileCapabilityType.BUNDLE_ID, iosBundleID);
dc.setCapability(IOSMobileCapabilityType.LAUNCH_TIMEOUT, 30000); //30 seconds
dc.setCapability(SeeTestCapabilityType.INSTRUMENT_APP, true);
IOSDriver iosDriver = new IOSDriver(new URL(appiumServerURL), dc);
This worked on 10.66. Is there something else I need to do given the 11.2.23 appium server ?
(which I installed in a new folder, keep the old version around just in case)
If I add install the app in non-instrumented mode, the app runs (but the test fails for obvious reasons).
What am I missing ?
thnx