question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Full-reset uses deprecated ideviceinstaller command

See original GitHub issue

The problem

Using the --full-reset flag uses an deprecated ideviceinstaller command

Environment

  • Appium version (or git revision) that exhibits the issue: 1.5.2
  • Last Appium version that did not exhibit the issue (if applicable): 1.4.13
  • Desktop OS/version used to run Appium: Mac 10.10.5
  • Node.js version (unless using Appium.app|exe): 5.0.0
  • Mobile platform/version under test: iOS
  • Real device or emulator/simulator: Real
  • Appium CLI or Appium.app|exe: Unknown

Details

N/A

Link to Appium logs

[iOS] Could not remove ‘com.test.test’ from device [MJSONWP] Encountered internal error running command: Error: Command failed: /bin/sh -c ideviceinstaller -u <UDID> -u com.test.test WARNING: Using “-u” for “–uninstall” is deprecated. Please use “-U” instead. ERROR: Uninstall failed. Got error “APIInternalError”.

at ChildProcess.exithandler (child_process.js:203:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)

Code To Reproduce Issue [ Good To Have ]

**Abridged somewhere
public class iOSTest
{
    private AppiumDriver ad = null;

    @BeforeTest
    public void setUp() {
        DesiredCapabilities capabilities = new DesiredCapabilities();

        File app = new File("/Path/To/Ipa.ipa");

        capabilities.setCapability("platformName", "iOS");
        capabilities.setCapability("platformVersion", "8.0.0");
        capabilities.setCapability("app", app.getAbsolutePath());
        capabilities.setCapability("deviceName", "device name");
        capabilities.setCapability("udid", "UDID");

        try{
            ad = new IOSDriver(new URL("http://127.0.0.1:4721/wd/hub"), capabilities);        
        }
        catch(Exception e){
            e.printStackTrace();
            System.exit(-1);
        }
    }

    @AfterClass
    public void tearDown()
    {
        ad.quit();
    }

    @org.testng.annotations.Test
    public void mainPageTest() {
        System.out.println("Test");
    }
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ksylvancommented, May 17, 2016

Any update on when the fix will be integrated?

0reactions
lock[bot]commented, Apr 29, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Want to restart IOS application in a single Appium session ...
–full-reset false [DEPRECATED] - (iOS) Delete the entire ... In case you want to re-install the application, you can use ideviceinstaller
Read more >
appium/appium - Gitter
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --log-no-colors --debug-log-spacing ...
Read more >
Appium - Not able to launch the inspector - Stack Overflow
iOS Automation on a real device is notoriously slow and problematic. For automation, you want solid and reliable. Use the iPhone Simulator.
Read more >
appium/CHANGELOG.md - UNPKG
34, * Support running tests using Android App Bundle ... 1018, - Remove long-deprecated `mobile: xxx` gesture commands, except scroll.
Read more >
Appium not running iOS test in terminal. - Google Groups
I've had fine success running my tests using the Appium OS X app, but unable to run when the server is launched from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found