Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS deployment hangs forever at XamarinDownloadArchives task #252

Open
ManuLin opened this issue Sep 23, 2024 · 3 comments
Open

iOS deployment hangs forever at XamarinDownloadArchives task #252

ManuLin opened this issue Sep 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ManuLin
Copy link

ManuLin commented Sep 23, 2024

We are currently facing an issue when trying to locally deploy and debug our .NET MAUI app using the most recent version of the barcode scanning library. While deployment and debugging works smoothly on Android devices, the iOS build task seems to hang forever when attempting to extract the package "GAppM-10.24.0" as part of the XamarinDownloadArchives task. Has anyone faced a similar issue?

As far as I've figured out, downgrading the Xamarin.Build.Download package to version 0.8.0 (or even lower) might mitigate this issue, this is however not really an option, as AdamE.MLKit.iOS.BarcodeScanning package demands for version 0.11.0 or higher. Somehow I'm stuck at this point...

https://stackoverflow.com/questions/60453145/the-xamarindownloadarchives-task-could-not-be-initialized-with-its-input-param

@ManuLin ManuLin added the bug Something isn't working label Sep 23, 2024
@rettigcd
Copy link

I am experiencing the same issue.

@rettigcd
Copy link

I found the problem on my machine. I am building on Windows 10 which has a maximum path length of 260 characters. XamarindDownloadArchives cannot extract GAppM-10.24.0 because the path of some of the resulting files would be too long.

@TheFerrango
Copy link

If you try and compile it from the CLI with maximum verbosity and manually terminate the 7z process you'll find it tells you what it was trying to do.
Unpacking failed. Please download 'https ://dl.google.com/firebase/ios/analytics/cc4d75392af34c62/GoogleAppMeasurement-10.24.0.tar.gz' and extract it to the '%userprofile%\AppData\Local\XamarinBuildDownloadCache \GAppM-10.24.0' directory and create an empty file called '%userprofile%\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0.unpacked'.

Do that and recompile the app, and it will magically work. The issue is with either the GAppM package or the 7z extractor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants