Invalid Device State – Xcode/iOS Simulator error
Force Quit xCode and restart will resolve problem.
Force Quit xCode and restart will resolve problem.
It turns out you also have to add the UDID of the Apple Watch to the Apple Developer Portal, and update your Development provisioning profile to include this UDID. The UDID can be obtained in Devices window of Xcode. After pairing, the info of the Apple Watch will automatically display below the info of your … Read more
This is what worked for me, and it is a lot easier and faster than un-pairing so I would try this first. From the Clock Face Swipe up, and click on the Ping iPhone button. After it makes a sound, go back in Xcode it should change no longer be unpaired or unavailable for development.
You have to be careful when changing the bundle identifiers, and here’s how they should be set (you need to change each identifier in the Info.plist for the iPhone app, for the Watchkit Extension and for the Watchkit App): iPhone Application Info.plist: Set any bundle identifier as you like (the “Bundle identifier” property). Example: Bundle … Read more
Select your project settings and go to “TARGETS”. Click on your Watch Kit App, select Build Settings. For the key “iOS Deployment Target” you should find “iOS 8.3”. For some reason Xcode 6.3 Beta 4 wants to have this on “iOS 8.2” for “Debug” and “Release”. Now your project should build as expected. This is … Read more
I had paired my watch with a new phone and run in to this problem. I removed all files in ~/Library/Developer/Xcode/watchOS DeviceSupport/ and it solved it!