This topic describes options of integration.
Using Swift Package Manager
This is the easiest and the most reliable way. Add AsyncNinja dependency to your package.
import PackageDescription let package = Package( name: "MySuperApp", targets: [ Target( name: "Core", dependencies:  ), Target( name: "MySuperApp", dependencies: ["Core"] ), ], dependencies: [ .Package(url: "https://github.com/AsyncNinja/AsyncNinja.git", majorVersion: 1), ] )
Add to your Podfile:
target 'MyWonderfulApp' do use_frameworks! pod 'AsyncNinja' end
Add to your Cartfile:
Using git submodule
git submodule add https://github.com/AsyncNinja/AsyncNinja.git AsyncNinja git commit -m "AsyncNinja submodule added"
Now you can import files from AsyncNinja/Sources to your project. Having 3rd party framework next to your sources might sound and looks strange, but it might actually improve performance. Swift can optimize code that uses AsyncNinja primitives by generics specification see official documentation.