Skip to content

kotlin 2.2.20+ cross-compilation support for appleΒ #848

@Alex009

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions