saket
12/12/2019, 3:45 AMiosX64("ios")
with targetFromPreset(presets.iosX64, 'ios')
is resulting in a strange error that I can't figure out. I'm already using Xcode 11 (currently downloading 11.3 if that changes anything). Does this look familiar to anyone?
> Task :shared:linkDebugFrameworkIos
error: Invalid record (Producer: 'LLVM8.0.0svn' Reader: 'LLVM APPLE_1_1100.0.33.8_0')
1 error generated.
e: Compilation failed: The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ command returned non-zero exit code: 1.
output:
* Source files:
* Compiler version info: Konan: 1.3.60 / Kotlin: 1.3.60
* Output kind: FRAMEWORK
e: org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ command returned non-zero exit code: 1.
kpgalligan
12/12/2019, 4:10 AMtargetFromPreset(presets.iosX64, 'ios')
is the old style. Why switch? Not sure what the error is, though.saket
12/12/2019, 4:34 AMtargets { fromPreset(presets.iosX64, 'ios') }
but wanted to keep it short here :pkpgalligan
12/12/2019, 5:10 AMsaket
12/12/2019, 5:30 AMilya.matveev
12/12/2019, 6:22 AMiosX64()
and fromPreset(presets.iosX64)
do exactly the same thing. Could you please run the build with -i
Gradle option and provide the log? Let's see what arguments are passed to the compiler and what error is reported by clang.