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 misc MacVim project warnings in Xcode #1391

Conversation

ychin
Copy link
Member

@ychin ychin commented Mar 16, 2023

Turn on parallel building, to remove the "Building targets in manual order is deprecated" project warning.

Also, fix configure to only set macOS deployment target to the major version of macOS when automatically setting it from the client OS version. E.g. On macOS 13.2 it will set deployment to 13.0. This is useful because usually we don't want it to be as granular as the minor version which had caused issues in Homebrew before (Homebrew/homebrew-core#111693) where they had to fix on their end, and also 13.2 ends up being too new for Xcode which only expects to see up to 13.1 as deployment target.

  • Note that the logic used to work in OSX 10.X days because the "minor" version of X is actually the OS version, whereas in macOS 11/12/13 we now have versions like 13.2 where the first number is now the OS version. The configure script will now detect whether it's 10.X.Y or X.Y (X != 10) and set the correct target correspondingly.

@ychin ychin added this to the Release 177 milestone Mar 16, 2023
@ychin ychin force-pushed the fix-xcode-project-warnings-parallel-deployment-target branch from 3146b61 to b91d231 Compare March 16, 2023 09:40
Turn on parallel building, to remove the "Building targets in manual
order is deprecated" project warning.

Also, fix configure to only set macOS deployment target to the major
version of macOS when automatically setting it from the client OS
version. E.g. On macOS 13.2 it will set deployment to 13.0. This is
useful because usually we don't want it to be as granular as the minor
version which had caused issues in Homebrew before
(Homebrew/homebrew-core#111693) where they had
to fix on their end, and also 13.2 ends up being too new for Xcode which
only expects to see up to 13.1 as deployment target.

- Note that the logic used to work in OSX 10.X days because the "minor"
  version of X is actually the OS version, whereas in macOS 11/12/13 we
  now have versions like 13.2 where the first number is now the OS
  version. The configure script will now detect whether it's 10.X.Y or
  X.Y (X != 10) and set the correct target correspondingly.
@ychin ychin force-pushed the fix-xcode-project-warnings-parallel-deployment-target branch from b91d231 to e443fb4 Compare March 17, 2023 23:04
@ychin ychin merged commit 01bcda7 into macvim-dev:master Mar 18, 2023
@ychin ychin deleted the fix-xcode-project-warnings-parallel-deployment-target branch March 18, 2023 11:36
@ychin ychin added the Non User Facing Non-user facing change. These issues do no need to show up in release notes. label Mar 20, 2023
tono pushed a commit to tono/macvim that referenced this pull request Mar 21, 2023
…ngs-parallel-deployment-target

Fix misc MacVim project warnings in Xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non User Facing Non-user facing change. These issues do no need to show up in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant