{"componentChunkName":"component---src-templates-blog-post-jsx","path":"/blog/xcode-caches-ate-my-ssd-how-i-got-80gb-back/","result":{"data":{"site":{"siteMetadata":{"name":"Huzaifa Rasheed","title":"Huzaifa Rasheed","description":"Software Engineer","about":"\n      Hey, I'm Huzaifa.\n      <br/><br/>\n      Engineer by trade, builder by instinct - I believe in owning my stack, shipping fast, and occasionally running on chai (tea) and stubbornness. I work best in that sweet spot between deep focus and fast feedback - solo or in sync with a good team.\n      <br/><br/>\n      This site's my little corner of the internet - part portfolio, part lab - where I document what I build, break, or learn.\n      <br/><br/>\n      Outside work, I'm into long walks, pixel-perfect headshots in FPS games (eventually... maybe), plants I probably overwater, and the occasional \"classified\" hobby to stay curious.\n      <br/><br/>\n      Reach out anytime - my digital door's always open. 👋\n    ","twitter":"https://twitter.com/huzRasheed","github":"https://github.com/huzaifa-99","linkedin":"https://www.linkedin.com/in/huzaifa-rasheed/","devto":"https://dev.to/huzaifa99","stackoverflow":"https://stackoverflow.com/users/12579290/huzaifa","leetcode":"https://leetcode.com/rhuzaifa","discord":"https://discordapp.com/users/rhuzaifa","email":"dev@rhuzaifa.com","projects":[{"name":"FFMpeg Web","description":"An experimental browser-based terminal that runs FFmpeg using WebAssembly, enabling media processing directly in the browser.","link":"https://ffmpeg-web.rhuzaifa.com/","github":"https://github.com/huzaifa-99/ffmpeg-web"},{"name":"Feed base 2","description":"A mini browser game where players manipulate 4-bit binary blocks to match target BCD values - part puzzle, part binary logic trainer.","link":"https://feedbase2.rhuzaifa.com/","github":"https://github.com/huzaifa-99/feed-base-2"},{"name":"Fabric browser extension","description":"A Chrome extension that injects engineered Fabric prompts directly into the ChatGPT interface for enhanced workflow automation.","link":"https://github.com/huzaifa-99/fabric-browser-extension","github":"https://github.com/huzaifa-99/fabric-browser-extension"},{"name":"Pure Cinema","description":"An experimental, tongue-in-cheek text-to-video generator that stitches together footage, synthesized voiceovers, and background music with a Node.js + ffmpeg pipeline. Not quite Hollywood, but it renders.","link":"https://cinema.rhuzaifa.com","github":null},{"name":"Aria2c Packload","description":"A Bash script for bulk downloading magnet links or torrents using aria2c - optimized for series or list-based transfers.","link":"https://github.com/huzaifa-99/aria2c-packload","github":"https://github.com/huzaifa-99/aria2c-packload"},{"name":"RSS Watchdog","description":"A lightweight Bash script that watches RSS/Atom feeds and compiles a Markdown-based reading checklist for Unix systems.","link":"https://github.com/huzaifa-99/rss-watchdog","github":"https://github.com/huzaifa-99/rss-watchdog"},{"name":"QuoteGen","description":"A quote graphic generator that produces stylized quote images with random selection and a built-in editor for customization.","link":"https://quotegen.rhuzaifa.com/","github":null},{"name":"WebRTC Video Chat","description":"A basic WebRTC-powered app enabling peer-to-peer video and audio calls between two users.","link":"https://webrtc-video-chat.rhuzaifa.com/","github":null}],"experience":null,"skills":[{"name":"Languages & Frameworks","description":"JavaScript, TypeScript, Python, Bash - Frameworks include Node.js, React, Next.js, Vue, React Native, FastAPI."},{"name":"Databases & Storage","description":"PostgreSQL, MySQL, MongoDB - Experience with schema design, indexing, query optimization, and migrations."},{"name":"Cloud & Infrastructure","description":"AWS (EC2, RDS, S3, Lambda), Vercel, Netlify, Heroku - Comfortable with serverless, autoscaling, and cost optimization."},{"name":"DevOps & Tooling","description":"Docker, Git, CI/CD pipelines (GitHub Actions, GitLab CI) - Experience with observability, containerization, and release workflows."},{"name":"Testing & QA Automation","description":"Jest, Playwright, Puppeteer, Selenium - Focus on E2E testing, mocking APIs, and maintaining test coverage."}]}},"markdownRemark":{"id":"2ae1f281-6fc4-52aa-a514-592ef4719838","excerpt":"Working on some React Native gigs recently, I noticed something off: slow search, weird lag, and my SSD creeping into red. Turns out Xcode had quietly stashed…","html":"<p>Working on some React Native gigs recently, I noticed something off: slow search, weird lag, and my SSD creeping into red.</p>\n<p>Turns out Xcode had quietly stashed <strong>80+ GB</strong> of cruft I didn’t need. Simulator junk, build artifacts, random cache bloat - all piling up under <code class=\"language-text\">~/Library</code>.</p>\n<p>This wasn’t a “my Mac is slow” moment. To me: it was an <strong>engineering hygiene problem</strong>.</p>\n<h3>Here’s what I cleared:</h3>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">~/Library/Caches\n~/Library/Developer/Xcode/DerivedData\n~/Library/Developer/Xcode/iOS DeviceSupport</code></pre></div>\n<p>Also peeked inside:</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">~/Library/Application Support\n~/Library/Logs</code></pre></div>\n<ul>\n<li><code class=\"language-text\">DerivedData</code> is safe to nuke - it just holds past build outputs.</li>\n<li><code class=\"language-text\">iOS DeviceSupport</code> is where every simulator and physical iOS version you’ve ever connected goes to rot.</li>\n<li>And <code class=\"language-text\">Caches</code> is the usual suspect.</li>\n</ul>\n<h3>Why this matters</h3>\n<ul>\n<li>Faster Spotlight indexing</li>\n<li>Clean rebuilds when needed</li>\n<li>Avoid random Xcode weirdness in React Native projects</li>\n<li>Less SSD wear</li>\n<li>More headroom, less clutter</li>\n</ul>\n<p>I treat this kind of cleanup the way I treat dead docker volumes or broken symlinks in infra: <strong>small resets that keep the system sharp</strong>.</p>\n<hr>\n<p>If you’re running React Native or just juggling multiple iOS projects, it’s worth taking 10 minutes to do this. Your SSD - and future self - will thank you.</p>","frontmatter":{"title":"Xcode Caches Ate My SSD - How I Got 80GB Back","date":"May 11, 2024","description":"Reclaiming dev performance and disk sanity by nuking Xcode's leftover junk."}}},"pageContext":{"slug":"/blog/xcode-caches-ate-my-ssd-how-i-got-80gb-back/","previous":{"fields":{"slug":"/blog/valid-sudoku-algo-leetcode/"},"frontmatter":{"title":"Valid Sudoku Algo - Leetcode"}},"next":{"fields":{"slug":"/blog/using-aria2c-to-automate-batch-downloads/"},"frontmatter":{"title":"Using aria2c To Automate Batch Downloads"}}}},"staticQueryHashes":["2276319502"]}