Hey, I'm trying to add a CocoaPods dependency to a...
# multiplatform
j
Hey, I'm trying to add a CocoaPods dependency to an iOS app within a KMM project (not to the "shared" KMM CocoaPod itself) but I keep running into the error:
ld: framework not found (pod name)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know how I can resolve this issue? I tried using the following steps to reproduce the problem, but the project ended up building successfully: Create a new KMM application in Android Studio entitled ErrorExample, with all other parameters set to their default values. Allow the Gradle project to sync. Navigate to ErrorExample/iosApp and add the following lines to the 'iosApp' target in Podfile:
pod 'MatrixSDK'
pod 'web3swift', :git => '<https://github.com/jimmyneutront/web3swift.git>'
Run pod install Run open iosApp.xcworkspace Attempt to run the app. Expected and actual behavior: The app builds and launches in the iOS simulator. Any suggestions about what I can do to get the same results in my other, non-working project?