-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Add generated xcshareddata
folder to gitignore
#25451
Conversation
template/_gitignore
Outdated
@@ -21,6 +21,7 @@ DerivedData | |||
*.ipa | |||
*.xcuserstate | |||
project.xcworkspace |
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.
I guess we can remove this line too since we're changing this file :D
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.
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.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was successfully merged by @karanjthakkar in d57cdac. When will my fix make it into a release? | Upcoming Releases |
This phrase does not describe change. It is incorrect statement or should be explained. Why exactly this change? |
)" This reverts commit d57cdac.
Summary: The merge of #25451 added `xcshareddata` to the .gitignore file in `template`. Two xcscheme files in the `xcschemes` subfolder were still left in the template and should have been removed at the same time. The project opens and builds fine without the xcscheme files both from command line and in Xcode. ## Changelog [iOS] [Changed] - Remove ignored iOS schemes from template Pull Request resolved: #26471 Test Plan: Generate new project, remove files, verify that project builds, and opens correctly in Xcode. Please review karanjthakkar satya164 kelset Differential Revision: D17491748 Pulled By: cpojer fbshipit-source-id: 391545293c2d09d52f78f56cd91cef5dcf036a9a
|
Summary: Adding `xcscheme` files for iOS template back in. They were removed in #26471 after #25451. We have reverted the change on `.gitignore`, as this directory is supposed to be in git, but we didn't revert the removed files. Now they are back as well. You can also see here that the two files are still missing, they got removed on rc.0 and are still missing on rc.3. https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0-rc.3 ## Changelog [iOS] [Changed] - Add `xcscheme` files for iOS template back in. Pull Request resolved: #28198 Test Plan: `init` a nre project, and check if the files are there or not. The paths are `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp.xcscheme` and `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp-tvOS.xcscheme` Reviewed By: cpojer Differential Revision: D20179447 Pulled By: TheSavior fbshipit-source-id: b0f08c0f32d6bb7630179bc2fe46d9ac10f6c1d7
Summary: Adding `xcscheme` files for iOS template back in. They were removed in #26471 after #25451. We have reverted the change on `.gitignore`, as this directory is supposed to be in git, but we didn't revert the removed files. Now they are back as well. You can also see here that the two files are still missing, they got removed on rc.0 and are still missing on rc.3. https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0-rc.3 ## Changelog [iOS] [Changed] - Add `xcscheme` files for iOS template back in. Pull Request resolved: #28198 Test Plan: `init` a nre project, and check if the files are there or not. The paths are `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp.xcscheme` and `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp-tvOS.xcscheme` Reviewed By: cpojer Differential Revision: D20179447 Pulled By: TheSavior fbshipit-source-id: b0f08c0f32d6bb7630179bc2fe46d9ac10f6c1d7
Summary: Adding `xcscheme` files for iOS template back in. They were removed in facebook#26471 after facebook#25451. We have reverted the change on `.gitignore`, as this directory is supposed to be in git, but we didn't revert the removed files. Now they are back as well. You can also see here that the two files are still missing, they got removed on rc.0 and are still missing on rc.3. https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.62.0-rc.3 ## Changelog [iOS] [Changed] - Add `xcscheme` files for iOS template back in. Pull Request resolved: facebook#28198 Test Plan: `init` a nre project, and check if the files are there or not. The paths are `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp.xcscheme` and `ios/MyApp.xcodeproj/xcshareddata/xcschemes/MyApp-tvOS.xcscheme` Reviewed By: cpojer Differential Revision: D20179447 Pulled By: TheSavior fbshipit-source-id: b0f08c0f32d6bb7630179bc2fe46d9ac10f6c1d7
Summary: A new project created with `0.60.0-rc.3` generates an `xcshareddata` when you open the workspace in Xcode at `ios/ProjectName.xcworkspace/xcshareddata`. This does not need to be tracked in git. ## Changelog [IOS] [ADDED] - Add generated `xcshareddata` folder to gitignore Pull Request resolved: facebook#25451 Test Plan: N/A Differential Revision: D16110125 Pulled By: hramos fbshipit-source-id: 52ac4d2d7734956817f875c3c7bbf341cba2ea28
Summary
A new project created with
0.60.0-rc.3
generates anxcshareddata
when you open the workspace in Xcode atios/ProjectName.xcworkspace/xcshareddata
. This does not need to be tracked in git.Changelog
[IOS] [ADDED] - Add generated
xcshareddata
folder to gitignoreTest Plan
N/A