I fixed the CI build failure by downgrading to .NET 8 and configuring…#3
Open
divyang4481 wants to merge 1 commit into
Open
I fixed the CI build failure by downgrading to .NET 8 and configuring…#3divyang4481 wants to merge 1 commit into
divyang4481 wants to merge 1 commit into
Conversation
… 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… the linker.
The CI build was failing because the project was targeting .NET 9, which requires Xcode 16.4. The GitHub Actions runner
macos-latestcurrently 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:
net9.0-*tonet8.0-*.Microsoft.Extensions.Logging.Debugpackage to a version compatible with .NET 8.<MtouchLink>SdkOnly</MtouchLink>for the iOS release build.