JimmyPun610 / BarcodeScanner.Mobile

Barcode Scanner using GoogleVision API for Xamarin Form, Maui
MIT License
339 stars 100 forks source link

SSZipArchive.xcframework has an incorrect or unknown format and cannot be processed. #241

Open MihaMarkic opened 4 months ago

MihaMarkic commented 4 months ago

Describe the bug Using latest stable VS for Mac 17.6.12 and XCode 15.0.1 I get this error during build once I add reference to Xamarin.MLKit.iOS.BarcodeScanning.JimmyPun610 2.2.0.1 in Xamarin project: /Users/MYSELF/.nuget/packages/xamarin.mlkit.ios.core.jimmypun610/8.0.0/buildTransitive/../lib/xamarinios10/MLKit.Core.resources/SSZipArchive.xcframework has an incorrect or unknown format and cannot be processed.

Using version 1.6.0.1, app compiles fine.

The same happens with SampleApp.XF.iOS from this repo.

To Reproduce Steps to reproduce the behavior:

  1. Open this repo in VS for Mac, compile SampleApp.XF.iOS

Expected behavior App compiles

Additional context I wonder where SSZipArchive prefix comes from.

bengavin commented 3 months ago

@MihaMarkic - try upgrading to the latest releases and removing the reference to the mlkit assemblies directly, the right ones will be pulled in via dependency resolution.