File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ In Xcode add `Build Phase` (at end of list) with script:
208208 -Pmoko.resources.CONTENTS_FOLDER_PATH=" $CONTENTS_FOLDER_PATH " \
209209 -Pkotlin.native.cocoapods.platform=" $PLATFORM_NAME " \
210210 -Pkotlin.native.cocoapods.archs=" $ARCHS " \
211- -Pkotlin.native.cocoapods.configuration=" $CONFIGURATION "
211+ -Pkotlin.native.cocoapods.configuration=" ${KOTLIN_FRAMEWORK_BUILD_TYPE :- $ CONFIGURATION} "
212212```
213213
214214` YourFrameworkName ` is name of your project framework. Please, see on a static framework warning for get correct task name.
@@ -220,7 +220,7 @@ In Xcode add `Build Phase` (at end of list) with script:
220220``` shell script
221221" $SRCROOT /../gradlew" -p " $SRCROOT /../" :yourframeworkproject:copyFrameworkResourcesToApp \
222222 -Pmoko.resources.PLATFORM_NAME=" $PLATFORM_NAME " \
223- -Pmoko.resources.CONFIGURATION=" $CONFIGURATION " \
223+ -Pmoko.resources.CONFIGURATION=" ${KOTLIN_FRAMEWORK_BUILD_TYPE :- $ CONFIGURATION} " \
224224 -Pmoko.resources.ARCHS=" $ARCHS " \
225225 -Pmoko.resources.BUILT_PRODUCTS_DIR=" $BUILT_PRODUCTS_DIR " \
226226 -Pmoko.resources.CONTENTS_FOLDER_PATH=" $CONTENTS_FOLDER_PATH "
You can’t perform that action at this time.
0 commit comments