Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade to FirebaseCrashlytics and 'No such module FirebaseCrashlytics'

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:

enter image description here

like image 248
iBug Avatar asked Jan 30 '26 09:01

iBug


1 Answers

If you're using it as a Swift framework then make sure you add it to your target's Frameworks, Libraries, and Embedded Content

like image 122
garafajon Avatar answered Jan 31 '26 21:01

garafajon