I have removed some of the devices from the provisioning profile from apple portal for adhoc distribution and downloaded and installed it in xcode 6. But upon archiving the
I only have this problem when archiving so I do not bother to investigate, unplug the iPhone and archiving works just fine.