Skip to content

Fix Settings crash in packaged app#896

Merged
steipete merged 2 commits intosteipete:mainfrom
lederniermagicien:fix-settings-localization-bundle
May 11, 2026
Merged

Fix Settings crash in packaged app#896
steipete merged 2 commits intosteipete:mainfrom
lederniermagicien:fix-settings-localization-bundle

Conversation

@lederniermagicien
Copy link
Copy Markdown
Contributor

Summary

  • Fix packaged app localization lookup so Settings does not touch SwiftPM Bundle.module at runtime
  • Keep SwiftPM/test execution on Bundle.module, and use the packaged CodexBar_CodexBar.bundle only inside the app bundle

Validation

  • make check
  • swift test
  • CODEXBAR_SIGNING=adhoc ./Scripts/package_app.sh debug
  • Relaunched the freshly built app and opened Settings without a crash

Screenshots

N/A - crash fix, no visual UI changes.

Closes #891

@steipete steipete merged commit da89436 into steipete:main May 11, 2026
1 check passed
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.

v0.25: SIGTRAP crash opening Settings — assertionFailure in static NSBundle.module

2 participants