5.5 C
New York
Saturday, March 15, 2025

.NET 8.0 SDK Fashion Challenge, Migrating to VS code for iOS 18 help


I’ve a NET8.0-iOS venture on Visible Studio for Mac 2022, which helps iOS 17 however from April we have to generate App Retailer construct utilizing newest Xcode 16 with iOS 18. So to help this we’re migrating from Visible Studio for Mac 2022 to VS code utilizing C# dev package. Whereas attempting to construct the venture we’re getting numerous points just like the under and unable to publish builds additionally.
Any help shall be of nice assist. Thanks upfront.

/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8319/targets/Xamarin.Shared.Sdk.targets(1648,3):
error : clang++ exited with code 1:
[/Users/Documents/Dev/NET8_PROD/S/S.iOS.csproj]

/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8319/targets/Xamarin.Shared.Sdk.targets(1648,3):
error : ld: constructing for ‘iOS-simulator’, however linking in object file
(/Customers/Paperwork/Dev/NET8_PROD/S.iOS/obj/Debug/net8.0-ios/iossimulator-arm64/linker-cache/AppCenter.a[arm64]2)
constructed for ‘iOS’

[/Users/Documents/Dev/NET8_PROD/S.iOS/S.iOS.csproj]
/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8319/targets/Xamarin.Shared.Sdk.targets(1648,3):
error : clang++: error: linker command failed with exit code 1 (use -v
to see invocation) [/Users/Documents/Dev/NET8_PROD/S.iOS/S.iOS.csproj]

If I’m going forward and take away App Middle Nuget bundle, the error come from Google Maps nuget bundle.

/usr/native/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8319/targets/Xamarin.Shared.Sdk.targets(1648,3):
error : ld: constructing for ‘iOS-simulator’, however linking in object file
(/Customers/Library/Caches/XamarinBuildDownload/GMps-6.0.1/Maps/Frameworks/GoogleMaps.framework/GoogleMaps)
constructed for ‘iOS’ [/Users/Documents/Dev/NET8_PROD/S.iOS/S.iOS.csproj]

I’m presently attempting to construct on simulator working on Apple Silicon M3 Max. I attempted each in VSCode and Rider getting the identical error.

Visible Studio for Mac 2022 has ended help however nonetheless one way or the other runs iOS 18 simulators and runs on system, I’m engaged on this for present improvement however unable to generate construct for App Retailer utilizing the identical. I’m completely caught on this for previous week and any assist could be drastically appreciated.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles