TobiasBuchholz / Plugin.Firebase

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

Build Process Hanging at File Extraction GAppM-10.24.0.tgz #325

Open erickirsc opened 3 months ago

erickirsc commented 3 months ago

Environment:

IDE: Visual Studio 2022 Preview
Target Platform: iOS
Host Machine: Mac (connected via SSH)
Simulator: iOS Simulator

Description: I am encountering an issue during the build process for an iOS application. The build seems to hang during the extraction of a specific file. The relevant portion of the build output is as follows:

Extracting C:\Users\{username}\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0.tgz to C:\Users\{username}\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0

The process gets stuck at this point and does not progress further. I have attempted to manually extract the file GAppM-10.24.0.tgz, and although this succeeds, the build still fails at the same extraction step.

Additional Information:

The issue persists across different projects and configurations.
No significant errors are shown in the logs, apart from the hanging during the extraction step.

Request: Could anyone provide insights or solutions to bypass this issue? Any tips on further diagnostics or configurations that might help resolve this would be greatly appreciated.

Thank you in advance for your assistance!

Herbstwc commented 3 months ago

Exact same problem here,

Error (active) XBD008 Timed out waiting for exclusive file lock on: \XamarinBuildDownloadCache\GAppM-10.24.0.locked {ProjectName}.Maui (net8.0-ios) \xamarin.build.download\0.11.0\buildTransitive\Xamarin.Build.Download.targets 52

Person here solved it by downgrading and also setting 7zip as the default for windows for the tgz files.

This does not work for me , when I downgrade Plugin.Firebase to 2.0.14 I get a different problem.

https://stackoverflow.com/questions/78805812/xamarin-build-download-net-maui-build-process-hanging-at-file-extraction-gappm

erickirsc commented 3 months ago

Solved by setting the default opener for .tgz/.tar files to .7zip.

douglasc211 commented 3 days ago

We still have this issue with Visual Studio 17.12, cannot complete a build, downgrading Firebase is not the answer, correct?