we’re using python opensdk with TestProject Agent v3.4.1
installing app on real iOS device works, but removing the app doesn’t…
after executing the tests we try to remove the app with
driver.remove_app(<bundle_id>)
but the app is not removed from the device…
appium logs:
2022-04-07 14:03:53.829 [HTTP] → POST /session/db1ac83e-006a-4ced-83e3-73ba134113f7/appium/device/remove_app
2022-04-07 14:03:53.829 [HTTP] {“appId”:"<bundle_id>",“sessionId”:“db1ac83e-006a-4ced-83e3-73ba134113f7”}
2022-04-07 14:03:53.831 [debug] [W3C (db1ac83e)] Calling AppiumDriver.removeApp() with args: ["<bundle_id>",null,“db1ac83e-006a-4ced-83e3-73ba134113f7”,null,“db1ac83e-006a-4ced-83e3-73ba134113f7”]
2022-04-07 14:03:53.832 [debug] [XCUITest] Executing command ‘removeApp’
2022-04-07 14:03:53.832 [XCUITest] Uninstalling the application with bundle identifier ‘<bundle_id>’ from the real device with UDID ‘00008030-000D0D5E3E91402E’
2022-04-07 14:03:53.832 [XCUITest] Cannot remove ‘<bundle_id>’. Original error: this.opts.device.removeApp is not a function
2022-04-07 14:03:53.832 [debug] [W3C (db1ac83e)] Responding to client with driver.removeApp() result: false
2022-04-07 14:03:53.832 [HTTP] ← POST /session/db1ac83e-006a-4ced-83e3-73ba134113f7/appium/device/remove_app 200 1 ms - 15
@krisko a work around for this is to use a different app ( i Personally use springboard (iOS launcher) then swipe to element of the app i want to uninstall, long press on it and click the delete options.
It’s not fast but obviously gets the job done
The link is about how to setup iOS device,
my question is, if you are using any development build (NOT App Store), you will have to manually trust the application in order to open the app ,if yes ,how are you handling it from automation . If you are running Prod app ,then pls ignore the ques.