Skip to content

kotlin 2.2.20+ cross-compilation support for apple #848

Description

@Alex009

now we use xcode utils for bundle generation for ios. but starts from kotlin 2.2.20 we can compile library for iOS on windows and linux too (if no cinterop usage).
now compilation will be failed with error:

Execution failed for task ':shared:compileKotlinIosArm64'.
> java.io.FileNotFoundException: D:\a\moko-resources\moko-resources\samples\kotlin-2-tests\shared\build\classes\kotlin\iosArm64\main\klib\shared\default\resources\kotlin-2-tests:shared.bundle\Contents\Info.plist (The filename, directory name, or volume label syntax is incorrect)

we should support bundle generation on windows/linux OR limit compilation only on macOS (just like with cinterop)

Activity

  1. added theissue type on Oct 2, 2025
  2. added this to the 0.28.0 milestone on Sep 23, 2026
  3. self-assigned this
    on Sep 23, 2026
  4. linked a pull request that will close this issue#848 apple klib cross compilation #895on Sep 27, 2026
  5. added 2 commits that reference this issue on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions