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

Add arm64 simulator target to iOS builds #8

Merged
merged 13 commits into from
Aug 9, 2024

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Aug 8, 2024

Required to support builiding our iOS projects with the iossimulator-arm64 target, supposedly avoiding Rosetta emulation and also allowing us to remove the existing iPhone/iPhoneSimulator platform configurations thanks to JetBrains Rider's latest updates.

Script tested locally on my machine with Xcode 15.4 / iOS 17.5 SDK.

Expected output:

CleanShot 2024-08-08 at 12 04 01

@@ -34,7 +34,7 @@ while :; do
ios)
_CMakeEnableBitcode=-DENABLE_BITCODE=0
_CMakeBuildTarget=veldrid-spirv
_CMakeGenerator="-G Xcode -T buildsystem=1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This argument specifies running the script on Xcode's "legacy build system" which was removed since Xcode 14. The script still generate libraries successfully with the new build system.

@peppy peppy requested a review from smoogipoo August 8, 2024 14:15
@smoogipoo smoogipoo merged commit 0c0fcee into ppy:master Aug 9, 2024
10 checks passed
@frenzibyte frenzibyte deleted the iossimulator-arm64 branch August 9, 2024 04:53
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.

2 participants