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

Landry Norris

05/30/2022, 4:10 PM
[Solved] In the past few days, I’ve noticed that when I build an iOS binary, I’m getting a failure at linkDebugFrameworkIosArm64. More details in 🧵
I’m seeing the following error message
Following dependencies exported in the debugFramework binary are not specified as API-dependencies of a corresponding source set:
Project :analyzer-result
Please add them in the API-dependencies and rerun the build.
In the framework block configuring iOSArm64 and iosX64, I have
Copy code
export(project(":analyzer-result"))
In my commonMain, I have
Copy code
api(project(":analyzer-result"))
and just to be safe, I added it to iosMain dependencies as well.
From my understanding, this should fix the problem, but it doesn’t appear to.
It turns out I’d left
transitiveExport = true
uncommented 🤦 . Everything’s working now.
72 Views