Free Up Space on macOS (for React Native iOS Developers)

React Native iOS developers running out of space on your MacBook? Here are a few places specific to React Native iOS resources that you can check to free up some space. Start by going to System Preferences > General > Storage to see how much space you have. 

 

These tips are specific to React Native iOS resources. For freeing up even more space, click the Info icon next to other areas shown in System Preferences > General > Storage.

First, check if there are any emulators you no longer use. In the Storage screen, click the Info icon next to Developer. Scroll down to iOS Device Support and delete any unused emulators.


Next, check your Xcode Caches. In the Storage screen click the Info icon next to Developer. If you delete Xcode Caches, next time you open a project in Xcode it might take a few minutes while it re-indexes, but its worth it if you need to temporarily free up space.


Next, scroll down and check your Project Archives. If you want to check the file size of each archive individually before deleting, skip to the next step. But if you don't care to keep any of the archives that you've already deployed to the App Store, then Delete them all from here.


To check the size of individual archives before deleting them, launch Xcode and click Window > Organizer from the menu bar. Then choose an app at the top left. Right-click a row in the Creation Date Column and choose Show in Finder. Check the file size in Finder.


Finally, check how many instances of Hermes are installed. In System Prefs > General > Storage, click the Info icon next to Documents. Click a Hermes row and mouse over the path at the bottom to see the project using it. More on Hermes in the next post.


If you don't like the file size of Hermes, either delete the file(s) shown in the previous post for a temporary win, (making sure to run pod install on your project's ios folder next time you work on it), or switch back to JavaScriptCore if it suits your project's needs. 

Thanks for reading. I hope that with these tips you are able to free up some space on macOS.




Comments

Popular posts from this blog

Adobe® Flex® Combobox: Selecting an Item Without Using SelectedIndex

Parameters Sent by TinyWebDB in App Inventor for Android