Skip to content

I fixed the CI build failure by downgrading to .NET 8 and configuring…#3

Open
divyang4481 wants to merge 1 commit into
masterfrom
fix/ci-build-failure
Open

I fixed the CI build failure by downgrading to .NET 8 and configuring…#3
divyang4481 wants to merge 1 commit into
masterfrom
fix/ci-build-failure

Conversation

@divyang4481

Copy link
Copy Markdown
Collaborator

… the linker.

The CI build was failing because the project was targeting .NET 9, which requires Xcode 16.4. The GitHub Actions runner macos-latest currently provides Xcode 15.4.

This change downgrades the project to .NET 8, which is compatible with the version of Xcode available in the CI environment.

I also configured the managed linker behavior to "Link Framework SDKs Only" to avoid errors related to the iOS SDK version.

Here are the changes I made:

  • I updated the GitHub Actions workflow to use the .NET 8 SDK.
  • I changed the target frameworks in the .csproj file from net9.0-* to net8.0-*.
  • I downgraded the Microsoft.Extensions.Logging.Debug package to a version compatible with .NET 8.
  • I set <MtouchLink>SdkOnly</MtouchLink> for the iOS release build.

… the linker.

The CI build was failing because the project was targeting .NET 9, which requires Xcode 16.4. The GitHub Actions runner `macos-latest` currently provides Xcode 15.4.

This change downgrades the project to .NET 8, which is compatible with the version of Xcode available in the CI environment.

I also configured the managed linker behavior to "Link Framework SDKs Only" to avoid errors related to the iOS SDK version.

Here are the changes I made:
- I updated the GitHub Actions workflow to use the .NET 8 SDK.
- I changed the target frameworks in the .csproj file from `net9.0-*` to `net8.0-*`.
- I downgraded the `Microsoft.Extensions.Logging.Debug` package to a version compatible with .NET 8.
- I set `<MtouchLink>SdkOnly</MtouchLink>` for the iOS release build.
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.

1 participant