diff --git a/tools/templates/main.m b/tools/templates/main.m index f87ca6d..6b9014a 100644 --- a/tools/templates/main.m +++ b/tools/templates/main.m @@ -32,10 +32,12 @@ int main(int argc, char *argv[]) { putenv("KIVY_BUILD=ios"); putenv("KIVY_NO_CONFIG=1"); putenv("KIVY_NO_FILELOG=1"); - putenv("KIVY_NO_CONSOLELOG=1"); putenv("KIVY_WINDOW=sdl"); - putenv("KIVY_IMAGE=imageio"); + putenv("KIVY_IMAGE=imageio,tex"); putenv("KIVY_AUDIO=sdl"); + #if DEBUG + putenv("KIVY_NO_CONSOLELOG=1"); + #endif // Export orientation preferences for Kivy export_orientation(); diff --git a/tools/templates/template.xcodeproj/project.pbxproj b/tools/templates/template.xcodeproj/project.pbxproj index 714bf17..baad6a1 100755 --- a/tools/templates/template.xcodeproj/project.pbxproj +++ b/tools/templates/template.xcodeproj/project.pbxproj @@ -271,6 +271,7 @@ GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1"; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; HEADER_SEARCH_PATHS = ( "\"$(PROJECT_DIR)/../build/include\"",