hi there, I realized that Kotlin Multiplatform Wizard doesn't have cocoapods vs regular framework option. Android studio plugin provides cocoapods just for swiftUI (not for share UI) and I tried to install cocoapods for compose multiplatform but every time I failed to install cocoapods. Does compose multiplatform support cocoapods?
➕ 1
🙌 1
p
Pablichjenkov
01/17/2024, 2:43 AM
Yes it does.
I moved from cocoapods to SPM but as far as I recall it was possible to add both plugins(compose and cocoapods) in the same project.
What error are you getting? Did you run
pod install
successfully?
a
Abdullah
01/17/2024, 10:28 AM
yes I did. When I try to import FirebaseCore in swift it says cant find FirebaseCore but it is available in cocoapods.
p
Pablichjenkov
01/17/2024, 1:02 PM
Try to look for an open source project that uses cocoapods and firebase and just see how they do it.
I am not sure but when mixing SPM and Cocoapods it feels like linking fails, only get headers from cocoapods but not actual linked source. By "duplicate" import in Xcode it should work. I think its a bug but dont know.