Author Topic: When all else fails, reset the iOS Simulator and clean your project!  (Read 6563 times)

kjmcneish

  • Administrator
  • *****
  • Posts: 719
    • View Profile
At times, the code in your project and the the corresponding app in the Simulator get out of sync, so that changes you make in your project no longer update the app running in the Simulator. To fix this problem:

First, try cleaning your project:

  • With your project open in Xcode, select Product > Clean from the menu.
  • Click the Run button to run your project again.

If this doesn't work, you can try removing your app from the Simulator:

  • In the Simulator menu, select Hardware > Home.
  • Click and hold your mouse on the app’s icon until all the icons begin to shake.
  • Click the X in the upper left corner of the icon to delete it from the Simulator.

All the best!
Kevin McNeish
Author of Learn to Code in Swift: https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11
Check out our Robot Tic-Tac-Toe app: https://itunes.apple.com/us/app/robot-tic-tac-toe/id990638517?mt=8
« Last Edit: November 15, 2015, 10:23:18 AM by kjmcneish »

Mike

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: When all else fails, reset the iOS Simulator and clean your project!
« Reply #1 on: July 06, 2015, 08:00:37 PM »
Kevin,
    The Product Clean did the trick.  Many Thanks!!  I'm on my way!