Hey! I'm trying to include google's filament, a gr...
# ios
p
Hey! I'm trying to include google's filament, a graphics rendering c++ library, unto my KMP project just for the ios side of the app but I'm facing some issues. I don't really need the cinterop and I think that the interop does not work with c++, so I'm not using the cocoapods gradle plugin (tried that without success). I just want to include this lib in the iOS project and then build it from the gradle kmp command to then use it normally in my KMP workflow. I tried using cocoapods for this and created a simple Podfile by following the libs guide to install it in the iOS build. The problem is that, after the
pod install
command, when building from the gradle it is giving me this error:
ld: framework 'Pods_iosApp' not found
. On Xcode I can build it just fine tho 😞 Can someone help me here?
Here is the podfile:
Copy code
platform :ios, '11.0'

target 'iosApp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for iosApp
  pod 'Filament'

end
d
Have you considered commenting out the
use_frameworks!
line? You might be more successful with a static link.