Looking for xamarin.ios Answers? Try Ask4KnowledgeBase
Looking for xamarin.ios Keywords? Try Ask4Keywords

Xamarin.iOSBinding Swift Libraries


Introduction

An easy to follow guide that will lead you through the process of binding Swift .framework files for use in a Xamarin project.

Remarks

  1. When building a library in Xcode it has an option to include the swift libraries. Don’t! They will be included in your final app as NAME.app/Frameworks/LIBRARY.framework/Frameworks/libswift*.dylib but they must be included as NAME.app/Frameworks/libswift*.dylib

  2. You can find this information elsewhere, but it’s worth mention: Don’t include Bitcode in the library. As of right now Xamarin don’t include Bitcode for iOS and Apple requires all libraries to support the same architectures.