Giter Site home page Giter Site logo

Comments (4)

stepkillah avatar stepkillah commented on June 8, 2024 2

@JimmyPun610 Maybe it makes sense to migrate iOS implementation to https://developer.apple.com/documentation/vision (similar to this one https://github.com/afriscic/BarcodeScanning.Native.Maui), since it's a bit harder to work with MLKit for iOS

from barcodescanner.mobile.

Syed-RI avatar Syed-RI commented on June 8, 2024

Experiencing the same on Mac on Rider

ld: in ~Library/Caches/XamarinBuildDownload/MLImg-1.0.0beta2/Frameworks/MLImage.framework/MLImage(aligned_new_bca0ac320467a2457b3e306bfed17856.o), 
building for iOS Simulator, but linking in object file built for iOS,
file '~/Library/Caches/XamarinBuildDownload/MLImg-1.0.0beta2/Frameworks/MLImage.framework/MLImage' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)``` it seems the nuget doesnt include some native resources for iOS sim? I know its not possible to use the scanner in the sim but that means we cant continue building the project either if we cant build and deploy to simulator. It wasnt an issue with previous releases. Please have a look when u have a sec. Thank you for supporting the community!

from barcodescanner.mobile.

Syed-RI avatar Syed-RI commented on June 8, 2024

attaching a repro, this repo will build on VS for Mac, but fails on Rider and VS Code @
MauiAppDotNet8.zip

If you remove the barcode scanner package, it builds everywhere :(

from barcodescanner.mobile.

rolfbjarne avatar rolfbjarne commented on June 8, 2024

The problem is that this NuGet doesn't support the arm64 architecture in the simulator.

See https://github.com/xamarin/xamarin-macios/wiki/.NET-8-release-notes#default-runtimeidentifiers for more information.

from barcodescanner.mobile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.