Skip to content

Conversation

yongjincho92
Copy link
Contributor

@yongjincho92 yongjincho92 commented Dec 20, 2023

Issue :
Xcode schemes were not sorted as expected

Cause :
Scheme sorting hint file was included under xcuserdata dir and was not being rsycn due to existing --exaclude pattern.

Change :
Make the existing exclude a little bit more specific.

Signed-off-by: Yongjin Cho <[email protected]>
@yongjincho92 yongjincho92 requested a review from a team as a code owner December 20, 2023 22:11
@yongjincho92 yongjincho92 self-assigned this Dec 20, 2023
@@ -134,7 +134,7 @@ rsync \
--chmod=u+w,F-x \
--exclude=project.xcworkspace \
--exclude=rules_xcodeproj/bazel \
--exclude=xcuserdata \
--exclude="*.xcbkptlist" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User created schemes should be left alone as well. Probably better to leave this exclude as is, and copy over the schememanagement file, similar to the incremental installer?

# Copy over `xcschememanagement.plist`
username="$(/usr/bin/id -un)"
readonly username
readonly user_xcschmes="$dest/xcuserdata/$username.xcuserdatad/xcschemes"
readonly dest_xcschememanagement="$user_xcschmes/xcschememanagement.plist"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, let me update this PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yongjincho92 Any progress on this?

@brentleyjones
Copy link
Contributor

@yongjincho92 This still seems like a good idea.

@erneestoc
Copy link

+1

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.

3 participants