A Fix for Debugging on WatchOS2

I have found the solution to get debug working all the time.


1. Go To /Users/<username>/Library/Developer/Xcode/ folder

2. There should be 2 folders, "Watch OS DeviceSupport" and "WatchOS DeviceSupport"

Delete "WatchOS DeviceSupport"

3. Delete all older versions of xcode DeveloperPortal* files. Keep the DeveloperPortal 7.0.* files.

4. Open xCode

5. Delete derived data in Windows->Projects

6. Deploy and enjoy debugging 🙂

If this works, you are a genius! Do you know why this fixes it?

This is great! Thanks for sharing!

I keep getting "error: failed to attach to process" any ideas why?? 😟

Done so, and the app still spin forever when launched.


Or is this solving a different issue?

Worked for me. Finally.

Sorry I have not come across that issue

This resolves that issue.

This worked. I'm updating my Radar.

A Fix for Debugging on WatchOS2
 
 
Q