You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publishing a project on Windows with PublishAot=true yields:
d:\AzDO_work\8\s\xamarin-macios\packages\microsoft.dotnet.ilcompiler\9.0.0\build\Microsoft.NETCore.Native.Unix.targets(115): error: 'xcrun' not found in PATH. Make sure 'xcrun' is available in PATH.
Figure out a way to tell the NativeAOT build logic to not bother computing LinkerArg, because it's not going to be used.
Support setting SysRoot before the SetupOSSpecificProps target, so that it won't be necessary to run xcrun to detect it (and then also not detect if xcrun is in PATH either).
CC @ivanpovazan is this something you can help with?
Apple platform
iOS
Framework version
net9.0-*
Affected platform version
.NET 9
Description
Publishing a project on Windows with PublishAot=true yields:
Steps to Reproduce
There's a test case in this PR: #21800
Build logs
The binlog contains secrets, so I can provide it upon request (or re-create one).
The target that fails:
The text was updated successfully, but these errors were encountered: