feat: Deprecate dstSubfolderSpec in favor of dstSubfolder#1043
Open
Allen-han21 wants to merge 1 commit intotuist:mainfrom
Open
feat: Deprecate dstSubfolderSpec in favor of dstSubfolder#1043Allen-han21 wants to merge 1 commit intotuist:mainfrom
Allen-han21 wants to merge 1 commit intotuist:mainfrom
Conversation
Resolves tuist#1034 ## Changes - Add `dstSubfolder` property to `PBXCopyFilesBuildPhase` (Xcode 16+ format) - Deprecate `dstSubfolderSpec` as a computed property alias - Add `stringValue` to `SubFolder` enum for human-readable output - Add `init(string:)` to `SubFolder` for parsing Xcode 16+ format - Support decoding both legacy integer format and new string format - Serialize using new `dstSubfolder` string format
bc3760f to
25128de
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.
Resolves #1034
Summary
dstSubfolderproperty toPBXCopyFilesBuildPhasefor Xcode 16+ formatdstSubfolderSpecas a computed property alias for backward compatibilityChanges
stringValuecomputed property toSubFolderenum (e.g.,.frameworks→"Frameworks")init(string:)toSubFolderfor parsing Xcode 16+ formatdstSubfolder(string) first, fallback todstSubfolderSpec(integer) for compatibilitydstSubfolderstring formatTest Plan
stringValueandinit(string:)