Skip to content

Conversation

Copy link

Copilot AI commented Dec 12, 2025

  • Update CSharpMath.Ios from xamarin.ios1.0 to net10.0-ios
  • Update CSharpMath.Ios.Tests from Xamarin.iOS format to net10.0-ios SDK-style
  • Update CSharpMath.Ios.Example from Xamarin.iOS format to net10.0-ios SDK-style
  • Update iOS workflow to setup .NET 10 and use correct build output path
  • Install iOS workload in Test workflow to fix build failure
  • Security review completed - no issues found

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update workflows to fix build issues Migrate iOS projects from Xamarin.iOS to .NET 10 Dec 12, 2025
Copilot AI requested a review from charlesroddie December 12, 2025 10:39
@charlesroddie
Copy link
Collaborator

@copilot The code changes look good. There are many test failures which is expected. In this PR you should get the Ios stage of the Test yml pipeline into good shape, passing all tests (unless the failures are caused by issued unrelated to the net10.0-ios update).

Currently the failure in the Ios stage of the Tests pipeline is:

Error: /Users/runner/.dotnet/sdk/10.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: ios [/Users/runner/work/CSharpMath/CSharpMath/CSharpMath.Ios/CSharpMath.Ios.csproj]
Error: /Users/runner/.dotnet/sdk/10.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/runner/work/CSharpMath/CSharpMath/CSharpMath.Ios/CSharpMath.Ios.csproj]
Error: /Users/runner/.dotnet/sdk/10.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: ios [/Users/runner/work/CSharpMath/CSharpMath/CSharpMath.Ios.Tests/CSharpMath.Ios.Tests.csproj]
Error: /Users/runner/.dotnet/sdk/10.0.101/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/runner/work/CSharpMath/CSharpMath/CSharpMath.Ios.Tests/CSharpMath.Ios.Tests.csproj]

Copy link
Author

Copilot AI commented Dec 12, 2025

@copilot The code changes look good. There are many test failures which is expected. In this PR you should get the Ios stage of the Test yml pipeline into good shape, passing all tests (unless the fai...

Fixed in commit 35510c2. Added dotnet workload install ios step to the iOS job in the Test workflow, which will install the required iOS workload before attempting to restore and build the projects.

@charlesroddie
Copy link
Collaborator

Going to take this approach instead: #231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants