How should I start with IOS?


#32

I’m not really sure what the question is here…


#33

I was wondering if you managed to get the basic project to compile on iOS. I’m happy to help with the iOS side and with the guide I put together. I was however, making the assumption in my guide that you had a successful compile at least before trying to get it to work on Apple devices. Let me know if you need any help once you get to that point.


#34

Well the game itself compiles. Just not the ios part. I can’t seem to make it find jni.h


#35

What version of Xcode do you have installed?

Send the full error log.


#36

XCode 10.2 beta 3 with cmd line tools

Log for clean & build:

ant -f /Users/indigo/Documents/JMonkeyEngine/BasicGame -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/built-clean.properties
Deleting directory /Users/indigo/Documents/JMonkeyEngine/BasicGame/build
clean:
Building jar: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/assets.jar
init:
deps-jar:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/built-jar.properties
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/empty
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/generated-sources/ap-source-output
Compiling 1 source file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
compile:
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build
Copy libraries to /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib.
Building jar: /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar
To run this application from the command line without Ant, try:
java -jar "/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar"
build-ios:
init:
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Compiling 1 source file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Packaging iOS classpath and resources
ProGuard, version 5.2.1
Reading program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
Reading program directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/assets.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/gson-2.8.1.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/j-ogg-all-1.0.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-2.0.5.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-bullet-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-core-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-effects-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-ios-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-jogg-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-networking-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-plugins-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-terrain-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jutils-1.0.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-2.9.3.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar]
Preparing output jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/resources.jar]
Preparing output directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath] (filtered)
  Copying resources from program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
  Copying resources from program directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/assets.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [assets.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/gson-2.8.1.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [gson-2.8.1.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/j-ogg-all-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/MANIFEST.MF])
Warning: can't write resource [META-INF/services/javax.sound.sampled.spi.AudioFileReader] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/services/javax.sound.sampled.spi.AudioFileReader])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-2.0.5.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jinput-2.0.5.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-bullet-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-bullet-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-core-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-core-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-effects-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-effects-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-ios-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-ios-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-jogg-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-jogg-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-networking-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-networking-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-plugins-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-plugins-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-terrain-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-terrain-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jutils-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jutils-1.0.0.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-2.9.3.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-2.9.3.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-linux.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-osx.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-windows.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [MyGame.jar:META-INF/MANIFEST.MF])
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/MyGame.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/gson-2.8.1.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/j-ogg-all-1.0.0.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-bullet-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-core-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-ios-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-jogg-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-plugins-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-terrain-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-arm/libs
Creating iOS resources object file for arm
Creating iOS bootimage and codeimage for arm
class count 3804 string count 14640 call count 27729
heap size 12781312 code size 9422188
Compiling native code for arm
/Users/indigo/Documents/JMonkeyEngine/BasicGame/ios/src/JmeAppHarness.m:32:10: fatal error: 'jni.h' file not found
#include <jni.h>
         ^~~~~~~
1 error generated.
/Users/indigo/Documents/JMonkeyEngine/BasicGame/

#37

In the screen where you enable iOS there is a version number combo box.

The default is ‘DEFAULT’. You need to choose a specific version or it may not compile.

If I selected default it brings up a different error but it fails in the same place.


#38

Was set to iOS 12


#39

Well if #include <jni.h> doesn’t work it means you lack a jdk which is installed so that the header file is in the system search path.
https://stackoverflow.com/questions/21574142/jni-headers-not-found-from-xcode maybe something like this helps?
Have you tried googleing?

Maybe you need to install a new jdk on your system if you had any?


I could swear that this include path is already configured, but maybe for java 5 and nowadays mac os ships with java 8


#40

you might struggle to find jdk 7 now. jdk 8 should also work fine.

Download it from here:
JDK 8 u202

Don’t forget to update your JDK in Project Settings/Libraries/Manage Platforms

Leave the source binary format as JDK 7 though.
image


#41

JDK is already installed… JDK 8 u201


#42

It IS related to JDK. Your paths are not configured properly and I can see from your log that you have not configured the JAVA PLATFORM against your project like I suggested above or it would show the full path to your JDK which it does not!!

Below is the output you should get.

