When I add the import for mParticle_appboy I get a "No such Module" error

96 Views Asked by At

I've created a new iOS project and I'm using cocoa pods to manage dependencies. When I try to us the dependency for mParticle_appboy I get the error "No such module 'mParticle_Appboy'. But I do can see that that dependency is in my pods.
enter image description here

This is what my pod file looks like, # Uncomment the next line to define a global platform for your project platform :ios, '13.0'

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


  # Pods for testbraze
  pod 'mParticle-Appboy', '~> 8.0'

  target 'testbrazeTests' do
    inherit! :search_paths
    # Pods for testing
end

   target 'testbrazeUITests' do
# Pods for testing
  end

end

I am opening the project using the .xcworspace file. I've tried pod reintegrate and pod install, as well as the Xcode option to clean the build. Any ideas what I have done wrong?

1

There are 1 best solutions below

3
On

You need to import mParticle_Apple_SDK as shown in the quickstart

Unless you have other dependencies that require Cocoapods, I would suggest that you use Swift Package Manager.