I cant find anywhere on the internet on how to add icons for iOS with the Gradle libgdx how will I do so?
Follow these steps:
resources
) under the root of RoboVM project (usually your-project-ios
)robovm.xml
file and add these lines into the resources:<resource>
<directory>resources</directory>
</resource>
You will get something similar to this:
<resources>
<resource>
<directory>../android/assets</directory>
<includes>
<include>**</include>
</includes>
<skipPngCrush>true</skipPngCrush>
</resource>
<resource>
<directory>resources</directory>
</resource>
</resources>
Info.plist.xml
file and add these lines at the end (before </dict></plist>
)<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon</string>
<string>Icon-72</string>
</array>
</dict>
</dict>