I am basically wondering if I should exclude the /ios/index/DataStore
Folder within my react-native init
Project from version control.
The default .gitignore
file doesn't exclude it but it seems that the contents of this folder change with each build and can easily be regenared by running react-native run-ios
.
Couldn't find any information what this folder is actually for.
xcodebuild indexes your project in order to speed up subsequent builds, you are safe to .gitignore this directory. If you'd like you change its location, that can be done via Xcode > Preferences > Locations > Advanced.
preferences window
Regarding a react-native project it's probably best to leave these settings alone as you are using the build scripts which are (as of react-native 0.53.0) hard-coded into react-native-cli.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With