.NET MAUI & GitHub Actions Missing Targets Default Projects
Starting a fresh .NET MAUI project from the Visual Studio template, everything builds fine locally — then CI/CD comes to a screeching halt with a NETSDK1047 error about missing targets for net10.0-ios/ios-arm64. This post walks through the root cause and the fix.
What you’ll learn
- Why splitting
dotnet restoreanddotnet publish --no-restorecreates a different dependency chain than building directly - The
.csprojfix: adding a conditionalRuntimeIdentifierproperty for iOS targets - A complete GitHub Actions workflow for .NET MAUI iOS builds with signing, versioning via GitVersion, and workload installation