diff --git a/build.gradle b/build.gradle
index b1d651e313..b22078ea48 100644
--- a/build.gradle
+++ b/build.gradle
@@ -253,18 +253,22 @@ project(":ios"){
task incrementConfig{
def vfile = file('robovm.properties')
+ def bversion = getBuildVersion()
def props = new Properties()
if(vfile.exists()){
props.load(new FileInputStream(vfile))
}else{
props['app.id'] = 'io.anuke.mindustry'
- props['app.version'] = '5.0'
+ props['app.version'] = '6.0'
props['app.mainclass'] = 'mindustry.IOSLauncher'
props['app.executable'] = 'IOSLauncher'
props['app.name'] = 'Mindustry'
}
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1) + ""
+ if(bversion != "custom build"){
+ props['app.version'] = versionNumber + ".0" + ("." + bversion)
+ }
props.store(vfile.newWriter(), null)
}
diff --git a/ios/Info.plist.xml b/ios/Info.plist.xml
index cb3c6c3604..7fbb619038 100644
--- a/ios/Info.plist.xml
+++ b/ios/Info.plist.xml
@@ -11,7 +11,7 @@
CFBundleIdentifier
${app.id}
CFBundleInfoDictionaryVersion
- 6.0.120.3
+ 6.0
MinimumOSVersion
9.0.0
CFBundleName