This repository was archived by the owner on Jan 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
tutorials/mpp-iOS-Android
native/KotlinIOS/KotlinIOS.xcodeproj Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ configurations {
3131
3232task packForXCode (type : Sync ) {
3333 final File frameworkDir = new File (buildDir, " xcode-frameworks" )
34- final String mode = System . getenv( ' CONFIGURATION ' )?. toUpperCase() ?: ' DEBUG'
34+ final String mode = project . findProperty( " XCODE_CONFIGURATION " )?. toUpperCase() ?: ' DEBUG'
3535
3636 inputs. property " mode" , mode
3737 dependsOn kotlin. targets. iOS. compilations. main. linkTaskName(" FRAMEWORK" , mode)
Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
33buildscript {
4- ext. kotlin_version = ' 1.3.0-rc-57 '
4+ ext. kotlin_version = ' 1.3.0-rc-190 '
55 repositories {
66 google()
77 jcenter()
Original file line number Diff line number Diff line change 168168 );
169169 runOnlyForDeploymentPostprocessing = 0;
170170 shellPath = /bin/sh;
171- shellScript = "\ncd $SRCROOT/../../SharedCode/build/xcode-frameworks\n./gradlew :SharedCode:packForXCode\n";
171+ shellScript = "\ncd $SRCROOT/../../SharedCode/build/xcode-frameworks\n./gradlew :SharedCode:packForXCode -PXCODE_CONFIGURATION=${CONFIGURATION} \n";
172172 };
173173/* End PBXShellScriptBuildPhase section */
174174
You can’t perform that action at this time.
0 commit comments