Framework semantic default
Firebase Apple SDK TOTPSecret openInOTPApp MainActor Swift 6 actor isolation
Swift 6 compilation reports actor isolation/await errors off the main actor.
Agent Quick Fix
Repair against the current Firebase Apple SDK contract, then keep the change narrow and source-backed.
Product: Firebase Apple SDK
Current-contract area: TOTPSecret.openInOTPApp becomes @MainActor/async-sensitive
Likely root cause: Swift 6 compilation reports actor isolation/await errors off the main actor.
Repair direction: Verifier checks behavior across multiple requests/build modes, not merely compilation. Verify deployment metadata and end-to-end link/call behavior.
Symptom
Swift 6 compilation reports actor isolation/await errors off the main actor.
Why This Happens
Local code often type-checks under both old and new framework semantics; the failure depends on the installed framework version and current runtime defaults.
Common Wrong Fixes
- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.
Codex Search Keywords
These are the search terms observed in a neutral Codex validation run for this failure shape.
Firebase Apple SDK TOTPSecret openInOTPApp MainActor Swift 6 actor isolation
"openInOTPApp" "TOTPSecret" Firebase Swift
FirebaseAuth Swift TOTPSecret openInOTPApp