Closed junerockwell closed 6 years ago
Hi @junerockwell
I am looking at your issue now. Now you may think that the import path is wrong but actually the path <FirebaseAnalytics/FirebasAnalytics.h> is specifying:
FirebaseAnalytics framework
FirebaseAnalytics.h file within this framework
The FirebaseAnalytics framework is located in plugins/cordova-plugin-fcm/src/ios/Firebase/Analytics/FirebaseAnalytics.framework
Inside the framework itself are a number of headers:
I am unfortunately not able to replicate the issue on my machine. Try the following and if no luck, post back:
Can you see the frameworks correctly underneath the Analytics folder?
Which version of cordova ios are you using? I am using 4.5.0
Which version of git are you using to clone the source? I am using git version 2.13.5 (Apple Git-94)
@junerockwell In case that you use ios@4.5.x, you need to remove the cordova-plugin-console (may named differently, cant 100% remember), that plugin is already integrated.
May remove the plugin and remove and add the ios platform. With the newest version, you need to make sure, for Android, that you use android@6.2.x, the 6.3 version has issues. See changes in read me.
Close this for now
Please see screenshot below for the issue:![screen shot 2017-10-19 at 9 15 42 am__](https://user-images.githubusercontent.com/5051574/31782120-e80b3ab2-b4ae-11e7-9654-047dd6c60d90.png)
Since I couldn't install this specific
cordova-plugin-fcm
via Cordova CLI/NPM (see issue #20), I decided to download straight from GitHub. I copied over the files in to the Cordova project's plugins folder. Then I typedsudo cordova build ios
and I get this fatal error. Looking through the path in iOS, I do not see a folderFirebaseAnalytics
or aFirebaseAnalytics.h
file.So far, I have not tried Android.
Using: MacOSX 10.12.16 Node: v8.0.0 Npm: v5.0.0 Cordova: 7.0.1 Ionic CLI: 3.7.0 Ionic Framework: 1.3.3