Skip to main content

Prerequisites

  • Xcode and CocoaPods
  • iOS deployment target 14.0+ in Podfile (required for AIR Kit)

Associated Domains

  1. Open ios/Runner.xcworkspace in Xcode.
  2. Select the Runner target → Signing & Capabilities.
  3. Add Associated Domains.
  4. Add the domains you use:
Optional for non-production testing:
Include only environments you actually use. Production and sandbox are the usual minimum.

App ID allowlisting

Provide Moca with your Apple Team ID and bundle identifier in the form TEAMID.com.example.app.

Podfile

Set the platform version:
Then:

Info.plist (optional)

If you need ATS exceptions for specific domains, configure them narrowly in Info.plist. Prefer default secure TLS where possible. Optional usage strings if you add camera / photo features:

Testing

  • Passkeys and full WebAuthn behavior require a physical device in many cases.
  • Build with flutter build ios and run from Xcode or flutter run.

Troubleshooting

See also Flutter troubleshooting.

Next steps

Reference