Reputation: 2342
I am trying to upgrade to FirebaseCrashlytics
from Crashlytics
. I am able to import Firebase but not FirebaseCrashlytics. Here is my podfile:
platform :ios, :deployment_target => "9.0"
def shared_pods
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
pod 'SVProgressHUD'
pod 'IGHTMLQuery'
pod 'OpenTok', '~> 2.16.3'
end
target 'MyApp' do
#use_frameworks!
shared_pods
end
I cannot uncomment use_frameworks! since it breaks other pods I am already using.
My bridging header:
#import "FirebaseCrashlytics/FirebaseCrashlytics.h"
#import "FirebaseCore/FirebaseCore.h"
This is what I am getting:
Upvotes: 3
Views: 4212
Reputation: 119
Try running the commands below (Warning, save your documents before):
pod cache clean --all
cd ios
pod deintegrate
pod install
Upvotes: 0
Reputation: 1458
If you're using it as a Swift framework then make sure you add it to your target's Frameworks, Libraries, and Embedded Content
Upvotes: 3
Reputation: 67
According to the firebase docs then you just have to import Firebase, not FirebaseCrashlytics.
https://firebase.google.com/docs/crashlytics/get-started?platform=ios
Upvotes: 3