Xcode - How to reset/delete a mac os app that run from Xcode (analog to delete the app in the ios simulator)?

I run a Xcode project (designed for ipad) to M1 Mac and want to know how to delete the app like I did on an iPhone device so that next time I run the project on M1 Mac again will like a new install. (without any saved values in usersdefault)

I have the same question. Is there anyone who knows how to solve it ?

.,nhk

You can find where the app is very simply:

  • launch the app

  • right click on the icon in dock

  • select options > Show in Finder

  • you will see the app in a Xcode > DerivedData > TheAppWithSomeAddedChars > Build > Products > Debug Folder.

  • Remove TheAppWithSomeAddedChars folder

Have you find any solution for this? seems no solution... how is it possibile :(

You can read/write/delete the macOS user default values on the command line by using the "default" command, e.g.

$ defaults read ru.keepcoder.Telegram
{
    kIsMinimisizeType = 0;
    kSendingType = cmdEnter;
    kShowEmptyTips = 0;
    "window_saver_TGUIKit.Window" = {length = 356, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000108 };
}

So you can delete all the values for your app using your bundle identifier

Xcode - How to reset/delete a mac os app that run from Xcode (analog to delete the app in the ios simulator)?
 
 
Q