ttypic / swift-klib-plugin

Gradle Plugin for injecting Swift code into Kotlin Multiplatform Mobile shared module
MIT License
159 stars 8 forks source link

Cant't seem to build if the path of the KMM project has spaces #26

Open ahmadmssm opened 5 months ago

ahmadmssm commented 5 months ago

What went wrong: A problem was found with the configuration of task ':core:swiftklibNetworkUtilsImplIosArm64' (type 'CompileSwiftTask'). In plugin 'io.github.ttypic.swiftklib' type 'io.github.ttypic.swiftklib.gradle.task.CompileSwiftTask' property 'pathProperty' specifies directory 'xxxxx' which doesn't exist.

If the path of the KMM project has any folder with spaces, like ~/XYZ ABC/path the space of the path isn't skipped and it fails to build because can't read the folder containing the swift file..