ribesg
02/26/2019, 11:13 AM> Task :linkReleaseFrameworkIos
ld: framework not found Bugsnag
louiscad
02/26/2019, 11:40 AMribesg
02/26/2019, 11:45 AMlouiscad
02/26/2019, 2:16 PMsvyatoslav.scherbina
02/27/2019, 7:28 AM-F
linker option in your Gradle build script or .def
file?ribesg
02/27/2019, 9:05 AMproject-version-cinterop-bugsnag.klib
in the maven repo
https://gist.github.com/Ribesg/8e84262953c2fd8c9fcfbd1f6e75bea6.def
file, it’s a patchwork of stuff I don’t really understand)svyatoslav.scherbina
02/27/2019, 9:45 AM-Xexport-library
feature is not supposed to be used for interop libraries.
Linker options in Gradle are applied to native binaries, so you should add -F
to projectB instead.ribesg
02/27/2019, 9:48 AM-F
? Do you mean that I need to redo the whole cinterop process for each project having ProjectA as a dependency?llvm-lto: error: Linking globals named 'ktype:framework.Bugsnag.BugsnagMetaDataDelegateProtocolMeta': symbol multiply defined!
. Of course I’m now trying to package the same thing multiple times if I redo the cinterop againsvyatoslav.scherbina
02/27/2019, 9:52 AMif I redo the cinterop againWhy are you trying to do this? Adding
"-F$carthageBuildDir"
to projectB’s binary linker opts is enough. Please refer to documentation.linkerOpts
here: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#gradle-pluginribesg
02/27/2019, 9:55 AMlouiscad
02/27/2019, 1:12 PMivan.savytskyi
02/27/2019, 6:02 PMribesg
02/28/2019, 8:43 AMlouiscad
02/28/2019, 11:15 AMribesg
02/28/2019, 11:29 AMlouiscad
02/28/2019, 11:35 AMribesg
02/28/2019, 11:38 AM.def
file, I need to find the time to experiment by removing some of the lines in there and see if everything continues to work. I guess I’m done for the other file for now. Feel free to ping me if you encounter any problem once you start working with that.