Select the system library to link against.

First-party library

A first-party native library can be included either
as source or as a (signed) .framework file.
It’s probably possible to include statically linked
archives as well, but it requires testing.

Source code

To link directly to source code,
use the following instructions:

In Xcode, open Runner.xcworkspace.

Add the C/C++/Objective-C/Swift
source files to the Xcode project.

Add the following prefix to the
exported symbol declarations to ensure they
are visible to Dart:

    C/C++/Objective-C

    extern "C" /* <= C++ only */ __attribute__((visibility("default"))) __attribute__((used))


    Swift

    
@_cdecl("myFunctionName")

Compiled (dynamic) library