Lost connection to debugger on Apple Watch during app launch.
- Unlock both iPhone and Apple Watch
- Keep iPhone near your Mac (within Bluetooth range)
- Make sure iPhone is connected to Mac via cable or WiFi sync
- In Xcode: Stop the current session (⌘.)
- Clean build folder (⌘⇧K)
- Rebuild and run again (⌘R)
# Restart iPhone's developer mode
# On iPhone: Settings → Privacy & Security → Developer Mode → Toggle off/on
# Or restart devices:
# 1. Restart Apple Watch
# 2. Restart iPhone
# 3. Try debugging againrm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/*
rm -rf ~/Library/Developer/Xcode/watchOS\ DeviceSupport/*- In Xcode: Window → Devices and Simulators
- Right-click on your Apple Watch → Unpair
- Reconnect and trust the device
- On Apple Watch: Settings → Privacy → Analytics & Improvements
- Ensure Developer Mode is enabled (if available)
Since your app uses network features:
- Ensure Watch and iPhone are on same WiFi network
- Check if Mac server (mac_server.py) is running and accessible
- Verify firewall settings aren't blocking connections
If debugging continues to fail, you can run the app without the debugger:
- In Xcode: Product → Scheme → Edit Scheme
- Select "Run" on left
- Under "Info" tab → Debug executable: Uncheck
- Run the app (it will launch but won't attach debugger)
- View logs in Console.app or Xcode's device logs
- The error message mentions "Fetching debug symbols" - this can take time on first launch
- watchOS 10.x+ requires symbols to be downloaded from device
- Be patient, sometimes it takes 2-3 minutes on first connection