Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Xamarin.Firebase.iOS.Analytics - framework not found GoogleAppMeasurement when building on Windows #414

Open
Dresel opened this issue May 26, 2020 · 4 comments

Comments

@Dresel
Copy link

Dresel commented May 26, 2020

Hi,

when adding Xamarin.Firebase.iOS.Analytics and building on Windows with a paired Mac I receive the following error:

Severity Code Description Project File Line Suppression State
Error linker command failed with exit code 1 (use -v to see invocation) MyProject.iOS
Error framework not found GoogleAppMeasurement MyProject.iOS
Error Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz MyProject.iOS
Error warning: directory not found for option '-FC:/Users/chris/AppData/Local/XamarinBuildDownloadCache/GAppM-6.4.1/Frameworks' MyProject.iOS

  • Microsoft Visual Studio Enterprise 2019 Version 16.6.0 (Windows)
  • Visual Studio for Mac Enterprise Version 8.6 (build 4520) (Mac)
  • Xamarin.Forms 4.6.0.800
  • Xamarin.Firebase.iOS.Analytics 6.4.1

When building directly on the Mac it works though.

@Dresel
Copy link
Author

Dresel commented Jun 29, 2020

C:\Users\chris\AppData\Local\XamarinBuildDownloadCache\ contained GAppM-6.4.1.tgz. Manually extracting did the trick.

@slprog1
Copy link

slprog1 commented Jan 13, 2021

Hello,
I do have the same issue but on macOS.
When creating new project - everything is okay and running just fine. But after adding Firebase.iOS packages - I get this error of missing GoogleAppMeasurement framework. The Cache folder is empty.

Xamarin.Forms version - 5

@AndreasReitberger
Copy link

C:\Users\chris\AppData\Local\XamarinBuildDownloadCache\ contained GAppM-6.4.1.tgz. Manually extracting did the trick.

Thanks @Dresel
This saved me a lot of research :)

@ewerspej
Copy link

C:\Users\chris\AppData\Local\XamarinBuildDownloadCache\ contained GAppM-6.4.1.tgz. Manually extracting did the trick.

This saved me, many thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants