https://kotlinlang.org logo
p

pardom

04/25/2019, 8:02 PM
I’m using the new cocoapods plugin to import two mpp projects to an iOS project. Both projects use and export some of the same Kotlin classes. I’m getting this error because of this:
Copy code
ld: 46 duplicate symbols for architecture x86_64
Anyone know how to avoid this?
k

Kris Wong

04/25/2019, 8:10 PM
split that out into a shared dependency
k

kpgalligan

04/25/2019, 8:24 PM
One native framework at a time total
p

pardom

04/25/2019, 8:24 PM
Could I export the dependency in
binary { framework { } }
?
k

kpgalligan

04/25/2019, 8:27 PM
Don’t know?
p

pardom

04/25/2019, 8:28 PM
Yep, that seems to work (so far).
Confirmed working.
6 Views