capacitor-community / firebase-analytics

Enable Firebase Analytics for Capacitor Apps
MIT License
159 stars 63 forks source link

BUG: iOS build fails with Framework not found FirebaseCoreDiagnostics #147

Closed qliqdev closed 1 year ago

qliqdev commented 1 year ago

Describe the bug https://github.com/capacitor-community/firebase-analytics/blob/0e30af2cc8d290eb019162a02e41eb32f7d020f1/ios/Podfile#L10-L13

pod 'Firebase/Core' has been removed from Podfile

but it is imported here

https://github.com/capacitor-community/firebase-analytics/blob/0e30af2cc8d290eb019162a02e41eb32f7d020f1/ios/Plugin/Plugin.swift#L3

To Reproduce Steps to reproduce the behavior:

  1. open project files
image
jcesarmobile commented 1 year ago

I can't reproduce, can you provide a sample app? what's your CocoaPods version? pod --version

Firebase/Core is automatically installed by having Firebase/Analytics. FirebaseCoreDiagnostics is a separate pod, not imported by the plugin.