IPhone – retrieve an Xcode project I installed on the iPhone

developmentiphonexcode

I recently executed a stupid "Discard All Changes" on my Xcode project that resulted in the project being deleted.

I haven't found a way to recover it yet, but I was wondering since I had installed the Xcode project on my iPhone for testing, if there is any way I can take the project from the phone, or if it simply doesn't work like that.

The app still runs on my phone.

Best Answer

It should appear in the trash folder on your Mac. To access it click the trash icon in the dock.

You should be able to recover it there if you didn’t empty the trash.