Skip to content

Commit 472881d

Browse files
committed
Fix xcode-select : error : tool 'xcodebuild' requires Xcode
Port #100190 to internal build scripts Fixes #102471
1 parent 3b95ae9 commit 472881d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<Output TaskParameter="ConsoleOutput" PropertyName="_CC_LDFLAGS" />
6767
</Exec>
6868

69-
<Exec Command="xcodebuild -version" Condition="'$(_IsApplePlatform)' == 'true'" IgnoreExitCode="true" StandardOutputImportance="Low" ConsoleToMSBuild="true">
69+
<Exec Command="clang --version" Condition="'$(_IsApplePlatform)' == 'true'" IgnoreExitCode="true" StandardOutputImportance="Low" ConsoleToMSBuild="true">
7070
<Output TaskParameter="ExitCode" PropertyName="_XcodeVersionStringExitCode" />
7171
<Output TaskParameter="ConsoleOutput" PropertyName="_XcodeVersionString" />
7272
</Exec>

0 commit comments

Comments
 (0)