Error : The service is invalid

Xcode and the GDB connection is quite temperamental. The device and your Mac can become unsynchronised with each other. My checklist for this sort of thing:

  1. Restart Xcode.
  2. Delete the .app from your iOS device, do a Clean then Rebuild.
  3. Disconnect, reconnect device.
  4. Restart iOS device (90% of the time it fixes things)
  5. If all else fails, restart your Mac (unlikely but it did fix an issue once for me).

Leave a Comment