-
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
Change location of iOS build cache directory to ~/Library/Caches/ #22688
Conversation
Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes facebook#21780.
@sryze I think it should check if |
I agree, it's a good idea. I updated the script to make it reuse the old directory if it exists. |
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.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
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.
Sounds good!
…cebook#22688) Summary: Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes facebook#21780. Changelog: ---------- [iOS] [Changed] - Moved iOS build cache directory from ~/.rncache to ~/Library/Caches/com.facebook.ReactNativeBuild Pull Request resolved: facebook#22688 Differential Revision: D13817171 Pulled By: cpojer fbshipit-source-id: af03dda66f9d49f4fe88bd050b359ccb7abb889a
Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes #21780.
Changelog:
[iOS] [Changed] - Moved iOS build cache directory from ~/.rncache to ~/Library/Caches/com.facebook.ReactNativeBuild
Test Plan:
or better:
react-native init ReactNativeCacheTest
ios-install-third-party.sh
change:react-native run-ios