Xamarin.CardIO.iOS is not compatible with .net maui

Shirisha Siddamshetti(UST,IN) 0 Reputation points
2023-02-15T18:43:55.7033333+00:00

am working on migrating Xamarin.forms to .net maui.

I am using Xamarin.CardIO.iOS nugget to scan credit card.

when migrating to .net maui I have updated all the nuget packages to latest.

getting below error

Package Xamarin.CardIO.iOS 5.4.1 is not compatible with net6.0-ios16.0 (.NETCoreApp,Version=v6.0) / ios-arm64. Package Xamarin.CardIO.iOS 5.4.1 supports: xamarinios10 (Xamarin.iOS,Version=v1.0)

can anyone help on this please.

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2023-02-20T09:17:16.56+00:00

    Hello,
    The NuGet package must support MAUI (net6.0-ios or net7.0-ios) to use it. I checked this Xamarin.CardIO.iOS nugget package, it is not supported for .net-iOS. And I find its component at Github , it hasn't been updated for a long time. As stated in the Announcement, it is no longer supported by XamarinComponents.
    If you still want to use this library, you could download the iOS SDK from their source repository: https://github.com/card-io/card.io-iOS-SDK, then try Binding Native Libraries for .NET MAUI. (This library hasn't been updated for a long time, it's not clear whether you can make the binding work)
    Best Regards,

    Best Regards, Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.