From 57840469280552ccdb76d23f9233aeacb5def3dc Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Wed, 18 Apr 2018 18:54:14 +0700 Subject: [PATCH] [samples] Use gradle properties instead of env vars in Xcode projects --- samples/calculator/ios/calculator.xcodeproj/project.pbxproj | 2 +- samples/uikit/konan.xcodeproj/project.pbxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/calculator/ios/calculator.xcodeproj/project.pbxproj b/samples/calculator/ios/calculator.xcodeproj/project.pbxproj index adf362d0e62..c2f8fe16638 100644 --- a/samples/calculator/ios/calculator.xcodeproj/project.pbxproj +++ b/samples/calculator/ios/calculator.xcodeproj/project.pbxproj @@ -251,7 +251,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"$SRCROOT/../gradlew\" -p \"$SRCROOT\" \"$KONAN_TASK\" --no-daemon -Pkonan.useEnvironmentVariables=true"; + shellScript = "\"$SRCROOT/../gradlew\" -p \"$SRCROOT\" \"$KONAN_TASK\" \\\n-Pkonan.configuration.build.dir=\"$CONFIGURATION_BUILD_DIR\" \\\n-Pkonan.debugging.symbols=\"$DEBUGGING_SYMBOLS\" \\\n-Pkonan.optimizations.enable=\"$KONAN_ENABLE_OPTIMIZATIONS\""; }; /* End PBXShellScriptBuildPhase section */ diff --git a/samples/uikit/konan.xcodeproj/project.pbxproj b/samples/uikit/konan.xcodeproj/project.pbxproj index 3052beb3fa8..065ee2c1229 100644 --- a/samples/uikit/konan.xcodeproj/project.pbxproj +++ b/samples/uikit/konan.xcodeproj/project.pbxproj @@ -188,7 +188,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"$SRCROOT/../gradlew\" -p \"$SRCROOT\" \"$KONAN_TASK\" --no-daemon -Pkonan.useEnvironmentVariables=true"; + shellScript = "\"$SRCROOT/../gradlew\" -p \"$SRCROOT\" \"$KONAN_TASK\" \\\n-Pkonan.configuration.build.dir=\"$CONFIGURATION_BUILD_DIR\" \\\n-Pkonan.debugging.symbols=\"$DEBUGGING_SYMBOLS\" \\\n-Pkonan.optimizations.enable=\"$KONAN_ENABLE_OPTIMIZATIONS\""; }; 2C901F9C1F5D7074004412FA /* Remove Original Binary */ = { isa = PBXShellScriptBuildPhase;