init:
deps-clean:
Updating property file: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/built-clean.properties
Deleting directory /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build
clean:
Building jar: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/assets.jar
init:
deps-jar:
Updating property file: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/built-jar.properties
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/classes
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/empty
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/generated-sources/ap-source-output
Compiling 1 source file to /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/classes
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
compile:
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist
Copying 1 file to /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build
Copy libraries to /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib.
Building jar: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/MyGame.jar
To run this application from the command line without Ant, try:
/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/java -jar "/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/MyGame.jar"
build-ios:
init:
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/build
Compiling 1 source file to /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/build
Copying 1 file to /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/build
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Packaging iOS classpath and resources
ProGuard, version 5.2.1
Reading program directory [/Users/anthonywilshaw/Library/Application Support/jmonkeyplatform/v3.2.0-stable-sdk1/avian-openjdk/classpath]
Reading program directory [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/build]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/assets.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/gson-2.8.1.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/j-ogg-all-1.0.0.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-2.0.5.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-bullet-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-core-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-effects-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-ios-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-jogg-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-networking-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-plugins-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-terrain-3.2.0-stable.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jutils-1.0.0.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-2.9.3.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Reading program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/MyGame.jar]
Preparing output jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/resources.jar]
Preparing output directory [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath] (filtered)
  Copying resources from program directory [/Users/anthonywilshaw/Library/Application Support/jmonkeyplatform/v3.2.0-stable-sdk1/avian-openjdk/classpath]
  Copying resources from program directory [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/build]
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/assets.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [assets.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/gson-2.8.1.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [gson-2.8.1.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/j-ogg-all-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/MANIFEST.MF])
Warning: can't write resource [META-INF/services/javax.sound.sampled.spi.AudioFileReader] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/services/javax.sound.sampled.spi.AudioFileReader])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-2.0.5.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jinput-2.0.5.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-bullet-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-bullet-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-core-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-core-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-effects-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-effects-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-ios-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-ios-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-jogg-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-jogg-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-networking-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-networking-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-plugins-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-plugins-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jme3-terrain-3.2.0-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-terrain-3.2.0-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/jutils-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jutils-1.0.0.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-2.9.3.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-2.9.3.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-linux.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-osx.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-windows.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/dist/MyGame.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [MyGame.jar:META-INF/MANIFEST.MF])
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/MyGame.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/gson-2.8.1.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/j-ogg-all-1.0.0.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-bullet-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-core-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-ios-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-jogg-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-plugins-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Expanding: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath/jme3-terrain-3.2.0-stable.jar into /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-classpath/classpath
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-arm/libs
Creating iOS resources object file for arm
Creating iOS bootimage and codeimage for arm
class count 3804 string count 14634 call count 27715
heap size 12777712 code size 9419440
Compiling native code for arm
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:44:33: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
    fprintf(stderr, "NULL: %d", NULL);
                           ~~   ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:105:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^~~~~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:45:44: warning: format specifies type 'int' but the argument has type 'ALCcontext *' (aka 'struct ALCcontext_struct *') [-Wformat]
    fprintf(stderr, "Created context: %d", ctx);
                                      ~~   ^~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:46:49: warning: format specifies type 'int' but the argument has type 'ALCcontext **' (aka 'struct ALCcontext_struct **') [-Wformat]
    fprintf(stderr, "Created context addr: %d", &ctx);
                                           ~~   ^~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:83:60: warning: format specifies type 'int' but the argument has type 'ALCdevice *' (aka 'struct ALCdevice_struct *') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device: %d", device);
                                                      ~~   ^~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:84:65: warning: format specifies type 'int' but the argument has type 'ALCdevice **' (aka 'struct ALCdevice_struct **') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device addr: %d", &device);
                                                           ~~   ^~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:150:1: warning: control may reach end of non-void function [-Wreturn-type]
}
6 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
Expanding libavian.a for arm
Deleting: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-arm/libs/__.SYMDEF
Create library list for arm
build-ios-arm:
init:
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-arm64/libs
Creating iOS resources object file for arm64
Creating iOS bootimage and codeimage for arm64
class count 3804 string count 14634 call count 27715
heap size 20323376 code size 10086840
Compiling native code for arm64
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeIosGLES.m:555:9: warning: cast to 'GLvoid *' (aka 'void *') from smaller integer type 'jint' (aka 'int') [-Wint-to-void-pointer-cast]
        (GLvoid *)offset
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeIosGLES.m:1733:9: warning: cast to 'GLvoid *' (aka 'void *') from smaller integer type 'jint' (aka 'int') [-Wint-to-void-pointer-cast]
        (GLvoid *)(offset)
