Skip to content

Add HarmonyOS build support for Swift bindings - #36

Merged
lijy91 merged 1 commit into
mainfrom
codex/harmony-swift-clipboard
Nov 15, 2026
Merged

lijy91 merged 1 commit into
mainfrom
codex/harmony-swift-clipboard

Conversation

@lijy91

@lijy91 lijy91 commented Nov 15, 2026

Copy link
Copy Markdown
Member

HarmonyOS UIAbility hosts can now compile the NativeAPI Swift binding for ARM64 and link it against the existing OHOS core. The build script uses the Swift Static Linux SDK, and the CMake target uses the HarmonyOS NDK for the core.

Validation: ARM64 Swift cross-compilation passed. The Gallery integration previously verified a system clipboard round trip on the HarmonyOS PC emulator.

This is the first PR in the HarmonyOS clipboard integration sequence.

Cross-compile the NativeAPI Swift module with the ARM64 Static Linux SDK and expose the OHOS core through CMake for UIAbility hosts.
@lijy91
lijy91 merged commit 56ffb9f into main Nov 15, 2026
2 checks 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.

1 participant