Repository navigation
[codex] Align iOS dev auth with Mac dev builds - #5944
Closed
azooz2003-bit wants to merge 1 commit into
Closed
azooz2003-bit wants to merge 1 commit into
azooz2003-bit wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Nov 1, 2026
Closed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes iOS dev pairing account verification by aligning iOS DEBUG/dev auth with the Mac dev build auth realm:
CMUXAuthEnvironmentinto the iOS app Info.plist fromios/scripts/reload.shCMUX_DEV_AUTH_ORIGIN=local/CMUXAuthEnvironment=developmentWhy
The QR transport path can succeed while account verification fails if the Mac dev build is signed into production Stack auth but the iOS DEBUG build mints a token from the development Stack project. That produces the observed state: macOS reports the iPhone connected, then iOS shows "Couldn't verify your account." Both dev builds now default to the same auth realm.
Validation
bash -n ios/scripts/reload.shios/scripts/reload.sh --tag ios-close-workspace --device-onlybuilt and installed successfully withCMUX_AUTH_ENVIRONMENT=productionCMUXAuthEnvironment=productionGhosttyKit.xcframeworkartifact in/tmp, not by this patchNeed help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by cubic
Aligns iOS DEBUG/dev builds with the Mac dev build by defaulting to production Stack auth, with an opt-in local override. Fixes the “Couldn't verify your account” pairing failure caused by mismatched auth realms.
CMUX_DEV_AUTH_ORIGIN=localorCMUXAuthEnvironment=development.MobileAuthCompositionfrom Info.plist andLocalConfig.plist, ignoring empty/unexpanded values; added tests and madeCMUXAuthEnvironmentEquatable.CMUXAuthEnvironmentandApiBaseURLto Info.plist; setCMUX_AUTH_ENVIRONMENT=productioninShared.xcconfig;reload.shsetsCMUX_AUTH_ENVIRONMENTfromCMUX_DEV_AUTH_ORIGIN(auto/prod/local).Written for commit 654c4bc. Summary will update on new commits.