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

remove xcshareddata from gitignore #27563

Closed
wants to merge 1 commit into from
Closed

Conversation

pvinis
Copy link
Contributor

@pvinis pvinis commented Dec 18, 2019

Summary

Files that are inside xcshareddata are meant to be "shared", and that means committed to git. These files are for example ios/RnDiffApp.xcodeproj/xcshareddata/xcschemes/RnDiffApp.xcscheme, and if ignored that means they are removed from the repo or are missing when cloning. These should be present. They are the shared schemes so Xcode knows what and how to build, on everyone's machine.

I noticed it being there in a new project on 0.62.0-rc.0.

Changelog

[iOS] [Changed] - Remove the xcshareddata from .gitignore

Test Plan

this is meant to be shared
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 18, 2019
@elicwhite
Copy link
Member

elicwhite commented Dec 18, 2019

Looks like this was added by @karanjthakkar in #25451

@pvinis
Copy link
Contributor Author

pvinis commented Dec 18, 2019

Ah, good spotting. I remember writing about this, but I couldn't find it. Anyway, like I said there, xcshareddata should be committed, not ignored.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @pvinis in 7980615.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Dec 18, 2019
alloy pushed a commit that referenced this pull request Feb 25, 2020
Summary:
Files that are inside `xcshareddata` are meant to be "shared", and that means committed to git. These files are for example `ios/RnDiffApp.xcodeproj/xcshareddata/xcschemes/RnDiffApp.xcscheme`, and if ignored that means they are removed from the repo or are missing when cloning. These should be present. They are the shared schemes so Xcode knows what and how to build, on everyone's machine.

I noticed it being there in a new project on 0.62.0-rc.0.

## Changelog

[iOS] [Changed] - Remove the xcshareddata from .gitignore
Pull Request resolved: #27563

Differential Revision: D19166364

Pulled By: TheSavior

fbshipit-source-id: 0377dc5b08ba04d121f9ed5e4027942a7a9f463f
@pvinis pvinis deleted the patch-3 branch April 3, 2020 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API: Share CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants