Skip to content

Add macosArm64 target and migrate iosMain to appleMain#734

Open
solcott wants to merge 1 commit into
MobileNativeFoundation:mainfrom
solcott:feature/macosArm64
Open

Add macosArm64 target and migrate iosMain to appleMain#734
solcott wants to merge 1 commit into
MobileNativeFoundation:mainfrom
solcott:feature/macosArm64

Conversation

@solcott
Copy link
Copy Markdown
Contributor

@solcott solcott commented May 20, 2026

  • Add macosArm64() to the Kotlin Multiplatform targets in KotlinMultiplatformConventionPlugin
  • Move Clock.ios.kt from the iosMain directory to appleMain to support the broader Apple platform ecosystem

Closes #733

Description

Adds macosArm64 as a supported KMP target, enabling Store to be used in Compose Multiplatform desktop apps and shared libraries that target macOS. The Clock.ios.kt source file is moved from iosMain to appleMain so the implementation is shared across all Apple targets rather than duplicated.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Test Plan

Verified the macosArm64 target compiles successfully and existing tests pass locally.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my change is effective
  • New and existing unit tests pass locally with my changes

* Add `macosArm64()` to the Kotlin Multiplatform targets in `KotlinMultiplatformConventionPlugin`
* Move `Clock.ios.kt` from the `iosMain` directory to `appleMain` to support the broader Apple platform ecosystem

Signed-off-by: scottolcott <scottolcott@gmail.com>
@solcott solcott force-pushed the feature/macosArm64 branch from 9f8dd32 to 532fe01 Compare May 20, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 Triage

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support MacOS targets

1 participant