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
181 stars 28 forks source link

Document that Mac bindings can only be built on a Mac #33

Open BioTurboNick opened 5 months ago

BioTurboNick commented 5 months ago

Would be great to document that Mac bindings can only be built on a Mac, and that Pair to Mac will not work.

Better if it could be documented which built files from the Mac need to be moved back over to Windows, and how to incorporate them into the solution.

BioTurboNick commented 5 months ago

Okay the Firebase example doesn't build on a Mac either because it can't resolve the Firebase package dependencies. I'm not familiar with XCode but the docs don't seem to have steps I missed.

rachelkang commented 2 months ago

Hi, @BioTurboNick - thanks for using Maui.NativeLibraryInterop and reporting this issue. If you are still experiencing this, could you please share more information about the error you're seeing and attach a binlog so we can take a closer look? Thank you :)

BioTurboNick commented 1 month ago

Well, the original issue doesn't really need more information - the Getting Started documentation (https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/native-library-interop/get-started) weirdly doesn't discuss development of the interop library on a Windows machine.

I'll file a new issue to discuss the follow-up comment if that's still an issue, that was me venting.

rachelkang commented 3 weeks ago

@BioTurboNick gotcha, thanks for clarifying. In order to implement Mac/iOS bindings, you will need to use a Mac machine with Xcode installed. Will note to make sure this is clarified in the docs!