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.

ld: library not found for -lGoogleAnalyticsServices

See original GitHub issue

Hi,

I am upgrading react-native version from 0.59.10 to 0.61.5 and I have some issues with building iOs project.

I was upgrading by this helper: https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.61.5

When I am building to iOs, all time I have error like this: ld: library not found for -lGoogleAnalyticsServices

In my project I am using react-native-google-analytics-bridge

Xcode version: 10.2.1

Could you help me to resolve this issue, please?

Thank you 🙏

React Native version: 0.61.5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
CyrusZeicommented, Jan 24, 2020

easy fix for this is to remove the google analytics bridge comething in your package.json and remove it from the podfile and then remove node_modules and pod.lock.

  1. Remove google analytics bridge from package.json
  2. Remove node_modules
  3. Remove googel analytics bridge from podfile
  4. Remove pod.lock file
  5. yarn install
  6. pod install

and it should work. Why I think it does not work is cuz it says it is deprecated and it won’t download the package and that is why podfile cant find it

2reactions
albinhubschcommented, Dec 19, 2019

react-native-google-analytics-bridge is deprecated and probably not updated to support auto-linking, thereby your issue with the library not being found. see repo

You should convert to firebase analytics.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ld: library not found for -lGoogleAnalyticsServices
I m not using cocopad, after building project its giving me "ld: library not found for -lGoogleAnalyticsServices clang: error: linker ...
Read more >
iOS : Xcode 7 build failed: ld: library not found for - YouTube
iOS : Xcode 7 build failed: ld : library not found for -lGoogleAnalyticsServices [ Beautify Your Computer ...
Read more >
iOS : Xcode 7 build failed due to ld: library not found for
iOS : Xcode 7 build failed due to ld : library not found for -lGoogleAnalyticsServices [ Beautify Your Computer ...
Read more >
Ios – Xcode 7 build failed due to ld: library not found for ... - iTecNote
ld: library not found for -lGoogleAnalyticsServices clang: error: linker command failed with exit code 1 (use -v to see invocation).
Read more >
XCode 7 build failed due to library not found for - Reddit
ld: library not found for -lGoogleAnalyticsServices clang: error: linker command failed with exit code 1 (use -v to see invocation).
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