Linker command failed using SPM #500
-
What happened?I'm trying to add MapLibre to my kmm project. It works on Android but failed for iOS. When runnig from xcode i get:
I'm using:
I also tried setting up spmForKmp like in your demo app with copyDependenciesToApp = true, exportToKotlin = true, but nothing works. my build.gradle file attached in Sample Code Affected Platforms
Platform VersionmacOS 15.5 Library Version0.9.1 Sample Codebuild.gradle.kts:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What's the reason to combine cocoapods and SMP in the same gradle build? Unsure if that's the issue but I haven't tested that sort of setup. Have you tried adding MapLibre using cocoapods? |
Beta Was this translation helpful? Give feedback.
-
That's a very good question :) |
Beta Was this translation helpful? Give feedback.
What's the reason to combine cocoapods and SMP in the same gradle build? Unsure if that's the issue but I haven't tested that sort of setup. Have you tried adding MapLibre using cocoapods?