2 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:44:33: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
    fprintf(stderr, "NULL: %d", NULL);
                           ~~   ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:105:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^~~~~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:45:44: warning: format specifies type 'int' but the argument has type 'ALCcontext *' (aka 'struct ALCcontext_struct *') [-Wformat]
    fprintf(stderr, "Created context: %d", ctx);
                                      ~~   ^~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:46:49: warning: format specifies type 'int' but the argument has type 'ALCcontext **' (aka 'struct ALCcontext_struct **') [-Wformat]
    fprintf(stderr, "Created context addr: %d", &ctx);
                                           ~~   ^~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:83:60: warning: format specifies type 'int' but the argument has type 'ALCdevice *' (aka 'struct ALCdevice_struct *') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device: %d", device);
                                                      ~~   ^~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:84:65: warning: format specifies type 'int' but the argument has type 'ALCdevice **' (aka 'struct ALCdevice_struct **') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device addr: %d", &device);
                                                           ~~   ^~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:150:1: warning: control may reach end of non-void function [-Wreturn-type]
}
6 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
Expanding libavian.a for arm64
Deleting: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-arm64/libs/__.SYMDEF
Create library list for arm64
build-ios-arm64:
init:
Created dir: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-x86_64/libs
Creating iOS resources object file for x86_64
Creating iOS bootimage and codeimage for x86_64
class count 3804 string count 14634 call count 27715
heap size 20323376 code size 9918672
Compiling native code for x86_64
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeAppHarness.m:53:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Message"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeIosGLES.m:555:9: warning: cast to 'GLvoid *' (aka 'void *') from smaller integer type 'jint' (aka 'int') [-Wint-to-void-pointer-cast]
        (GLvoid *)offset
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/JmeIosGLES.m:1733:9: warning: cast to 'GLvoid *' (aka 'void *') from smaller integer type 'jint' (aka 'int') [-Wint-to-void-pointer-cast]
        (GLvoid *)(offset)
2 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:44:33: warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
    fprintf(stderr, "NULL: %d", NULL);
                           ~~   ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:105:16: note: expanded from macro 'NULL'
