GoogleApisForiOSComponents icon indicating copy to clipboard operation
GoogleApisForiOSComponents copied to clipboard

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

Open Dresel opened this issue 4 years ago • 4 comments

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 avatar May 26 '20 06:05 Dresel

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

Dresel avatar Jun 29 '20 08:06 Dresel

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

slprog1 avatar Jan 13 '21 10:01 slprog1

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 :)

AndreasReitberger avatar Dec 06 '22 16:12 AndreasReitberger

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

This saved me, many thanks

ewerspej avatar Dec 22 '22 08:12 ewerspej