Skip to content

Commit 7aa5960

Browse files
committed
GHA: fix Mac build
* by updating to MacOS 14 and XCode 15.4 * there were errors like this: warning MT0079: The recommended Xcode version for Microsoft.iOS 17.5.8018 is Xcode 15.4 or later. The current Xcode version (found in /Applications/Xcode_15.1.app/Contents/Developer) is 15.1. [/Users/runner/work/oxyplot-maui/oxyplot-maui/Source/OxyplotMauiSample/OxyplotMauiSample.csproj::TargetFramework=net8.0-ios] warning MT0079: The recommended Xcode version for Microsoft.MacCatalyst 17.5.8018 is Xcode 15.4 or later. The current Xcode version (found in /Applications/Xcode_15.1.app/Contents/Developer) is 15.1. [/Users/runner/work/oxyplot-maui/oxyplot-maui/Source/OxyplotMauiSample/OxyplotMauiSample.csproj::TargetFramework=net8.0-maccatalyst] error MT0180: This version of Microsoft.iOS requires the iOS 17.5 SDK (shipped with Xcode 15.4). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs). [/Users/runner/work/oxyplot-maui/oxyplot-maui/Source/OxyplotMauiSample/OxyplotMauiSample.csproj::TargetFramework=net8.0-ios]
1 parent aa452d7 commit 7aa5960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dotnet.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
path: ./Source/*/nuget/*.nupkg
4444

4545
macBuild:
46-
runs-on: macos-13
46+
runs-on: macos-14
4747
steps:
4848
- uses: actions/checkout@v4
4949
with:
@@ -55,7 +55,7 @@ jobs:
5555
- name: Setup XCode
5656
uses: maxim-lobanov/setup-xcode@v1
5757
with:
58-
xcode-version: '15.1'
58+
xcode-version: '15'
5959
- name: Install .NET MAUI
6060
run: |
6161
dotnet nuget locals all --clear

0 commit comments

Comments
 (0)