Compiled (dynamic) library

To link to a compiled dynamic library,
use the following instructions:

If a properly signed Framework file is present,
open Runner.xcworkspace.

Add the framework file to the Embedded Binaries
section.

Also add it to the Linked Frameworks & Libraries
section of the target in Xcode.

Open-source third-party library

To create a Flutter plugin that includes both
C/C++/Objective-C and Dart code,
use the following instructions:

In your plugin project,
open ios/<myproject>.podspec.

Add the native code to the source_files
field.

The native code is then statically linked into
the application binary of any app that uses
this plugin.

Closed-source third-party library