ribesg
03/17/2020, 1:07 PMlinkDebugExecutableIos.
It says
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
but there is no logs, so I don’t see what reported errors it’s about. Is there a way to obtain more logs? Passing --debug to gradle doesn’t do anything as I guess the error is in the call to konancribesg
03/17/2020, 1:47 PMkonanc to get logs?Elena Lepilkina
03/17/2020, 3:16 PM1.3.71
To get an error with 1.3.70 you should get konanc arguments from gradle log (use ./gradlew -i ...) anf run this konanc command line from terminal.ribesg
03/17/2020, 3:48 PMElena Lepilkina
03/17/2020, 3:50 PMribesg
03/17/2020, 3:51 PMe: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errorsElena Lepilkina
03/17/2020, 3:52 PMribesg
03/17/2020, 3:54 PMribesg
03/17/2020, 4:00 PMecho $? after running the command it prints 0ribesg
03/17/2020, 4:00 PMribesg
03/17/2020, 4:00 PMElena Lepilkina
03/17/2020, 4:07 PMribesg
03/17/2020, 4:12 PMribesg
03/17/2020, 4:12 PMribesg
03/17/2020, 4:15 PMribesg
03/17/2020, 4:15 PMElena Lepilkina
03/17/2020, 4:39 PMElena Lepilkina
03/18/2020, 7:41 AM./gradlew --stop
./gradlew -Pkotlin.native.disableCompilerDaemon=true <your task and options>ribesg
03/18/2020, 8:37 AMribesg
03/18/2020, 8:37 AMribesg
03/18/2020, 8:51 AM-F"<path>" to -F<path> and it now seem to work again. Hopefully I never get any space in this path though 😕
Not sure what changed and why but that worked with Kotlin 1.3.61Elena Lepilkina
03/18/2020, 9:00 AMlinker-option , to work with spaces you should use "-F<path>". Where is this property set?ribesg
03/18/2020, 9:02 AMbinaries.executable(listOf(buildType)) {
baseName = "app"
linkerOpts(
"-F$podsBuildDir/MaterialComponents",
"-F$carthageBuildDir"
)
}ribesg
03/18/2020, 9:03 AMpodsBuildDir contains spaces it will now fail (not in this project though).
Do you mean I should be able to use "\"-F$podsBuildDir/MaterialComponents\""?Elena Lepilkina
03/18/2020, 9:06 AMribesg
03/18/2020, 9:12 AM" in this specific case and I should be able to use something like .replace(" ", "\ ") if I need to. I just liked the natural solution of wrapping the argument in " betterElena Lepilkina
03/18/2020, 9:14 AMElena Lepilkina
03/26/2020, 7:57 AMlinkerOpts "-F<path>" and path contains spaces linker fails. I checked and I couldn't reproduce this behaviour linker option is passed right way with spaces. Could you share project to reproduce?ribesg
03/26/2020, 9:06 AM"\"-F$podsBuildDir/MaterialComponents\"" and it didn’t work in my case, not sure why but I can’t share my projectElena Lepilkina
03/26/2020, 9:08 AMribesg
03/26/2020, 9:33 AMlinkerOpts("-F$podsBuildDir/MaterialComponents") or linkerOpts("\"-F$podsBuildDir/MaterialComponents\"")? That’s not the same thingribesg
03/26/2020, 9:36 AMElena Lepilkina
03/26/2020, 9:36 AMlinkerOpts("-F$podsBuildDir/MaterialComponents") this is right, it works for cases with spaces also.Elena Lepilkina
03/26/2020, 9:37 AMribesg
09/15/2020, 1:59 PMribesg
09/15/2020, 2:01 PMribesg
09/15/2020, 2:02 PMElena Lepilkina
09/15/2020, 2:04 PMlinkerOpts("-F$podsBuildDir/MaterialComponents") ?ribesg
09/15/2020, 2:06 PMribesg
09/15/2020, 2:06 PM\" somewhereribesg
09/15/2020, 2:08 PM