Testing and Debugging Background Refresh.

Hello everyone.


I'm building an app that will download data from the network and update the complication timeline. Pretty standard stuff.


What I'm having troubles with is that I can't figure out a way to "force" the system to call the `handle()` method of my watch extension. I want to do this on the simulator. Is there any way I can force the simulator to call the handle() method of my app? Or how does one debug code that depends on background app refresh?

Replies

I'm not sure if I have answered my own question, but the simulator seems to automatically be sending the tasks to my app very periodically (must be sending it once every minute, if not less), so I have been able to work on my app with background refresh.

Try running the app on the sim alone, without being debugged live via an Xcode session.