Hey all, I’m using `./gradlew :shared:embedAndSign...
# kotlin-native
Hey all, I’m using
./gradlew :shared:embedAndSignAppleFrameworkForXcode
in a run script build phase in Xcode. Is there a way to change the output format of the errors from kotlin compiler (or gradle?) so that they show up as errors in Xcode? Currently I’m using sed like this:
./gradlew :shared:embedAndSignAppleFrameworkForXcode 2> >(sed 's_^e: \([^:]*\): (\([0-9]*\), \([0-9]*\)): \(.*\)_&\n\1:\2:\3: error: \4_g' >&1)
which is a bit ugly but works. It seems like there should be a way to tell the kotlin compiler/gradle directly what format to use?
I am not aware of any existing solutions. Maybe a custom logger with a StandardOutputListener that handles the transformation?