Skip to content

Commit e49c44b

Browse files
committed
GHA: use XCode 15.1 on Mac
* should fix these errors/warnings: error MT0180: This version of Microsoft.iOS requires the iOS 17.2 SDK (shipped with Xcode 15.1). 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] warning MT0079: The recommended Xcode version for Microsoft.MacCatalyst 17.2.8078 is Xcode 15.1 or later. The current Xcode version (found in /Applications/Xcode_15.0.1.app/Contents/Developer) is 15.0.1. [/Users/runner/work/oxyplot-maui/oxyplot-maui/Source/OxyplotMauiSample/OxyplotMauiSample.csproj::TargetFramework=net8.0-maccatalyst]
1 parent d6912c2 commit e49c44b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dotnet.yml

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
uses: actions/setup-dotnet@v3
5353
with:
5454
dotnet-version: 8.0.x
55+
- name: Setup XCode
56+
uses: maxim-lobanov/setup-xcode@v1
57+
with:
58+
xcode-version: '15.1'
5559
- name: Install .NET MAUI
5660
run: |
5761
dotnet nuget locals all --clear

0 commit comments

Comments
 (0)