Skip to content
Hello World using Avian for iOS
Objective-C Makefile C Java Shell Prolog
Find file
Latest commit 8861380 Apr 4, 2016 @dicej dicej update makefile to handle iOS 9.2 SDK and missing jni.h
It's not clear that there's an "official" place to find e.g. jni.h on
a Mac anymore.  As a stopgap measure, the makefile now looks in
$(openjdk)/include when the openjdk flag is passed.

README.md

Avian on iOS example

Build Status

This is a simple example of how to use Avian on iOS. These are the steps required to build it:

1. Get Avian:

$ git clone https://github.com/ReadyTalk/avian

2. Get ProGuard:

$ curl -Of http://oss.readytalk.com/avian-web/proguard4.11.tar.gz
$ tar xzf proguard4.11.tar.gz

3. Get this example, if you don't already have it:

$ git clone https://github.com/ReadyTalk/hello-ios

4. Build the example. The default target is an iPhoneOS 64 bit simulator. Uncomment related lines to build for another target.

$ cd hello-ios && ./build-hello.sh

When building for an iPhoneOS device, the codesign step may fail with the message "User interaction is not allowed." To fix this, you'll need to unlock your keychain and try again:

$ security unlock-keychain ~/Library/Keychains/login.keychain

Please send an email to avian@googlegroups.com if you have any questions or comments.

Something went wrong with that request. Please try again.