How to fix linker error for System framework not found?
Mr. Dragon
0
Reputation points
I am trying to publish my .Net 8.0 Maui application to the iOS app store. When I run this command to remotely build this archive on my Mac:
I get this error:
```(_LinkNativeExecutable target) ->C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_17.5\17.5.8030\targets\Xamarin.Shared.Sdk.targets(1641,3): error : clang++ exited with code 1: [G:\testapp\testapp.csproj::TargetFramework=net8.0-ios]
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_17.5\17.5.8030\targets\Xamarin.Shared.Sdk.targets(1641,3): error : ld: framework not found System [G:\testapp\testapp.csproj::TargetFramework=net8.0-ios]
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_17.5\17.5.8030\targets\Xamarin.Shared.Sdk.targets(1641,3): error : clang: error: linker command failed with exit code 1 (use -v to see invocation) [G:\testapp\testapp.csproj::TargetFramework=net```
Sign in to answer