#if debug not working on OSX

11 views
Skip to first unread message

Jonatan Van Hove

unread,
Mar 27, 2015, 1:30:05 PM3/27/15
to haxef...@googlegroups.com
I'm building for iOS on OSX with the command 

lime test ios

I have also tried 

lime build ios
lime build ios -clean

in GameClass.hx I have the following:

#if debug
initstate = playstate;
#else
initstate = splashscreenstate;
#end

it always starts the game in the playstate. 
Does this mean I'm not making a Release build? Which command makes a release build?
Or does it mean that #if debug does not work? Which conditional can I use for debug?

Reply all
Reply to author
Forward
0 new messages