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

Fixes so repo builds with Xcode 15 #283

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

JagCesar
Copy link
Contributor

@JagCesar JagCesar commented Aug 9, 2023

This PR Adds the os(xrOS) conditional check, without it the build fails as it falls into the #else block.

This is required to build with Xcode 15 beta 6

@osy
Copy link

osy commented Aug 12, 2023

FYI os(xrOS) does not work since beta 4. It should be os(visionOS). See development...osy:ZIPFoundation:development

@JagCesar
Copy link
Contributor Author

FYI os(xrOS) does not work since beta 4. It should be os(visionOS). See development...osy:ZIPFoundation:development

I don't think that's correct, I'm building one of our products using my fork and it builds, archives and uploads to App Store Connect without issues. Building on Xcode Cloud using Xcode beta 6. 🤷‍♂️

@osy
Copy link

osy commented Aug 12, 2023

I’m on beta 5 so maybe it’s a recent change? Regardless Apple is sticking to visionOS as marketing and changed all their API headers to refer to visionOS. I don’t think people should refer to xrOS.

@weichsel
Copy link
Owner

@JagCesar Thanks for the PR!
I think @osy is right - Apple switched to visionOS for conditional compilation. Will merge and then change that on development.

@weichsel weichsel merged commit 797dac7 into weichsel:development Aug 16, 2023
10 of 11 checks passed
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.

None yet

3 participants