|
@@ -34,7 +34,7 @@ To install the iOS deployment plugin, go to Tools→Plugins and under “Availab
|
|
|
|
|
|
|
|
To enable iOS deployment, go to the project settings and under “Application→iOS select the “Enable iOS deployment checkbox, adapt the application ID and then press OK.
|
|
To enable iOS deployment, go to the project settings and under “Application→iOS select the “Enable iOS deployment checkbox, adapt the application ID and then press OK.
|
|
|
|
|
|
|
|
-image:jme3/ios-deployment.png[ios-deployment.png,with="",height=""]
|
|
|
|
|
|
|
+image:jme3/ios-deployment.png[ios-deployment.png,width="",height=""]
|
|
|
|
|
|
|
|
After enabling deployment, a new `ios` directory is created in the project root that contains a `project` and a `src` folder. The `ios/project` folder contains an Xcode project that you will use to build and run the final iOS application for both iPhone and iOS. The `ios/src` folder contains java and native source files for bridging iOS and native code, you can add .java and .m files with your own iOS code here.
|
|
After enabling deployment, a new `ios` directory is created in the project root that contains a `project` and a `src` folder. The `ios/project` folder contains an Xcode project that you will use to build and run the final iOS application for both iPhone and iOS. The `ios/src` folder contains java and native source files for bridging iOS and native code, you can add .java and .m files with your own iOS code here.
|
|
|
|
|
|
|
@@ -54,7 +54,8 @@ When the iOS binaries are built, all needed classes, including a complete copy o
|
|
|
|
|
|
|
|
After the iOS classpath has been created the avian compiler is used to create a native .o file from the classpath for both arm (device) and i386 (simulator). Furthermore the other needed avian .o files are extracted and a library list is compiled which is referenced in the Xcode project.
|
|
After the iOS classpath has been created the avian compiler is used to create a native .o file from the classpath for both arm (device) and i386 (simulator). Furthermore the other needed avian .o files are extracted and a library list is compiled which is referenced in the Xcode project.
|
|
|
|
|
|
|
|
-If an error occurs about jni.h not being found, either install the SDK for 10.9 in XCode or set the header search path in the XCode project settings, in the default project thats `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Headers/`
|
|
|
|
|
|
|
+If an error occurs about jni.h not being found, either install the SDK for 10.9 in XCode or set the header search path in the XCode project settings, in the default project thats +
|
|
|
|
|
+`/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/JavaVM.framework/Headers/`
|
|
|
|
|
|
|
|
|
|
|
|
|
=== Running and deploying the application
|
|
=== Running and deploying the application
|