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

Use XCode 16 in the CI builds #454

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Numpsy
Copy link
Collaborator

@Numpsy Numpsy commented Mar 3, 2025

The CI build now seems to be having issues building the iOS examples:

ILLINK : 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). [/Users/runner/work/Avalonia.FuncUI/Avalonia.FuncUI/src/Examples/Examples.Mobile.iOS/Examples.Mobile.iOS.fsproj]
ILLINK : error MT2301: The linker step 'Setup' failed during processing: 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). [/Users/runner/work/Avalonia.FuncUI/Avalonia.FuncUI/src/Examples/Examples.Mobile.iOS/Examples.Mobile.iOS.fsproj]
Error: /Users/runner/.nuget/packages/microsoft.net.illink.tasks/8.0.13/build/Microsoft.NET.ILLink.targets(87,5): error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. [/Users/runner/work/Avalonia.FuncUI/Avalonia.FuncUI/src/Examples/Examples.Mobile.iOS/Examples.Mobile.iOS.fsproj]

So, try updating xcode from 15.1 to 16.
(I don't have a mac to hand to test this - just testing it in the CI)

@Numpsy
Copy link
Collaborator Author

Numpsy commented Mar 3, 2025

Except that the macos 13 build agents don't seem to have xcode 16 installed, so it needs to use 14 or 15 instead :-(

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