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.
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?
You need to
import mParticle_Apple_SDK
as shown in the quickstartUnless you have other dependencies that require Cocoapods, I would suggest that you use Swift Package Manager.