-
Notifications
You must be signed in to change notification settings - Fork 39
refactor: migrate to xcodeproj 9 #147
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
Conversation
7feb8e4 to
3b37cf5
Compare
36fbb3c to
bb80553
Compare
| mergedBinaryType: mergedBinaryType, | ||
| mergeable: mergeable, | ||
| onDemandResourcesTags: onDemandResourcesTags, | ||
| metadata: metadata, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The items removed here do not map directly to properties in an XcodeProj file. Most of these parameters control Tuist specific behaviors like scheme generation or adding build settings. Since this mapper is reading already generated .pbxproj files the values there should be the source of truth and we should not reconstruct Tuist specific information from build settings.
fortmarek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing how much the code has simplified with the new XcodeProj changes definitely suggests that the refactoring was worth it. Thanks a ton @waltflanagan. This is good to merge once the Package.swift is updated to use the 9.0.0 XcodeProj without using a fork.
Migration to what will be come the 9.0 release of
XcodeProjwhich introduces a strongly typed API around components of apbxprojthat used to be represented byAnyA side effect of this changes removes some inference of
Targetproperties from build settings. These properties manage Tuist specific behaviors and would never occur in an Xcode created project in normal circumstances.DO NOT MERGE without updating the
package.swiftreference oncexcodeprojis updated to 9.0,