https://kotlinlang.org logo
Title
l

Landry Norris

05/05/2022, 5:59 PM
I have a project set up following https://kotlinlang.org/docs/native-cocoapods.html#add-and-configure-kotlin-cocoapods-gradle-plugin that worked fine last week, but now when I build, the ‘shared’ framework in the cocoapods folder only has a header file named ‘placeholder.h’ with nothing useful in it. My app won’t compile anymore, since XCode can’t find any of the classes in my KMM library.
The contents of placeholder.h
// Autogenerated placeholder header. Do not edit manually.
k

kpgalligan

05/05/2022, 7:37 PM
There’s a “bug” related to that. You need to run
pod install
, try to build with Xcode (that’ll fail), then run
pod install
again
l

Landry Norris

05/05/2022, 8:00 PM
I’ll have to try that. Hopefully it’s fixed in a 1.6.30 or something.
k

kpgalligan

05/05/2022, 9:25 PM
It's been an issue for some time, so I don't know...