Skip to content

Commit 96c6bc1

Browse files
committed
COMPOSER: fix ios package naming when creating ios project
1 parent e9cab0a commit 96c6bc1

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[0.6.0]
2+
- COMPOSER: fix package naming when creating ios project
3+
14
[0.5.0]
25
- Updated to libgdx 1.4.1
36
- ENGINE: Debug screen with speed control, record/play games and go to any scene in runtime

adventure-composer/src/main/java/com/bladecoder/engineeditor/setup/BladeEngineSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public void build (ProjectBuilder builder, String outputDir, String appName, Str
361361

362362
// ios robovm
363363
if (builder.modules.contains(ProjectType.IOS)) {
364-
project.files.add(new ProjectFile("ios/src/IOSLauncher", "ios/src/" + packageDir + "/IOSLauncher.java", true));
364+
project.files.add(new ProjectFile("ios/src/IOSLauncher", "ios/src/" + packageDir + "/ios/IOSLauncher.java", true));
365365
project.files.add(new ProjectFile("ios/data/Default.png", false));
366366
project.files.add(new ProjectFile("ios/data/[email protected]", false));
367367
project.files.add(new ProjectFile("ios/data/Default@2x~ipad.png", false));

adventure-composer/src/main/resources/projectTmpl/ios/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sourceCompatibility = '1.7'
44
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
55

66
ext {
7-
mainClassName = "%PACKAGE%.IOSLauncher"
7+
mainClassName = "%PACKAGE%.ios.IOSLauncher"
88
}
99

1010
// Extracts native libs (*.a) from the native-ios.jar and places them

adventure-composer/src/main/resources/projectTmpl/ios/src/IOSLauncher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package %PACKAGE%;
1+
package %PACKAGE%.ios;
22

33
import org.robovm.apple.foundation.NSAutoreleasePool;
44
import org.robovm.apple.uikit.UIApplication;

0 commit comments

Comments
 (0)