/libnova.framework

libnova contained in a cocoa-framework for macOS, iOS, watchOS and tvOS that can be used from Objective-C and Swift

Primary LanguageCMakeGNU Lesser General Public License v2.1LGPL-2.1

libnova

A cooca-framework of libnova that can be found on sourceforge. Using the bash-script provided in this repo you can compile for the following architectures: x86_64, armv7, armv7s, armv7k, arm64_32, arm64 and arm64e.

Usage

  1. Build using the steps in "Build".
  2. Drag .framework file your Xcode-project.
  3. Make sure it's added to both Embedded Binaries and Linked frameworks and Libraries.
  4. Import it! (Swift import libnova or ObjC #include <libnova/libnova.h>

Build

# First install 
brew install unzip
brew install autoconf
brew install automake
brew install libtool
brew install cmake

# Then just run create_lipo.bash, which will create: template.framework
./create_lipo.bash

Useful links gathered when creating the bash-script

Resources

ZIP-file source or direct link.

Credit

All credit to the creators libNova-Team Liam Girdwood, Juan Carlos Remis and Petr Kubanek.