question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: Analytics - Error building iOS App

See original GitHub issue

Plugin(s):

@capacitor-firebase/analytics version: 0.2.1

Platform(s): iOS

Current behavior: During the iOS App build process, we are getting this error No such module 'FirebaseCore' from FirebaseAnalytics.swift

Expected behavior: iOS builds without error

Steps to reproduce:

Created a sample ionic react project with analytics plugin as a dependency. This can be viewed here - https://codesandbox.io/s/quirky-nova-vpymls

This is basic ionic react template and the iOS project is synced with the plugin. After trying to build from this iOS project, we are getting the build error

No such module 'FirebaseCore'

Capacitor doctor:

Latest Dependencies:

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

Installed Dependencies:

  @capacitor/core: 3.4.1
  @capacitor/android: 3.4.0
  @capacitor/ios: 3.4.0
  @capacitor/cli: 3.4.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
robingenzcommented, Apr 7, 2022

Hi @robingenz

Every time I do cap sync the pod update revert to CapacitorFirebaseAnalytics

@jongbonga In that case you add the line in the wrong place.

target 'App' do
capacitor_pods
	# Add your Pods here
+  pod 'CapacitorFirebaseAnalytics/Analytics', :path => '../../node_modules/@capacitor-firebase/analytics'
end

See https://github.com/robingenz/capacitor-firebase-plugin-demo/blob/d3237b0a3e4cc6a3fdd47f09d6b43c0057c61f18/ios/App/Podfile#L25

0reactions
jongbongacommented, Apr 7, 2022

True… thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Diagnosing and resolving bugs in your running app
Inspect your running app to isolate bugs, locate crashes, identify excess system resource usage, visualize memory bugs, and investigate view layout problems.
Read more >
Bug of the Month: Bitcode Compilation Errors
iOS developers run into bitcode compilation errors when building their app with an old version of Xcode. Use the latest version of LLVM...
Read more >
Adding Google Analytics to an iOS app causes error
What I found to be the answer, was to check the search paths under the project build settings. (Build settings tab, then search...
Read more >
xcodebuild Linking error with FirebaseAnalytics breaking ...
[REQUIRED] Step 1: Describe your environment Xcode version: 12.0 Firebase SDK version: 6.33 Firebase Component: Analytics Component version: ...
Read more >
Bugsnag: Error Monitoring & App Stability Management
Bugsnag is an error monitoring and reporting software with best-in-class functionality for mobile apps. Our tool alerts users of bugs, errors & more....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found