Skip to content

Fix Swift 6 / Apple Silicon build and IMK candidate panel#38

Open
ShahariarRabby wants to merge 1 commit into
torifat:swift-6-migrationfrom
ShahariarRabby:fix/swift6-build-and-imk-panel
Open

Fix Swift 6 / Apple Silicon build and IMK candidate panel#38
ShahariarRabby wants to merge 1 commit into
torifat:swift-6-migrationfrom
ShahariarRabby:fix/swift6-build-and-imk-panel

Conversation

@ShahariarRabby

@ShahariarRabby ShahariarRabby commented Jul 24, 2026

Copy link
Copy Markdown

Summary

  • Fix a missing brace in updateCandidatesPanel that broke compilation, and call the correct IMK panel helpers (imkCandidateFrame / imkSetCandidateFrameTopLeft).
  • Isolate app startup and awakeFromNib on the main actor for Swift 6 concurrency.
  • Add scripts/build.sh for arm64 CLI builds without full Xcode, and make SwiftUI previews / search state CLI-safe.

Test plan

  • ./scripts/build.sh --install on an Apple Silicon Mac
  • Build the Xcode target on swift-6-migration
  • Enable Avro in System Settings → Keyboard → Input Sources
  • Type phonetic Bangla and confirm candidates appear / commit correctly
  • Toggle custom vs IMK candidate panel in Preferences

Made with Cursor

Close the missing IMK else brace, call the correct panel APIs, and isolate startup/AppDelegate work on the main actor so the input method compiles and runs on Apple Silicon.

Co-authored-by: Cursor <cursoragent@cursor.com>
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