swift-klib-plugin
swift-klib-plugin copied to clipboard
Gradle Plugin for injecting Swift code into Kotlin Multiplatform Mobile shared module
Hi, I can't sync my project after add your plugin: ` import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidApplication) alias(libs.plugins.jetbrainsCompose) //alias(libs.plugins.klibPlugin) id("io.github.ttypic.swiftklib") version "0.5.1" } kotlin { androidTarget { compilations.all { kotlinOptions...
When I open a project that uses this gradle plugin on my Linux machine, the project fails to sync with `Execution failed for task ':foo:swiftklibAttributesIosSimulatorArm64'`. I am using version 0.4.0....
Appears the incorrect build target is used. When attempting to import a iOS dependency such as: ```swift import UIKit ``` The following output occurs: ``` :0: warning: using sysroot for...
While having public code with some types from native frameworks other than foundation , I'm getting an error: `/iosArm64/swiftBuild/.build/arm64-apple-macosx/release/BleCommunication.build/BleCommunication-Swift.h:366:33: error: unknown type name 'CBManagerState'` The code which I have is...
## Issue Description I'm encountering an issue while building my Swift file `AudioRecorderImpl.swift`, which requires `AVFoundation`. The error message I'm getting is: ``` could not build Objective-C module 'AVFoundation' error:...
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...
Opening the PR to start discussion as possible option to enable adding locally defined package which can be worked on independently and have their own dependencies.
It will be nice to extract swift tools version to `swiftklib` extension config. For now it always hardcoded to 5.5
Hello, I am trying to create a Kotlin class based on the swift library `facebook-sdk-ios` to be able to use one of the native functions of the Facebook SDK. I...
I tried the steps for CryptoKit was working fine; but when I tried to use apis which made me import CryptoSwift it gave me error as ``` error: no such...