Dear friends,
When I run the code the App launches and starts crashing in IOS simulator.
MacOS Mojave v10.14.5
Appium v1.13.0
cap.setCapability(MobileCapabilityType. DEVICE_NAME , “iPad Demo 6th generation”);
cap.setCapability(MobileCapabilityType. PLATFORM_NAME , “iOS”);
cap.setCapability(MobileCapabilityType. PLATFORM_VERSION , “12.2”);
cap.setCapability(MobileCapabilityType. AUTOMATION_NAME , AutomationName. IOS_XCUI_TEST );
cap.setCapability(MobileCapabilityType. APP , “//Users//santoshkumar//Desktop//Ayush DEV 5.03.app”);
IOSDriver<IOSElement> driver = new IOSDriver<>( new URL(“http://127.0.0.1:4723/wd/hub”), cap);
Log:
[Appium] Welcome to
[XCUITest] Sending createSession command to WDA
[WD Proxy] Matched ‘/session’ to command name ‘createSession’
[WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“net.orbithc.ayush”,“arguments”:[],“environment”:{},“eventloopIdleDelaySec”:0,“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[WD Proxy] Got response with status 200: {“value”:“Failed to launch net.orbithc.ayush application”,“sessionId”:“0E74E6A9-0EF7-410D-A1CF-195E53093952”,“status”:13}
[WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
[WD Proxy] Got an unexpected response: {“value”:“Failed to launch net.orbithc.ayush application”,“sessionId”:“0E74E6A9-0EF7-410D-A1CF-195E53093952”,“status”:13}
[MJSONWP] Matched JSONWP error code 13 to UnknownError
[XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the command. Original error: Failed to launch net.orbithc.ayush application). Retrying…