Why did the "swift compilation time debugging options" cause CompileSwift to fail?

Viewed 260

I use these flags in my project:

OTHER_SWIFT_FLAGS = "-driver-time-compilation -Xfrontend -debug-time-compilation -Xfrontend -debug-time-function-bodies -Xfrontend -debug-time-expression-type-checking";

When I upgraded the Xcode version from 12.4 to 12.5.1, I started receiving this error:

<unknown>:0: error: unknown argument: '-debug-time-compilation'
Command CompileSwift failed with a nonzero exit code

Has there been any llvm update or something like that?

1 Answers
Related