Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GHA build errors on Mac #18

Merged
merged 2 commits into from
Oct 6, 2024
Merged

Fix GHA build errors on Mac #18

merged 2 commits into from
Oct 6, 2024

Conversation

janusw
Copy link
Member

@janusw janusw commented Oct 6, 2024

This PR fixes recent GHA failures on MacOS:

error MT0180: This version of Microsoft.iOS requires the iOS 18.0 SDK (shipped with Xcode 16.0).
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).

This is due to the latest MAUI workloads in SDK 8.0.402 requiring XCode 16, see dotnet/maui#24819. It is fixed by updating the Mac build host to MacOS 15 and XCode 16.

After that the build failed because the MacOS 15 image on GHA apparently misses the Android 34 SDK and tools:

Cannot find `aapt`. Please install the Android SDK Build-Tools package with the `/Users/runner/Library/Android/sdk/tools/android` program.

So we install that manually via sdkmanager.

@janusw janusw merged commit 126617d into oxyplot:develop Oct 6, 2024
3 checks passed
@janusw janusw deleted the gha_mac branch October 6, 2024 19:56
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