Full-reset uses deprecated ideviceinstaller command
See original GitHub issueThe 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:
- Created 7 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any update on when the fix will be integrated?
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.