Soren Roth
01/13/2025, 11:49 PMmbonnin
01/13/2025, 11:59 PMlib-c-sources.zip
artifact?Soren Roth
01/14/2025, 12:36 AMmbonnin
01/14/2025, 12:36 AMmbonnin
01/14/2025, 12:37 AMSoren Roth
01/14/2025, 12:48 AMmbonnin
01/14/2025, 8:01 AMDmitry Khalanskiy [JB]
01/14/2025, 8:02 AMWhat is the best practice to publish objective c or swift code within a KMP library? It is all internal code, but necessary to make the API work.Could you share why this Objective-C/Swift code can't be rewritten in Kotlin? Is this an internal requirement of your project or a limitation of KMP?
Matthew Feinberg
01/20/2025, 9:04 AMDmitry Khalanskiy [JB]
01/20/2025, 2:12 PMMatthew Feinberg
01/21/2025, 9:35 PM.def
file but were missing the -include-binary
argument. We will try it shortly.
Since this is due to be deprecated, is there a recommendation for a different approach? For example, should we build the native library as a separate artifact and reference it as a dependency from the KMP library? Will that work, and avoid apps that use our library from having to add both dependencies?
Ideally we really want users of our library to just add the single dependency in Gradle... But if there's a different way to do that than including a static library in the framework, that would be fine too.Matthew Feinberg
01/21/2025, 9:36 PMDmitry Khalanskiy [JB]
01/23/2025, 1:23 PMMatt Nelson
02/22/2025, 10:33 AMMatt Nelson
02/22/2025, 10:35 AMMatt Nelson
02/22/2025, 10:41 AMiOS
, this requires a framework to include because codesignatures must match that of the application. It can be delivered via gradle plugin if you wish.
E.g. https://github.com/05nelsonm/kmp-tor-resource/tree/master/library/resource-frameworks-gradle-plugin