capawesome-team / capacitor-firebase

⚡️ Firebase plugins for Capacitor. Supports Android, iOS and the Web.
https://capawesome.io/plugins/firebase/
Apache License 2.0
392 stars 101 forks source link

bug: Getting no such module FirebaseCore #483

Closed mehtaparam closed 10 months ago

mehtaparam commented 11 months ago

Plugin(s)

Did you test the latest version?

Platform(s)

Current behavior

image

Getting no such module FirebaseCore

Expected behavior

I should be able to use firebase analytics in iOS

Reproduction

Not able to share

Steps to reproduce

Trying to create build for iOS

Other information

Ionic:

Ionic CLI : 7.1.1 (/Users/mehtaparam/.nvm/versions/node/v18.12.1/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 7.4.3 @angular-devkit/build-angular : 16.2.5 @angular-devkit/schematics : 16.2.5 @angular/cli : 16.2.5 @ionic/angular-toolkit : 10.0.0

Capacitor:

Capacitor CLI : 5.5.1 @capacitor/android : 5.5.1 @capacitor/core : 5.5.1 @capacitor/ios : 5.5.1

Utility:

cordova-res : 0.15.4 native-run (update available: 2.0.0) : 1.7.3

System:

NodeJS : v18.12.1 (/Users/mehtaparam/.nvm/versions/node/v18.12.1/bin/node) npm : 8.19.2 OS : macOS Unknown

Capacitor doctor

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 5.5.1 @capacitor/core: 5.5.1 @capacitor/android: 5.5.1 @capacitor/ios: 5.5.1

Installed Dependencies:

@capacitor/cli: 5.5.1 @capacitor/core: 5.5.1 @capacitor/android: 5.5.1 @capacitor/ios: 5.5.1

[success] iOS looking great! 👌 [success] Android looking great! 👌

Before submitting

github-actions[bot] commented 11 months ago

Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so we can debug the issue.

pathrom commented 11 months ago

I have the same error, In my case the pods were not updated automatically, I simply followed the documentation by adding this line and it worked.

target 'App' do
  capacitor_pods
  pod 'CapacitorFirebaseAnalytics/Analytics', :path => '../../node_modules/@capacitor-firebase/analytics'
  pod 'Firebase/Core'
  pod 'Firebase/Analytics'
end

I also had to delete this other one: pod 'CapacitorFirebaseAnalytics', :path => '../../node_modules/@capacitor-firebase/analytics'

woutersteven commented 11 months ago

Having exactly the same issue and error message. Using XCode 15.0.1 with @capacitor-firebase/analytics 5.2.0.

I did update the PodFile as instructed in the documentation as well.

github-actions[bot] commented 10 months ago

It looks like there hasn't been a reply in 30 days, so I'm closing this issue.

gelinger777 commented 8 months ago

It happened to us too. on Xcode 14