https://kotlinlang.org logo
#ios
Title
# ios
o

o.semen

01/02/2019, 11:10 AM
so, I ended up with such
cinterops
section
Copy code
fromPreset(presets.iosX64, 'ios') {
            compilations.main.outputKinds('FRAMEWORK')
            compilations.main {
                cinterops {
                    firebase {
                        def pods = '${System.getProperty("user.home")}/Projects/kmpp/iosApp/Pods/'
                        includeDirs '${pods}Firebase/CoreOnly/Sources',
                                '${pods}FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers'
                    }
                }
            }
        }
but it does not link anything
c

coletz

01/03/2019, 9:38 AM
I'm interested in this. If you can get it working can you please share here your solution? Thanks!
o

o.semen

01/03/2019, 10:30 PM
I’ve asked the same question on SO https://stackoverflow.com/questions/54005467 I guess it is better place to track a question
BTW if you have some progress share as well
s

svyatoslav.scherbina

01/09/2019, 8:38 AM
What do you have in your
.def
file?
k

Kaden Wilkinson

01/14/2019, 3:08 AM
I also tried to do something similar awhile back with Auth0 Swift SDK but sadly had to give up because their SDK is pure swift and doesn't expose any APIs to Obj-C
I am interested in any progress in this area
o

o.semen

01/18/2019, 12:33 PM
Yes, I managed to do this. I described How I did this in SO question I mentioned above. Please ask there if you have any questions.
t

Thomas

03/22/2019, 5:15 PM
Hey, I'm running into some issues trying to include Firebase. Do you have any suggestions what I could do? https://kotlinlang.slack.com/archives/C3SGXARS6/p1553274261377300