CommunityToolkit / Maui.NativeLibraryInterop

Maui.NativeLibraryInterop is a community-created library of binding samples to help .NET MAUI developers interop with native libraries more easily
MIT License
180 stars 28 forks source link

iOS app crashes #61

Open adarshchiniwar-smartq opened 2 weeks ago

adarshchiniwar-smartq commented 2 weeks ago

Hi,

We’re currently integrating payment features that require the inclusion of 10 .xcframework files. I’m using a template for integrating these frameworks, and while the project builds successfully after adding the .xcframework files to the Xcode project, it crashes when launching the iOS sample app on a device. If I remove the .xcframework files, the app runs without issues.

Could you advise if all the frameworks added to the Xcode project need to be referenced specifically in the iOS binding library or .NET MAUI project?

Thanks, Adarsh

iOS binding library .csproj ->

NewBinding NewBindingMaciOS true

.NET Maui csproj ->

adarshchiniwar-smartq commented 2 days ago

Hi,

Someone please help me with the issue using interop librar. https://github.com/xamarin/xamarin-macios/issues/21579

Thanks, Adarsh