Device(s) disconnect from iCloud during debugging

I'm using iCloud drive APIs in my application, but during testing one device will stop Interacting with iCloud. The only way to fix this seems to be to delete the apps soft reset all the devices and quit and restart Xcode. This happened during iOS 8 and 7 too (although I was only messing around with iCloud then so it wasn't too much of an issue. I'm currently using the Xcode 7 build with iOS 9 betas. All v1.


Does anyone has some experience of this issue and know if there are better/quicker workarounds? Currently I'm having to do this at least every ten minutes.


Thanks in advance

Device(s) disconnect from iCloud during debugging
 
 
Q