spierce7
12/18/2021, 3:14 AMspierce7
12/18/2021, 3:14 AMREPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME -Pkotlin.native.cocoapods.archs="$ARCHS" -Pkotlin.native.cocoapods.configuration=$CONFIGURATION -Pkotlin.native.cocoapods.cflags="$OTHER_CFLAGS" -Pkotlin.native.cocoapods.paths.headers="$HEADER_SEARCH_PATHS" -Pkotlin.native.cocoapods.paths.frameworks="$FRAMEWORK_SEARCH_PATHS"
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:compileKotlin UP-TO-DATE
> Task :buildSrc:compileJava NO-SOURCE
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> Task :buildSrc:compileTestKotlin NO-SOURCE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins UP-TO-DATE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE
> Configure project :coroutine-cache
Warning: Kotlin language settings function 'useExperimentalAnnotation' is deprecated and will be removed in next major releases. Please, use 'optIn' instead.
> Configure project :presentation
Unable to detect Kotlin framework build type for CONFIGURATION=QA Debug automatically. Specify 'KOTLIN_FRAMEWORK_BUILD_TYPE' to 'debug' or 'release'
Unable to detect Kotlin framework build type for CONFIGURATION=QA Debug automatically. Specify 'KOTLIN_FRAMEWORK_BUILD_TYPE' to 'debug' or 'release'
Unable to detect Kotlin framework build type for CONFIGURATION=QA Debug automatically. Specify 'KOTLIN_FRAMEWORK_BUILD_TYPE' to 'debug' or 'release'
Unable to detect Kotlin framework build type for CONFIGURATION=QA Debug automatically. Specify 'KOTLIN_FRAMEWORK_BUILD_TYPE' to 'debug' or 'release'
FAILURE: Build failed with an exception.
* What went wrong:
Task 'Debug' not found in project ':presentation'.
* Try:
> Run gradlew tasks to get a list of available tasks.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See <https://docs.gradle.org/7.3.2/userguide/command_line_interface.html#sec:command_line_warnings>
BUILD FAILED in 9s
6 actionable tasks: 6 up-to-date
Mayank
12/18/2021, 11:09 AMspierce7
12/18/2021, 5:47 PMxcodeConfigurationToNativeBuildType[*"QA"*] = NativeBuildType.DEBUG
xcodeConfigurationToNativeBuildType[*"QA Debug"*] = NativeBuildType.DEBUG
Mayank
12/18/2021, 8:51 PMMayank
12/18/2021, 8:51 PMspierce7
12/19/2021, 1:02 AMTask 'Debug' not found in project ':presentation'
still persists though.
fun updateEnv(name: String, value: String) {
val env: Map<String, String> = System.getenv()
val field: java.lang.reflect.Field = env.javaClass.getDeclaredField("m")
field.isAccessible = true
val map = field.get(env) as MutableMap<String, String>
map[name] = value
}
updateEnv("KOTLIN_FRAMEWORK_BUILD_TYPE", "debug")
spierce7
12/19/2021, 1:03 AMMayank
12/19/2021, 4:20 PMMayank
12/19/2021, 4:21 PM