Hi there, I have a tricky question:
Can I add a dependency like the example below and use it’s code in the iOS App?
Copy code
sourceSets {
val commonMain by getting {
dependencies {
api ("com.myLib:feature:$myFeatureVersion")
}
}
val androidMain by getting {
dependencies {
api ("com.myLib:feature-android:$myFeatureVersion")
}
}
val iOSMain by getting {
dependencies {
api ("com.myLib:feature-ios:$myFeatureVersion")
}
}
}
> Following dependencies exported in the releaseFramework binary are not specified as API-dependencies of a corresponding source set:
com.myLib:feature-ios:$myFeatureVersion
Please add them in the API-dependencies and rerun the build.