How do I remove app from iOS 8 Simulator from command line?
I have an automation running in the iOS Simulator that I have to remove before another run. How do I remove the app from the iOS Simulator from the command line? For each simulator device directory (located at ~/Library/Developer/CoreSimulator/Devices/* ), I tried to delete ./data/Containers/Bundle/Application/ and ./data/Containers/Data/Application/ . Even when I tried to delete the app by long pressing the app in the Simulator (the app becomes jiggly) and click on the X button, the user defaults were not being cleared. I want the app state to be 100% clean. I found a good solution to solve