WatchKit app will run in simulator (but then won't.. read)

I am pretty much at my wits' end with this. There is a particular project for which I have always been able to set the bundle IDs and provisioning profile and run successfully on device. But not now. After a lot of scratching around, I could see that it does not run in the simulator either.

The weird part is -

  1. Run the WatchKit app scheme of the project in simulator, it runs.
  2. Delete the Core Simulator folder's contents from File System and copy the project to a new location.
  3. Run the WatchKit app scheme of the copied project in simulator, it does not run.

(Repeat steps 1 to 3, same result)


What on earth is the matter? What could be a probable place to look into?


PS - Once (only once) while running on device, I could see a message in the logs which said "invalid bundle no apple watch binary".

Only thing that has happened is that I dwnloaded and installed Xcode beta 4 before doing all this, but its not the Xcode beta that I am running the app in.

What do you mean by, "Delete the Core Simulator folder's contents from File System and copy the project to a new location."

If you messed with ~/Library/Developer/CoreSimulator contents, you shouldn't expect things to work. You probably deleted things from disk while daemons were unaware.

WatchKit app will run in simulator (but then won't.. read)
 
 
Q