How to delete an app from iOS Xcode Simulator?
Just in case, we can delete apps by resetting contents and settings but an individual app could also be deleted from simulator in Xcode 7. This is not the case in Xcode 8. How can this be achieved? I have a forced touch trackpad, does it affect deleting the app from simulator?
I struggled with this too for a while until I figured it out. I'm surprised at how hard it is to find information about this...
As you mentioned, this is only an issue when using a trackpad that supports Force Click. @pingkai.tse's answer is a good one, but for me turning off "Use TrackPad Force" does not persist - I have to turn it off every time I restart the simulator.
The trick is to click without triggering a Force Click gesture. It's hard at first, but after some practice you'll get the hang of it. On the trackpad, click very lightly on the app and hold long enough to trigger the long press. While holding, if you see the text starting to blur you are applying too much pressure and are instead triggering a Force Click.
Open the Simulator.
Find the "Hardware" tab on the tool view.
Undo "Touch Pressure & Use TrackPad Force".
For iOS 11+ simulator you should long press the app icon :)
For iOS 13+ simulator you can long press the app icon. When "Rearrange apps" suggestion appears you can tap on it or continue holding the mouse button until its automatically applied
Before iOS 11: hold alt, then press the touch pad.
Step 1: On simulator, go to home screen with command + shift + H
Step 2: Click + hold on the app icon, release when an "x" button appears at the top left of the icon
Step 3: Click on the "x" button and choose Delete for any apps you want to delete
Step 4: When finished, press command + shift + H again to return the simulator to its normal state
With a Force Touch trackpad, just make sure you don't press it all the way down when clicking on the icon. Use a normal click.
1) Click on simulator
2) On the top click on Hardware and then click on Erase all content and settings