TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
220 stars 49 forks source link

Plugin not building with Visual Studio 17.10.4 #320

Open mahebisht opened 4 months ago

mahebisht commented 4 months ago

I recently updated Visual Studio from 17.10.2 to 17.10.4. After this update solutions is not building due to Plugin.Firebase. Is this known issue?

improwise commented 4 months ago

You should probably include the error message as well.

mahebisht commented 4 months ago

MauiApp1.zip Hi,

There is no error but the build process is stuck in a continuous loop. If only build for Android framework then build stops and no continuous loop. Build also stops if I use old versions of Plugin.Firebase (2.0.14) and no continuous loop. TargetFrameworks>net8.0-android34.0 TargetFrameworks>

build process is stuck in a continuous loop while using multi target with Plugin.Firebase ("3.0.0") TargetFrameworks>net8.0-android34.0;net8.0-ios <TargetFrameworks

Note: I am checking this scenario in Windows Laptop with Visual Studio(17.10.4). Please find the attached Zip file for sample project

AdamEssenmacher commented 4 months ago

A build log would be helpful.

Without that, try clearing your XamarinBuildDownload cache and make sure you've followed all of the instructions at https://github.com/AdamEssenmacher/GoogleApisForiOSComponents

mahebisht commented 4 months ago

Hi Adam,

This is the build log. Rebuild started at 7:48 pm... 1>------ Rebuild All started: Project: MauiApp1, Configuration: Debug Any CPU ------ Restored E:\MauiApp1\MauiApp1\MauiApp1.csproj (in 1.48 sec). 1>MauiApp1 -> E:\MauiApp1\MauiApp1\bin\Debug\net8.0-android34.0\MauiApp1.dll

I cleared XamarinBuildDownload cache and followed all of the instructions at (https://github.com/AdamEssenmacher/GoogleApisForiOSComponents)

I also added 1 sample project with minimal configuration. I am building in Windows 11

MauiApp1.zip

mahebisht commented 4 months ago

Hi Adam,

I am able to solve it after building Android and iOS separately before opening the Visual Studio.

dotnet build -f net8.0-android34.0 dotnet build -f net8.0-ios