Up until last Wednesday my pipelines ran fine. There have been no package upgrades or .csproj
file updates so it’s been hard for me to pin down the reason for the pipeline issue. The error is as follows:
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : clang++ exited with code 1: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : Undefined symbols for architecture arm64: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : "_nw_path_monitor_create", referenced from: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : -[MLKITx_MDDNetworkUtilities init] in MLKitMDD [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : "_nw_path_monitor_set_queue", referenced from: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : -[MLKITx_MDDNetworkUtilities init] in MLKitMDD [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : "_nw_path_monitor_set_update_handler", referenced from: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : -[MLKITx_MDDNetworkUtilities init] in MLKitMDD [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : "_nw_path_monitor_start", referenced from: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : -[MLKITx_MDDNetworkUtilities init] in MLKitMDD [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : "_nw_path_uses_interface_type", referenced from: [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : ___34-[MLKITx_MDDNetworkUtilities init]_block_invoke in MLKitMDD [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : ld: symbol(s) not found for architecture arm64 [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_17.5/17.5.8018/targets/Xamarin.Shared.Sdk.targets(1641,3): error : clang: error: linker command failed with exit code 1 (use -v to see invocation) [/Users/runner/work/1/s/MyTestApp/MyTestApp.csproj::TargetFramework=net8.0-ios]
My pipeline details are as follows:
- XCode version : 15.4
- VM image : macOS-14
- .NET version : 8.x (8.0.303 used for the pipelines in question)
I have tried building the project with a physical mac with the same details and OS version number and my app builds fine. If anyone know what is happening your help is much appreciated because this is causing me a lot of trouble.
Thanks in advance.