I’ve been using the same build script for a few weeks now and suddenly I notice that my testers are seeing debug related things in the game - I use the sys.get_engine_info().is_debug
flag in my game code to test a bunch of features. Long story short - builds now seem to be reporting this property as true, when in the past they didn’t.
I am using the latest version of Bob, and Defold is up to date as of writing this post.
Here is how my build script looks, I don’t use -d
anywhere. The target in question is bundle-ios-itunes
I’ll keep digging and update this thread if I find anything, but currently I’m a little stumped
<target name="prepare.plist">
<exec executable="python" failonerror="true">
<arg line ="prepare-plist.py" />
</exec>
</target>
<target name="clean">
<echo>Cleaning</echo>
<java jar="bob.jar" fork="true" failonerror="true">
<arg line="clean distclean" />
<arg line="-r ${bob.root}" />
<arg line="-o ${bob.output}" />
<arg line="--verbose" />
</java>
</target>
<target name="resolve">
<echo>Resolving</echo>
<java jar="bob.jar" fork="true" failonerror="true">
<arg line="resolve" />
<arg line="--email foos@bar.com --auth 12345" />
<arg line="-r ${bob.root}" />
<arg line="-o ${bob.output}" />
<arg line="--verbose" />
</java>
</target>
<target name="build" unless="already.built" depends="clean,resolve,prepare.plist" >
<property name="already.built" value="true" />
<antcall target="increment-revision" />
<antcall target="update-project-version" />
<echo>Building</echo>
<java jar="bob.jar" fork="true" failonerror="true">
<arg line="build" />
<arg line="--archive" />
<arg line="-tc true" />
<arg line="-r ${bob.root}" />
<arg line="-o ${bob.output}" />
</java>
</target>
<target name="bundle-ios-itunes" depends="build">
<echo>Building for iTunes Connect</echo>
<java jar="bob.jar" fork="true" failonerror="true">
<arg line="bundle" />
<arg line="-p armv7-darwin" />
<arg line="--identity ${ios.identity.distribution}" />
<arg line="-mp ${ios.provision.distribution}" />
<arg line="-r ${bob.root}" />
<arg line="-o ${bob.output}" />
<arg line="--bundle-output ${bundle.output.public}" />
</java>
</target>