Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Swift binding for Xamarin macOS

VRahikkaVRahikka Member ✭✭


I started from binding projects for Objective-C and was able to get that working based on the iOS tutorials. Now I want to proceed to Swift binding projects but I am having some problems following

So I just want to create my own Switft library that I could use in my C# project (not create proxy Swift framework for existing Swift library).

First question does this even work on macOS? Can I call swift libraries trough binding project on macOS.

In the walktrough they create Framework. Can it be dynamic or static library as well?

Also in the walktrough they fiddle around with settings like Objective-C Generated interface Header Name. I cannot find this setting in my project at all. Is this some kind of deprecated setting and do I need to change Enable Bitcode options on macOS?

Do I need to manually create the header file to expose is as Objective-C or should it be done by the XCode automatically?



Best Answer


  • VRahikkaVRahikka Member ✭✭

    Thank you Chris for clarifying this!

Sign In or Register to comment.