watch-connectivity

Coordinate WCSession data sync between iPhone and Apple Watch apps.

1|Updated Aug 19, 2025
One-click install
npx skills add https://github.com/Maduixa/Glasstic --skill watch-connectivity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watch-connectivity
Source: https://github.com/Maduixa/Glasstic/tree/main/.claude/skills/watch-connectivity
Command: npx skills add https://github.com/Maduixa/Glasstic --skill watch-connectivity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating WatchConnectivity patterns for reliable cross-device synchronization between iPhone and Apple Watch, including complications and widget pointers.

Core Features & Use Cases

  • WCSession management: skeletons and patterns for iOS and watchOS session handling
  • Dual-target sync flows: robust messaging and data transfer between devices
  • Complications & widgets: pointers to update UI elements with cross-device data

Quick Start

Create a minimal pair of iPhone and Watch apps that establish WCSession, exchange a sample message, and render a complication update.

Frequently Asked Questions about watch-connectivity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync data between my iPhone and Apple Watch app using WCSession?

You sync data between iPhone and Apple Watch by implementing WCSession managers for both targets, establishing session connectivity, defining cross-device data schemas, and handling messaging and data transfer with robust failure management.

How does WatchConnectivity handle dual-target messaging between iOS and watchOS?

WatchConnectivity handles dual-target messaging by coordinating WCSession patterns across iOS and watchOS targets, encoding and decoding data schemas, and managing transfer flows to ensure reliable cross-device synchronization.

Can I update Apple Watch complications with data synced from an iPhone app?

Yes, you can update Apple Watch complications with iPhone data. This Skill provides pointers to update UI elements like complications and widgets using cross-device data transferred through managed WCSession flows.

What is the best way to structure cross-device data encoding for WatchConnectivity?

The best way to structure cross-device data encoding is to define explicit cross-device data schemas for your iOS and watchOS targets, then implement minimal tests for encoding and decoding to validate reliable data transfer.

Why does my WatchConnectivity session fail to sync data between iOS and watchOS targets?

WatchConnectivity session sync failures often stem from inadequate failure handling. This Skill addresses the problem by implementing robust WCSession management patterns and defining strict data encoding and decoding schemas for both targets.

Do I need a dual-target Xcode project to use WatchConnectivity for iPhone and Watch sync?

Yes, you need a dual-target setup. The Skill applies to watchOS and iOS app development scenarios, requiring paired iPhone and Watch apps to establish a WCSession, exchange messages, and render complication updates.