
Accessorysetupkit
This handles the iOS 18+ AccessorySetupKit framework, which lets you discover and pair Bluetooth and Wi-Fi accessories without requesting broad Bluetooth permissions. Instead of the old permission dialog, you get a system picker that grants per-device access when users tap to connect. The skill covers discovery descriptors (matching by service UUID, name substring, or manufacturer data), presenting the picker with product images, and handling session events like accessoryAdded and accessoryChanged. It includes migration guidance from CoreBluetooth's permission-based scanning. Useful if you're building an app that connects to hardware accessories and want to avoid the privacy concerns of always-on Bluetooth scanning. After pairing, you still use CoreBluetooth or NetworkExtension for actual communication.
- skills.sh installs
- 3.2K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill accessorysetupkit --agent claude-codeInstalls into .claude/skills of the current project.
Files
AccessorySetupKit
Use the iOS 18+ system picker for privacy-preserving Bluetooth/Wi-Fi accessory discovery and authorization, then hand off communication to CoreBluetooth or NetworkExtension.
Contents
- Setup and Entitlements
- Discovery Descriptors
- Presenting the Picker
- Event Handling
- Bluetooth Accessories
- Wi-Fi Accessories
- Migration from CoreBluetooth
- Common Mistakes
- Review Checklist
- References
Setup and Entitlements
Info.plist Configuration
Add these keys to the app's Info.plist:
| Key | Type | Purpose |
|---|---|---|
NSAccessorySetupSupports | [String] | Required. Array containing Bluetooth and/or WiFi |
NSAccessorySetupBluetoothServices | [String] | Service UUIDs the app discovers (Bluetooth) |
NSAccessorySetupBluetoothNames | [String] | Bluetooth names or substrings to match |
NSAccessorySetupBluetoothCompanyIdentifiers | [String] | Two-byte Bluetooth company identifiers |
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Sales & Marketing, Mobile Development
- First seen
- May 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Callkit3.2K
- Cryptotokenkit3.2K
- Financekit3.2K
- Adattributionkit3.2K
- Paperkit3.2K
- Passkit3.2K
- Audioaccessorykit3.2K
- Dockkit3.2K
- Browserenginekit3.2K
- Appmigrationkit3.2K
- Relevancekit3.2K
- Sensorkit3.2K
- Swift Security3.2K
- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- Swiftlint2.9K
- Swift Formatstyle2.8K
- Core Data2.8K
- Focus Engine2.8K
- Ios Security1.1K
- Live Activities465
- Mapkit Location461
- Photos Camera Media456