Skip to content

feat(doctor): add native iOS diagnostics and Xcode checks - #455

Draft
seanperez29 wants to merge 38 commits into
sean/ios-native-reconciliationfrom
sean/ios-aware-doctor
Draft

feat(doctor): add native iOS diagnostics and Xcode checks#455
seanperez29 wants to merge 38 commits into
sean/ios-native-reconciliationfrom
sean/ios-aware-doctor

Conversation

@seanperez29

@seanperez29 seanperez29 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • make clerk doctor recognize native iOS projects and reuse the semantic Xcode, Swift, entitlements, runtime-key, and authentication-flow inspection introduced by the preceding stack
  • add GET-only diagnostics for Native API, exact Bundle ID registration, AuthView capabilities, and the Clerk Apple connection without exposing sensitive configuration
  • add explicit package-resolution, build, and simulator execution checks with validated containers, schemes, targets, isolated build state, signing disabled, and Clerk credentials removed from child processes
  • keep ordinary doctor and fix behavior read-only for iOS state, with remedies routing configuration changes back through clerk init
  • add a doctor-specific release changeset

Stack

Review scope

Review this as the doctor-only layer. It is one commit above #454.

Safety

  • plain clerk doctor never invokes Xcode or mutates local or remote iOS state
  • remote iOS and Apple checks are GET-only and redact sensitive configuration
  • package resolution, build, install, and launch require explicit flags and never guess among ambiguous containers, schemes, targets, or simulators

Testing

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • bun run test — 3,181 passing

@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1fcb5d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
clerk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 95bf9dc to 27e9377 Compare August 27, 2026 00:59
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch 2 times, most recently from 6e8a649 to 0b5e312 Compare August 27, 2026 02:47
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 0b5e312 to ffe4b4f Compare August 27, 2026 03:17
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch 2 times, most recently from db67dc9 to 5e77c0e Compare August 27, 2026 13:47
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 5e77c0e to 5b03281 Compare August 27, 2026 17:47
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 5b03281 to 192762c Compare August 27, 2026 18:22
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 192762c to 378a219 Compare August 27, 2026 19:37
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 6e4c3ca to 0c77533 Compare August 27, 2026 21:10
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from ee8ed15 to 26ad835 Compare August 27, 2026 22:56
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch 2 times, most recently from 4dd0aab to 739af90 Compare August 28, 2026 00:15
@seanperez29
seanperez29 force-pushed the sean/ios-aware-doctor branch from 739af90 to 79df0cf Compare August 28, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant