-
Notifications
You must be signed in to change notification settings - Fork 549
Closed as not planned
Closed as not planned
Copy link
Description
Apple platform
iOS
Framework version
net9.0-*
Affected platform version
VS 2022 17.13.1
Description
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net9.0_18.2\18.2.9180\targets\Xamarin.Shared.Sdk.targets(1665,3): error : clang++ exited with code 1:
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net9.0_18.2\18.2.9180\targets\Xamarin.Shared.Sdk.targets(1665,3): error : ld: file is empty in '/Users/**/Library/Caches/Xamarin/mtbs/builds/**/e714b99856d2d8abeed05f03af7a2bd21b67f244c175af00f39b5193cbd8bd41/C:/Program Files/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/9.0.2/runtimes/ios-arm64/native/libmono-component-marshal-ilgen-static.a'
1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net9.0_18.2\18.2.9180\targets\Xamarin.Shared.Sdk.targets(1665,3): error : clang++: error: linker command failed with exit code 1 (use -v to see invocation)
I checked that path on the Mac and it is indeed a 0 byte file. All the other files in that directory are non-zero in size.
The corresponding file on my Windows machine is 199KB.
I scp'd that file from my Windows machine to the Mac and that allowed the build process to get past that error and it seems to fully build, though it can't deploy due to an issue with the iOS version.
Steps to Reproduce
I don't know. I have had to do so many things to get to this point with a brand new Mac and an app that has never been built for iOS before.
Did you find any workaround?
Yes, I copied the file from my Windows machine to the Mac, overwriting the 0-byte file.
Build logs
No response
Metadata
Metadata
Assignees
Labels
No labels