Sorry to keep bugging you all, but I've hit anothe...
# touchlab-tools
b
Sorry to keep bugging you all, but I've hit another hurdle. Setting up my ios app with gitportal, I'm running into a proble. I setup the Other Linker Flags, per the ios setup blog post (see screenshot below) But when I build the app I get an error:
unknown argument: '-framework TwinspiresAdw'
In my umbrella module's gradle config, I have:
Copy code
targets
        .filterIsInstance<KotlinNativeTarget>()
        .forEach {
                it.binaries.framework {
                        baseName = "TwinspiresAdw"
                        export(project("....")
Not sure what I'm doing wrong here
I solved this problem. @kpgalligan Not sure if this is just me, or if the blog post needs an update .. I had to add the framework flag as two "entries", one with
-framework
and another with
TwinspiresAdw
, like this:
Another dev on my team who had implemented the tutorial with the demo repos had run into the same issue, and he set me straight.
k
Actually, the post needs an update because if you're on Kotlin 2.0+, you don't need the linker flags at all. The "bidirectional" post was written after the 2.0 update. Unidirectional before. My old quote, "nothing ages quite like a wiki" applies to blog posts too. https://touchlab.co/gitportal-bidirectional-ios
b
haha, or that too 😄
k
Yeah, so the answer is "remove it". Ironically, the iOS setup is simpler.