Open holmio opened 4 years ago
Any update on this issue please?
Sorry - I haven't had a lot of time to look yet
This was an issue for me too with cordova-plugin-firebase-crashlytics
version 1.2.0.
I've just changed this line in FirebaseCrashlyticsPlugin.m
and now I can build again:
#import <Firebase/Firebase.h>
to this #import <FirebaseCore/FirebaseCore.h>
If I use #import <FirebaseCore/FirebaseCore.h>, new error appears, in the next line: Module 'FirebaseCrashlytics' not found
same for me fixed by adding what suggested by @tomspee .
What helped me was to install pod 'Firebase'
Hi All changing from #import <Firebase/Firebase.h> to this #import <FirebaseCore/FirebaseCore.h> is not reporting any bugs in crashlytics.
It looks like the old firebase Crashlytics API is being used, because when I look in the plugin.xml file I see that the old POD references are being used. I would suggest not to use this plugin for IOS devices, or you can try to upgrade it yourself: https://firebase.google.com/docs/crashlytics/upgrade-sdk
After following the @tomspee suggestion I got the following error:
Failed to install 'cordova-plugin-firebasex': CordovaError: Uh oh!
File already exists at destination "/Users/my_name/Documents/Projects/mobile-app/platforms/ios/APP_BUNDLE_NAME/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebasex in iOS platform
What helped me was to install
pod 'Firebase'
At app level in Podfile at the end be sure to have this
target 'App' do
capacitor_pods
pod 'Firebase'
pod 'Firebase/Analytics'
end
Expected Behavior
XCode should run all functionalities.
Actual Behavior
XCode can not find <Firebase/Firebase.h>
Steps to Reproduce the Problem
Install cordova-plugin-firebase-crashlytics
Specifications
Plugin version:
Framework:
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.0.0, ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 2.5.3, (and 30 other plugins)
Utility:
cordova-res : not installed native-run : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Users/mohammdeljamami/Library/Android/sdk) ios-deploy : 1.10.0 ios-sim : 8.0.2 NodeJS : v14.2.0 (/usr/local/Cellar/node/14.2.0/bin/node) npm : 6.14.4 OS : macOS Catalina Xcode : Xcode 11.6 Build version 11E708