ModaKolla
ModaKolla

Reputation: 137

Appium couldn't install the app to real device

I have updated appium recently, since then I can't get it to work.

When trying to open the inspector session, it only opens the simulator and the inspector window keeps on loading.

DesiredCapabilities:

DesiredCapabilities des = new DesiredCapabilities();
    des.setCapability(MobileCapabilityType.DEVICE_NAME, "iPhone XS Max");
    des.setCapability(CapabilityType.PLATFORM_NAME, "IOS");
    des.setCapability("noReset", true);
    des.setCapability("fullReset", false);
    des.setCapability(MobileCapabilityType.UDID, "00008020-001D650021D8002E");
    des.setCapability(MobileCapabilityType.AUTOMATION_NAME, AutomationName.IOS_XCUI_TEST);
    des.setCapability(MobileCapabilityType.PLATFORM_VERSION, "13.0");
    des.setCapability(MobileCapabilityType.APP, "/Users/isururodrigo/Library/Developer/Xcode/DerivedData"
            + "/VisitSingapore-aheghxbadxxzuzardfddwixazzfm/Build/Products/Debug-Staging-iphoneos/VS-Staging.app");
    try {
        driver = new IOSDriver<IOSElement>(new URL("http://127.0.0.1:4723/wd/hub"), des);
    } catch (MalformedURLException e) {
        e.printStackTrace();
        System.out.println(e.getMessage());
    }
    driver.setLogLevel(Level.INFO);

Appium v1.15.0-1

Node v10.16.3

xcode v11.1

iOS v13.1.2

Upvotes: 1

Views: 1020

Answers (1)

ModaKolla
ModaKolla

Reputation: 137

I managed to solve this issue by updating the v1.15.1, if anyone of you facing this issue update to the latest which is available in this link.

New pre-release is out for v1.15.1: https://github.com/appium/appium-desktop/releases/tag/v1.15.1

Upvotes: 1

Related Questions