#  define NULL ((void*)0)
               ^~~~~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:45:44: warning: format specifies type 'int' but the argument has type 'ALCcontext *' (aka 'struct ALCcontext_struct *') [-Wformat]
    fprintf(stderr, "Created context: %d", ctx);
                                      ~~   ^~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:46:49: warning: format specifies type 'int' but the argument has type 'ALCcontext **' (aka 'struct ALCcontext_struct **') [-Wformat]
    fprintf(stderr, "Created context addr: %d", &ctx);
                                           ~~   ^~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:83:60: warning: format specifies type 'int' but the argument has type 'ALCdevice *' (aka 'struct ALCdevice_struct *') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device: %d", device);
                                                      ~~   ^~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:84:65: warning: format specifies type 'int' but the argument has type 'ALCdevice **' (aka 'struct ALCdevice_struct **') [-Wformat]
        fprintf(stderr, "alcGetContextsDevice device addr: %d", &device);
                                                           ~~   ^~~~~~~
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/com_jme3_audio_android_AndroidOpenALSoftAudioRenderer.c:150:1: warning: control may reach end of non-void function [-Wreturn-type]
}
6 warnings generated.
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:5: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
/Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/ios/src/jme-ios.m:184:40: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle : @"Error"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:26:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
2 warnings generated.
Expanding libavian.a for x86_64
Deleting: /Users/anthonywilshaw/Documents/JME/Engine/jmonkeyengine/BasicGame11/build/ios-x86_64/libs/__.SYMDEF
Create library list for x86_64
build-ios-x86_64:
The needed native iOS libraries have been built, open the XCode project at ios/project to run the application on iOS.
jar:
BUILD SUCCESSFUL (total time: 1 minute 14 seconds)```

#43

#44

New Error after fixing JDK:

ant -f /Users/indigo/Documents/JMonkeyEngine/Crushed -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/built-clean.properties
Deleting directory /Users/indigo/Documents/JMonkeyEngine/Crushed/build
clean:
Building jar: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/assets.jar
init:
deps-jar:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/built-jar.properties
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/classes
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/empty
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/generated-sources/ap-source-output
Compiling 42 source files to /Users/indigo/Documents/JMonkeyEngine/Crushed/build/classes
Note: /Users/indigo/Documents/JMonkeyEngine/Crushed/src/com/indigoa/game/crushed/mode/ModeTimed.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/Crushed/build/classes
compile:
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/dist
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/Crushed/build
Copy libraries to /Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib.
Building jar: /Users/indigo/Documents/JMonkeyEngine/Crushed/dist/MyGame.jar
To run this application from the command line without Ant, try:
/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -jar "/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/MyGame.jar"
build-ios:
init:
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/build
Compiling 1 source file to /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/build
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/build
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Packaging iOS classpath and resources
ProGuard, version 5.2.1
Reading program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
Reading program directory [/Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/build]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/JME-SVG.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/JMEInterface.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/assets.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/gson-2.8.1.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/guava-12.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-core-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-ios-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-plugins-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/lemur-1.11.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/slf4j-api-1.7.25.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/MyGame.jar]
Preparing output jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/resources.jar]
Preparing output directory [/Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath] (filtered)
  Copying resources from program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
  Copying resources from program directory [/Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/build]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/JME-SVG.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [JME-SVG.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/JMEInterface.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [JMEInterface.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/assets.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [assets.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/gson-2.8.1.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [gson-2.8.1.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/guava-12.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [guava-12.0.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-core-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-core-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-ios-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-ios-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/jme3-plugins-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-plugins-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/lemur-1.11.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lemur-1.11.0.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/lib/slf4j-api-1.7.25.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [slf4j-api-1.7.25.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/Crushed/dist/MyGame.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [MyGame.jar:META-INF/MANIFEST.MF])
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/JME-SVG.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/JMEInterface.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/MyGame.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/gson-2.8.1.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/guava-12.0.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/jme3-core-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/jme3-ios-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/jme3-plugins-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/lemur-1.11.0.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath/slf4j-api-1.7.25.jar into /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-classpath/classpath
Created dir: /Users/indigo/Documents/JMonkeyEngine/Crushed/build/ios-arm/libs
Creating iOS resources object file for arm
Creating iOS bootimage and codeimage for arm
/Users/indigo/Documents/JMonkeyEngine/Crushed/nbproject/ios-impl.xml:5: The following error occurred while executing this line:
/Users/indigo/Documents/JMonkeyEngine/Crushed/nbproject/ios-impl.xml:179: exec returned: 134
BUILD FAILED (total time: 11 minutes 8 seconds)

#45

Firstly, use the -verbose compiler switch because it doesn’t actually show any error message or why it failed.

Secondly, what happened to the BASICGAME project? You have gone back to your full app I see.

Don’t try to run before you can walk.


#46

Didn’t even notice i wasn’t using basicgame… I just hit the clean + build button :roll_eyes:

Same issue(jni.h), even when i fixed JDK to actual location


#47

You have to select the JDK in each project. Have you configured your BASICGAME to use the new JDK location?

Re-post the full log again

Also, send a screenshot of your project properties screen (one with LIBRARIES selected, one with IOS selected)


#48

used -verbose in additional compiler options:

ant -f /Users/indigo/Documents/JMonkeyEngine/BasicGame -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/built-clean.properties
Deleting directory /Users/indigo/Documents/JMonkeyEngine/BasicGame/build
clean:
Building jar: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/assets.jar
init:
deps-jar:
Updating property file: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/built-jar.properties
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/empty
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/generated-sources/ap-source-output
Compiling 1 source file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes
warning: [options] bootstrap class path not set in conjunction with -source 1.7
[parsing started RegularFileObject[/Users/indigo/Documents/JMonkeyEngine/BasicGame/src/mygame/Main.java]]
[parsing completed 229ms]
[search path for source files: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/empty]
[search path for class files: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/resources.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/rt.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/sunrsasign.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/jsse.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/jce.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/charsets.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/jfr.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/classes,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/dnsns.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/jaccess.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/jfxrt.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/localedata.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/nashorn.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/sunec.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre/lib/ext/zipfs.jar,/System/Library/Java/Extensions/MRJToolkit.jar,/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-jogg-3.2.2-stable.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/j-ogg-all-1.0.0.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-plugins-3.2.2-stable.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/gson-2.8.1.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-lwjgl-3.2.2-stable.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/lwjgl-2.9.3.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jinput-2.0.5.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jinput-platform-2.0.5-natives-linux.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jinput-platform-2.0.5-natives-windows.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jinput-platform-2.0.5-natives-osx.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jutils-1.0.0.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/lwjgl-platform-2.9.3-natives-windows.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/lwjgl-platform-2.9.3-natives-linux.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/lwjgl-platform-2.9.3-natives-osx.jar,/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-ios-3.2.2-stable.jar]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/app/SimpleApplication.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/material/Material.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/math/ColorRGBA.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/renderer/RenderManager.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/Geometry.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/shape/Box.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/app/LegacyApplication.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/app/Application.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Object.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/system/SystemListener.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/String.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Override.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Annotation.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Target.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/annotation/ElementType.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/annotation/Retention.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/annotation/RetentionPolicy.class)]]
[checking mygame.Main]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/io/Serializable.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/util/concurrent/Callable.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/util/concurrent/Future.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/AutoCloseable.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/shape/AbstractBox.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/asset/AssetManager.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/asset/CloneableSmartAsset.class)]]
[loading ZipFileIndexFileObject[/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/lib/ct.sym(META-INF/sym/rt.jar/java/lang/Cloneable.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/export/Savable.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/Spatial.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/collision/Collidable.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/util/clone/JmeCloneable.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/Node.class)]]
[loading ZipFileIndexFileObject[/Applications/jmonkeyplatform.app/Contents/Resources/jmonkeyplatform/jmonkeyplatform/libs/jme3-core-3.2.2-stable.jar(com/jme3/scene/Mesh.class)]]
[wrote RegularFileObject[/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/classes/mygame/Main.class]]
[total 5225ms]
1 warning
compile:
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build
Copy libraries to /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib.
Building jar: /Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar
To run this application from the command line without Ant, try:
/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin/java -jar "/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar"
build-ios:
init:
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Compiling 1 source file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Copying 1 file to /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Packaging iOS classpath and resources
ProGuard, version 5.2.1
Reading program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
Reading program directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/assets.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/gson-2.8.1.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/j-ogg-all-1.0.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-2.0.5.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-core-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-ios-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-jogg-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-plugins-3.2.2-stable.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jutils-1.0.0.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-2.9.3.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Reading program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar]
Preparing output jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/resources.jar]
Preparing output directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath] (filtered)
  Copying resources from program directory [/Users/indigo/Library/Application Support/jmonkeyplatform/v3.2.2-stable-sdk1/avian-openjdk/classpath]
  Copying resources from program directory [/Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/build]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/assets.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [assets.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/gson-2.8.1.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [gson-2.8.1.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/j-ogg-all-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/MANIFEST.MF])
Warning: can't write resource [META-INF/services/javax.sound.sampled.spi.AudioFileReader] (Duplicate zip entry [j-ogg-all-1.0.0.jar:META-INF/services/javax.sound.sampled.spi.AudioFileReader])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-2.0.5.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jinput-2.0.5.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-linux.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-osx.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jinput-platform-2.0.5-natives-windows.jar]
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-core-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-core-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-ios-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-ios-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-jogg-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-jogg-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jme3-plugins-3.2.2-stable.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jme3-plugins-3.2.2-stable.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/jutils-1.0.0.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [jutils-1.0.0.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-2.9.3.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-2.9.3.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-linux.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-linux.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-osx.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-osx.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/lib/lwjgl-platform-2.9.3-natives-windows.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [lwjgl-platform-2.9.3-natives-windows.jar:META-INF/MANIFEST.MF])
  Copying resources from program jar [/Users/indigo/Documents/JMonkeyEngine/BasicGame/dist/MyGame.jar]
Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [MyGame.jar:META-INF/MANIFEST.MF])
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/MyGame.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/gson-2.8.1.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/j-ogg-all-1.0.0.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-core-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-ios-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-jogg-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Expanding: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath/jme3-plugins-3.2.2-stable.jar into /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-classpath/classpath
Created dir: /Users/indigo/Documents/JMonkeyEngine/BasicGame/build/ios-arm/libs
Creating iOS resources object file for arm
Creating iOS bootimage and codeimage for arm
class count 3663 string count 14368 call count 26292
heap size 12177772 code size 9000812
Compiling native code for arm
/Users/indigo/Documents/JMonkeyEngine/BasicGame/ios/src/JmeAppHarness.m:32:10: fatal error: 'jni.h' file not found
#include <jni.h>
         ^~~~~~~
1 error generated.
/Users/indigo/Documents/JMonkeyEngine/BasicGame/nbproject/ios-impl.xml:5: The following error occurred while executing this line:
/Users/indigo/Documents/JMonkeyEngine/BasicGame/nbproject/ios-impl.xml:190: apply returned: 1
BUILD FAILED (total time: 3 minutes 57 seconds)


#49

Can you try creating a brand new BASIC GAME project now JDK is fully installed.


#50

I am not sure if it’s related to JDK Selection in the SDK, it’s more like the SYSTEM needs a JDK to be installed. Because then it’s in the include path.
IIRC there was some trouble as apple changed the path it’s typically placed into.


#51

The reason I suggested that is that it compiles past that point with the full project so it’s got to be related to project setup somehow.

I know the main project doesn’t compile fully and I still maintain thats something to do with one of the included libraries.

He could either strip down the main project as it gets past the jni issue or try creating another new BASIC GAME.

Worth a try I’d say.