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 build task hangs forever in the XamarinDownloadArchives task #251

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

iOS build task hangs forever in the XamarinDownloadArchives task #251

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

Comments

@ManuLin
Copy link

ManuLin commented Sep 23, 2024

We are currently facing issues when attempting to deploy our application with the most recent version of the .NET MAUI barcode scanning library to iOS devices. While deployement and debugging works smoothly on Android, the iOS build hangs forever when attempting to extract the package "GAppM-10.24.0" via the XamarinDownloadArchives task. Anyone facing a similar issue?

I've figured out that downgrading the Xamarin.Build.Download package to version 0.8.0 (or even lower) might help, this is however not really an option, as the AdamE.MLKit.iOS.BarcodeScanning package requires at least version 0.11.0 or higher. Somehow I seem stuck at this point.

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

I am facing the same problem. However, the members of the same team are not experiencing any problems and I am wondering how to deal with them...

When I build directly on macOS (Visual Studio 2022 on Mac) instead of Windows, no problem occurred.

Here is the build output of the part that does not proceed when building on Windows (Visual Studio 2022 Community) (I am using a Japanese environment, so it may be hard to see because of the mixed Japanese).

1>ファイル "C:\Users\wukan\.nuget\packages\xamarin.build.download\0.11.4\buildTransitive\Xamarin.Build.Download.targets" 内のターゲット "_XamarinBuildDownloadCore":
1>  "XamarinDownloadArchives" タスクをアセンブリ "C:\Users\wukan\.nuget\packages\xamarin.build.download\0.11.4\buildTransitive\Xamarin.Build.Download.dll" から使用しています。
1>  タスク "XamarinDownloadArchives"
1>    タスク パラメーター:IsAndroid=False
1>    タスク パラメーター:CacheDirectory=C:\Users\wukan\AppData\Local\XamarinBuildDownloadCache\
1>    タスク パラメーター:
1>        Archives=
1>            GAppM-10.24.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/firebase/ios/analytics/cc4d75392af34c62/GoogleAppMeasurement-10.24.0.tar.gz
1>            MLKCommon-11.0.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/85bda285a1954024/MLKitCommon-11.0.0.tar.gz
1>            MLKVision-7.0.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/a82625c72bbef814/MLKitVision-7.0.0.tar.gz
1>            MLImage-1.0.0-beta5
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/10ddbf30d0514f6d/MLImage-1.0.0-beta5.tar.gz
1>            MLKImgLblCommon-7.0.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/32805ca33739d2ef/MLKitImageLabelingCommon-7.0.0.tar.gz
1>            MLKObjCommon-7.0.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/113871a79ef25131/MLKitObjectDetectionCommon-7.0.0.tar.gz
1>            MLKitBarcodeScanning-5.0.0
1>                    Kind=Tgz
1>                    Url=https://dl.google.com/dl/cpdc/a0171fe6f0004baf/MLKitBarcodeScanning-5.0.0.tar.gz
1>    タスク パラメーター:VsInstallRoot=C:\Program Files\Microsoft Visual Studio\2022\Community
1>    タスク パラメーター:AllowUnsecureUrls=False
1>    タスク パラメーター:DestinationBase=C:\Users\wukan\AppData\Local\XamarinBuildDownloadCache\
1>    TaskRun (Xamarin.Build.Download.XamarinDownloadArchives) 中にアセンブリが読み込まれました: Microsoft.Win32.Registry, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (場所: C:\Users\wukan\.nuget\packages\xamarin.build.download\0.11.4\buildTransitive\Microsoft.Win32.Registry.dll、MVID: f165d2aa-905d-4dd4-8e4a-317d747f8224、AppDomain: [Default])
1>    Extracting C:\Users\wukan\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0.tgz to C:\Users\wukan\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0

@juli175h
Copy link

Same problem, can't build to ios with BarcodeScanner.Mobile :(

@maonaoda
Copy link

same!

@maonaoda
Copy link

see dotnet/android-libraries#1047

@maonaoda
Copy link

maonaoda commented Nov 16, 2024

Hey guys, you can wait for the PR been approved. If really needed, I can provide the modified package.

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

4 participants