summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/Info.plist.xml59
-rw-r--r--ios/build.gradle65
-rw-r--r--ios/data/Default-568h@2x.pngbin84382 -> 0 bytes
-rw-r--r--ios/data/Default.pngbin29751 -> 0 bytes
-rw-r--r--ios/data/Default@2x.pngbin85109 -> 0 bytes
-rw-r--r--ios/data/Default@2x~ipad.pngbin97633 -> 0 bytes
-rw-r--r--ios/data/Default~ipad.pngbin34134 -> 0 bytes
-rw-r--r--ios/data/Icon-72.pngbin4439 -> 0 bytes
-rw-r--r--ios/data/Icon-72@2x.pngbin6231 -> 0 bytes
-rw-r--r--ios/data/Icon.pngbin4028 -> 0 bytes
-rw-r--r--ios/data/Icon@2x.pngbin5679 -> 0 bytes
-rw-r--r--ios/robovm.properties6
-rw-r--r--ios/robovm.xml46
-rw-r--r--ios/src/ch/asynk/rustanddust/IOSLauncher.java22
14 files changed, 0 insertions, 198 deletions
diff --git a/ios/Info.plist.xml b/ios/Info.plist.xml
deleted file mode 100644
index 407bec7..0000000
--- a/ios/Info.plist.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleDisplayName</key>
- <string>${app.name}</string>
- <key>CFBundleExecutable</key>
- <string>${app.executable}</string>
- <key>CFBundleIdentifier</key>
- <string>${app.id}</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${app.name}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>${app.version}</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${app.build}</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>UIViewControllerBasedStatusBarAppearance</key>
- <false/>
- <key>UIStatusBarHidden</key>
- <true/>
- <key>UIDeviceFamily</key>
- <array>
- <integer>1</integer>
- <integer>2</integer>
- </array>
- <key>UIRequiredDeviceCapabilities</key>
- <array>
- <string>armv7</string>
- <string>opengles-2</string>
- </array>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>CFBundleIcons</key>
- <dict>
- <key>CFBundlePrimaryIcon</key>
- <dict>
- <key>CFBundleIconFiles</key>
- <array>
- <string>Icon</string>
- <string>Icon-72</string>
- </array>
- </dict>
- </dict>
-</dict>
-</plist>
diff --git a/ios/build.gradle b/ios/build.gradle
deleted file mode 100644
index f237649..0000000
--- a/ios/build.gradle
+++ /dev/null
@@ -1,65 +0,0 @@
-sourceSets.main.java.srcDirs = [ "src/" ]
-
-sourceCompatibility = '1.7'
-[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
-
-ext {
- mainClassName = "ch.asynk.rustanddust.IOSLauncher"
-}
-
-// Extracts native libs (*.a) from the native-ios.jar and places them
-// under build/libs/ios/.
-task copyNatives << {
- file("build/libs/ios/").mkdirs();
- configurations.natives.files.each { jar ->
- def outputDir = null
- if (jar.name.endsWith("natives-ios.jar")) outputDir = file("build/libs/ios")
- if (outputDir != null) {
- copy {
- from zipTree(jar)
- into outputDir
- include "*.a"
- }
- }
- }
-}
-
-// Updates a robovm.xml file.
-task updateRoboVMXML << {
- def xml = file('robovm.xml')
-
- if (!xml.exists()) {
- return
- }
-
- // Find all native (*.a) libraries beneath libs
- def libtree = fileTree(dir: 'build/libs', include: '**/*.a')
-
- def config = new groovy.util.XmlParser().parse(xml)
- config.libs.each {libs ->
- libs.children().clear()
- libtree.each { File file ->
- libs.appendNode('lib', 'build/libs/ios/' + file.getName())
- }
- }
-
- def writer = new FileWriter(xml)
- def printer = new XmlNodePrinter(new PrintWriter(writer))
- printer.setPreserveWhitespace true
- printer.print(config)
-}
-
-updateRoboVMXML.dependsOn copyNatives
-build.dependsOn updateRoboVMXML
-tasks.eclipse.dependsOn updateRoboVMXML
-
-launchIPhoneSimulator.dependsOn build
-launchIPadSimulator.dependsOn build
-launchIOSDevice.dependsOn build
-createIPA.dependsOn build
-
-
-eclipse.project {
- name = appName + "-ios"
- natures 'org.robovm.eclipse.RoboVMNature'
-} \ No newline at end of file
diff --git a/ios/data/Default-568h@2x.png b/ios/data/Default-568h@2x.png
deleted file mode 100644
index 101752f..0000000
--- a/ios/data/Default-568h@2x.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Default.png b/ios/data/Default.png
deleted file mode 100644
index f1a5582..0000000
--- a/ios/data/Default.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Default@2x.png b/ios/data/Default@2x.png
deleted file mode 100644
index ca32f62..0000000
--- a/ios/data/Default@2x.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Default@2x~ipad.png b/ios/data/Default@2x~ipad.png
deleted file mode 100644
index bb77ef0..0000000
--- a/ios/data/Default@2x~ipad.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Default~ipad.png b/ios/data/Default~ipad.png
deleted file mode 100644
index 855e4f2..0000000
--- a/ios/data/Default~ipad.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Icon-72.png b/ios/data/Icon-72.png
deleted file mode 100644
index 8cc5759..0000000
--- a/ios/data/Icon-72.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Icon-72@2x.png b/ios/data/Icon-72@2x.png
deleted file mode 100644
index ec5e380..0000000
--- a/ios/data/Icon-72@2x.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Icon.png b/ios/data/Icon.png
deleted file mode 100644
index 7f4bf36..0000000
--- a/ios/data/Icon.png
+++ /dev/null
Binary files differ
diff --git a/ios/data/Icon@2x.png b/ios/data/Icon@2x.png
deleted file mode 100644
index eddc17c..0000000
--- a/ios/data/Icon@2x.png
+++ /dev/null
Binary files differ
diff --git a/ios/robovm.properties b/ios/robovm.properties
deleted file mode 100644
index e4ed11a..0000000
--- a/ios/robovm.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-app.version=1.0
-app.id=ch.asynk.rustanddust.IOSLauncher
-app.mainclass=ch.asynk.rustanddust.IOSLauncher
-app.executable=IOSLauncher
-app.build=1
-app.name=RustAndDust
diff --git a/ios/robovm.xml b/ios/robovm.xml
deleted file mode 100644
index df09d9d..0000000
--- a/ios/robovm.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<config>
- <executableName>${app.executable}</executableName>
- <mainClass>${app.mainclass}</mainClass>
- <os>ios</os>
- <arch>thumbv7</arch>
- <target>ios</target>
- <iosInfoPList>Info.plist.xml</iosInfoPList>
- <resources>
- <resource>
- <directory>../android/assets</directory>
- <includes>
- <include>**</include>
- </includes>
- <skipPngCrush>true</skipPngCrush>
- </resource>
- <resource>
- <directory>data</directory>
- </resource>
- </resources>
- <forceLinkClasses>
- <pattern>com.badlogic.gdx.scenes.scene2d.ui.*</pattern>
- <pattern>com.badlogic.gdx.physics.bullet.**</pattern>
- <pattern>com.android.okhttp.HttpHandler</pattern>
- <pattern>com.android.okhttp.HttpsHandler</pattern>
- <pattern>com.android.org.conscrypt.**</pattern>
- <pattern>com.android.org.bouncycastle.jce.provider.BouncyCastleProvider</pattern>
- <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings</pattern>
- <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi</pattern>
- <pattern>com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std</pattern>
- <pattern>com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi</pattern>
- <pattern>com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL</pattern>
- <pattern>org.apache.harmony.security.provider.cert.DRLCertFactory</pattern>
- <pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern>
- </forceLinkClasses>
- <libs>
- </libs>
- <frameworks>
- <framework>UIKit</framework>
- <framework>OpenGLES</framework>
- <framework>QuartzCore</framework>
- <framework>CoreGraphics</framework>
- <framework>OpenAL</framework>
- <framework>AudioToolbox</framework>
- <framework>AVFoundation</framework>
- </frameworks>
-</config>
diff --git a/ios/src/ch/asynk/rustanddust/IOSLauncher.java b/ios/src/ch/asynk/rustanddust/IOSLauncher.java
deleted file mode 100644
index df242cf..0000000
--- a/ios/src/ch/asynk/rustanddust/IOSLauncher.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package ch.asynk.rustanddust;
-
-import org.robovm.apple.foundation.NSAutoreleasePool;
-import org.robovm.apple.uikit.UIApplication;
-
-import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
-import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
-import ch.asynk.rustanddust.RustAndDust;
-
-public class IOSLauncher extends IOSApplication.Delegate {
- @Override
- protected IOSApplication createApplication() {
- IOSApplicationConfiguration config = new IOSApplicationConfiguration();
- return new IOSApplication(new RustAndDust(), config);
- }
-
- public static void main(String[] argv) {
- NSAutoreleasePool pool = new NSAutoreleasePool();
- UIApplication.main(argv, null, IOSLauncher.class);
- pool.close();
- }
-} \ No newline at end of file