RORK LABJP
BUILD — Rork Max runs real Macs in the cloud loaded with Xcode and the iOS SDK, writing SwiftUI, compiling, reading the errors and building again. That loop, not the code generation, is what lifts the outputNATIVE — What comes out is pure Swift and SwiftUI, not React Native. Reaching AR, Metal graphics and widgets that React Native cannot touch is the real gap between this and other buildersPLATFORMS — Coverage spans iPhone, iPad, Apple Watch, Apple TV and Vision Pro, plus iMessage. Worth a look if you want to start from a watch app or an extension rather than a phone screenCOMPANION — The Rork Companion app lets you check a generated build on a real iPhone without a paid Apple Developer account, lowering the bar for trying a first project end to endPRICING — Free to start, paid plans from $25 a month, and Rork Max on the $200 Max plan. Worth working out up front how many projects it takes to earn that backDEADLINE — From August 31, 2026, Google Play requires target API level 36 or higher for new apps and updates alike. Ten days out, and the targetSdkVersion of what you generate is yours to verifyBUILD — Rork Max runs real Macs in the cloud loaded with Xcode and the iOS SDK, writing SwiftUI, compiling, reading the errors and building again. That loop, not the code generation, is what lifts the outputNATIVE — What comes out is pure Swift and SwiftUI, not React Native. Reaching AR, Metal graphics and widgets that React Native cannot touch is the real gap between this and other buildersPLATFORMS — Coverage spans iPhone, iPad, Apple Watch, Apple TV and Vision Pro, plus iMessage. Worth a look if you want to start from a watch app or an extension rather than a phone screenCOMPANION — The Rork Companion app lets you check a generated build on a real iPhone without a paid Apple Developer account, lowering the bar for trying a first project end to endPRICING — Free to start, paid plans from $25 a month, and Rork Max on the $200 Max plan. Worth working out up front how many projects it takes to earn that backDEADLINE — From August 31, 2026, Google Play requires target API level 36 or higher for new apps and updates alike. Ten days out, and the targetSdkVersion of what you generate is yours to verify
Articles/App Dev
App Dev/2026-06-30Intermediate

Building a Native Bluetooth Pairing Sheet with AccessorySetupKit

iOS 18's AccessorySetupKit lets you pair a single, specific device through a system sheet without the broad Bluetooth permission prompt. Assuming the native Swift that Rork Max generates, here is the path from declaration to picker to connection, with working code.

AccessorySetupKitBluetoothiOS 185Rork Max233CoreBluetooth

Premium Article

Trying to connect a peripheral from my own app, the broad "App Name would like to use Bluetooth" dialog would pop up right at launch — and for a while I buried the connect feature deep in a settings screen just to avoid it. As an indie developer running utility apps on the App Store for years, I know a wide permission request in the first few seconds cools the whole experience down.

iOS 18's AccessorySetupKit changes that premise. Instead of asking for access to all of Bluetooth, your app lets the user pick just the target device inside a system-drawn sheet. Only the chosen device is authorized, and the broad permission dialog never appears. Assuming the native Swift Rork Max generates, we will walk from declaration to picker to connection. (This feature requires a native implementation; plain React Native cannot do it.)

Why you avoid asking for "everything"

Classic CoreBluetooth asks for Bluetooth permission the moment you start scanning — from the user's view, a broad "can this app see nearby devices?" grant. AccessorySetupKit inverts this: it narrows the unit of permission down to this one device.

The user picks the nearby target inside a system sheet. Your app receives the identifier of the chosen device and can connect to that device only. You never ask for a broad scan permission, so the first experience stays intact — which matters most when, like an indie developer, you are building trust from scratch.

The required declarations (Info.plist)

First declare "what kind of device you handle" in Info.plist. Miss this and the picker is silently empty.

<key>NSAccessorySetupKitSupports</key>
<array>
  <string>Bluetooth</string>
</array>
<key>NSAccessorySetupBluetoothServices</key>
<array>
  <!-- List every service UUID your device advertises -->
  <string>0000FE2C-0000-1000-8000-00805F9B34FB</string>
</array>

Even in a Rork Max project, add these two keys to the native Info.plist. List every service UUID the target advertises under NSAccessorySetupBluetoothServices; devices whose UUID is missing here never appear in the sheet.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
A system picker that surfaces only your specific device, built with ASAccessorySession and ASDiscoveryDescriptor (working Swift)
How to avoid the broad Bluetooth permission dialog and still connect via CoreBluetooth without a prompt afterward
Info.plist NSAccessorySetupKitSupports / service-UUID declarations and how to handle added / renamed / removed events
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

App Dev2026-07-05
Rork Max (Swift) or the Standard Version (React Native): How to Decide as a Solo Developer
Stuck between Rork Max's native Swift and the standard React Native version? Here is a practical decision framework built from a solo developer's perspective, weighing cost, feature boundaries, and how easy each path is to migrate later.
App Dev2026-07-03
Making Your Rork Max App Resilient to Dropped and Restored Connections: Offline Detection and Retry with NWPathMonitor
Build networking that survives a lost signal in your Rork Max native Swift app with NWPathMonitor. Detect offline states, respect Low Data Mode and cellular, and auto-resend queued work on reconnect — all with working Swift code.
App Dev2026-07-03
Adding Read-Aloud to a Rork Max App: AVSpeechSynthesizer Voice Selection and Live Word Highlighting
An implementation memo on adding read-aloud to a native Swift app generated by Rork Max — covering AVSpeechSynthesizer voice selection, highlighting the word being spoken, audio session design, and the pitfalls that bite specifically with Japanese text.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →