0

I deleted my old Xcode project (and delete it from the trash) and started a new one with the same name as the old one but when I open the app in the simulator, it is the exact same app as from the old deleted Xcode project. I deleted the app from the simulator and ran the one from the new Xcode project but it is still the same app as from the old Xcode project.

There are no errors and I even reset the simulator.

rmaddy
  • 298,130
  • 40
  • 468
  • 517
PHP Web Dev 101
  • 515
  • 1
  • 7
  • 20

2 Answers2

1

In Xcode, press Command+K to clean your project folder. Then run the simulator again.

Quentin Hayot
  • 7,300
  • 6
  • 43
  • 55
0

There are few steps that you can follow when you face such scenarios::

  • Clean your project
  • Delete the derived data
  • reset the simulator
  • restart the system. :P :P

I know it may sound weird, but Xcode can be weird sometimes.

Vikas Dadheech
  • 1,562
  • 8
  • 23