Skip to content

Replace CleanroomLogger example with native os.Logger - #762

Merged
NandanPrabhu merged 1 commit into
fix_github_actionsfrom
replace-cleanroom-logger
Aug 12, 2026
Merged

Replace CleanroomLogger example with native os.Logger#762
NandanPrabhu merged 1 commit into
fix_github_actionsfrom
replace-cleanroom-logger

Conversation

@NandanPrabhu

Copy link
Copy Markdown
Contributor

Summary

  • CleanroomLogger was dropped as a dependency a while back, leaving the example app's loggerOutput implementation and the Lock event callbacks in showLock entirely commented out — meaning lock.present(from:) was never even called.
  • Renames CleanroomLockLogger to OSLockLogger, backed by Apple's native os.Logger, and restores the onAuth/onError/onSignUp/onCancel/onPasswordless logging through the same native API.
  • Drops the now-orphaned CleanroomLogger.xcframework reference from the Xcode project (it wasn't linked into any build phase).
  • Updates the logging section of EXAMPLES.md to match.

Test plan

  • Typechecked the new os.Logger/showLock code against stub types mirroring Lock's real public API (Lock, LoggerOutput, LoggerLevel, Credentials) via swiftc -typecheck.
  • swiftlint lint App/ViewController.swift exits 0 (only pre-existing, unrelated warnings).
  • plutil -lint Lock.xcodeproj/project.pbxproj passes.

  CleanroomLogger was dropped as a dependency, leaving the example app's
  loggerOutput implementation and the Lock event callbacks in showLock
  entirely commented out (so lock.present(from:) was never even called).
  Rename CleanroomLockLogger to OSLockLogger, back it with os.Logger, and
  restore the onAuth/onError/onSignUp/onCancel/onPasswordless logging
  through the same native API. Also drops the now-orphaned
  CleanroomLogger.xcframework reference from the Xcode project and
  updates the logging section of EXAMPLES.md to match.
@NandanPrabhu
NandanPrabhu merged commit 5ee0262 into fix_github_actions Aug 12, 2026
4 checks passed
@NandanPrabhu
NandanPrabhu deleted the replace-cleanroom-logger branch August 12, 2026 12:21
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.

2 participants