Game Development Reference
In-Depth Information
<includes>
<include>**</include>
</includes>
<skipPngCrush>true</skipPngCrush>
</resource>
<resource>
<directory>data</directory>
</resource>
</resources>
<forceLinkClasses>
<pattern>com.badlogic.gdx.scenes.scene2d.ui.*</pattern>
</forceLinkClasses>
<libs>
<lib>build/libs/ios/libgdx.a</lib>
<lib>build/libs/ios/libObjectAL.a</lib>
</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>
This file holds the important link: the path to the assets folder in the demo-android
project. Under the <resource> key, the path to the Android assets folder is set.
However, we need iOS-specific icons and splash images, and we don't need to
put this in the Android assets folder (believe me, you don't want to increase
your Android APK size with unwanted data). Instead, we put it in the folder data
inside the demo-robovm project and include the path under the <resources> key
in robovm.xml .
Now comes the crucial part: the Info.plist file. Every iOS app contains the
Info.plist file and it holds crucial information about the characteristics,
permissions, and other features about the app. In our RoboVM version, it is
named Info.plist.xml . The following code is taken from the Info.plist.xml
file in our demo-robovm project:
<?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">
 
Search WWH ::




Custom Search