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

Tweak XCode version detection, update CI to XCode 15.4 #4066

Merged
merged 1 commit into from
May 22, 2024

Conversation

randombit
Copy link
Owner

No description provided.

@randombit randombit force-pushed the jack/xcode-version branch 2 times, most recently from 33df4ce to c196935 Compare May 21, 2024 23:43
@randombit randombit changed the title Tweak XCode version detection Tweak XCode version detection, update CI to XCode 15.4 May 21, 2024
@randombit randombit marked this pull request as ready for review May 21, 2024 23:43
@randombit randombit force-pushed the jack/xcode-version branch from c196935 to 74c594a Compare May 22, 2024 10:48
This gives us enough extra information that we could set the build
time minimum to XCode 15.3 in the future if so desired. Using the
Clang version macros did not provide a way of distinguishing XCode
15.3 from prior versions.
Comment on lines +33 to +35
* Even __apple_build_version__ doesn't always get updated to reflect
* the XCode version, eg XCode 15.4 and XCode 15.3 both define
* __apple_build_version__ to 15000309
Copy link
Collaborator

Choose a reason for hiding this comment

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

Judging from the release notes of 15.3 and 15.4, they didn't seem to have updated clang from .3 to .4 (no clang related entries in the notes). Perhaps that's why the pre-processor define didn't get updated either.

On the plus side: That probably means, we wouldn't really benefit from being able to tell .3 and .4 apart anyway.

That said: It's still ridiculous. 🤣

Copy link
Owner Author

Choose a reason for hiding this comment

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

This is my guess also. XCode 15.0 through 15.2 also have the same __apple_build_version__, and there are again no Clang related changes in the release notes for 15.1 or 15.2

@randombit randombit merged commit 8d0ab77 into master May 22, 2024
43 checks passed
@randombit randombit deleted the jack/xcode-version branch May 22, 2024 15:40
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