Update xcodeproj version, generate a compatible one for Xcode 8+ - #1452
Merged
Conversation
ychin
force-pushed
the
use-new-xcodeproj-format
branch
5 times, most recently
from
October 22, 2023 06:20
7edaf3e to
bbcafa5
Compare
Certain newer Xcode features such as parallel builds require a newer version to be specified in the project file. Currently, even though we have enabled `BuildIndependentTargetsInParallel` in the project file, because the objectVersion is still set at 47 (Xcode 6.3), the setting is not used and we get a warning during build time. Upgrade the version to 54 (as automatically done by Xcode) which is Xcode 12 compatible in order to take advantage of parallle builds. One caveat of incrementing the version is that older Xcode versions will not be able to open the project anymore (despite them being able to build it in command-line using xcodebuild). Generate a new xcodeproj with the old objectVersion and have CI check that it's not out of date whenever we change the original xcodeproj, so people using older Xcode versions can still debug and use Xcode with MacVim. Note that the compatible version is compatible with Xcode 6.4, but the xib files are only buildable in Xcode 8+, so we just call it MacVim_xcode8.xcodeproj. Related: macvim-dev#1100
ychin
force-pushed
the
use-new-xcodeproj-format
branch
from
October 22, 2023 06:42
bbcafa5 to
ecea5ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Certain newer Xcode features such as parallel builds require a newer version to be specified in the project file. Currently, even though we have enabled
BuildIndependentTargetsInParallelin the project file, because the objectVersion is still set at 47 (Xcode 6.3), the setting is not used and we get a warning during build time. Upgrade the version to 54 (as automatically done by Xcode) which is Xcode 12 compatible in order to take advantage of parallle builds.One caveat of incrementing the version is that older Xcode versions will not be able to open the project anymore (despite them being able to build it in command-line using xcodebuild). Generate a new xcodeproj with the old objectVersion and have CI check that it's not out of date whenever we change the original xcodeproj, so people using older Xcode versions can still debug and use Xcode with MacVim.
Note that the compatible version is compatible with Xcode 6.4, but the xib files are only buildable in Xcode 8+, so we just call it MacVim_xcode8.xcodeproj.
Related: #1100