edf8dc0421
- findCurrent() is used by the build of Kotlin/Native compiler itself. It happens indirectly, via AppleConfigurables. - CurrentXcode invokes xcrun command line tool in its implementation. - Configuration cache prohibits calling external commands All three factors combined make K/N compiler build incompatible with CC. By using xcodeOverride, K/N compiler build can provide its own Xcode instance avoiding calling external commands when it's not allowed by CC.