SShortSingh.
Back to feed

How to reclaim Xcode disk space on a Mac by clearing build data, simulators and runtimes

0
·6 views

Xcode accumulates build data, simulators, device support files and archives for every project and device it has used, and rarely removes them on its own. Most of this material sits in the ~/Library/Developer folder, which Finder hides by default. Build data and simulator caches can generally be deleted safely, since Xcode rebuilds them when needed, though later builds will be slower. Simulators, archives and iOS device support files are a matter of choice, and unavailable simulators or old device support folders can be removed with Terminal commands or through Xcode's settings. Simulator runtimes, which are often the largest items, can be deleted from Xcode's Components pane or via the command line, though the newest runtime for each platform should be kept.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer shares C++ solution to CSES shortest-path task counting routes and flights

A DEV Community post presents a C++ program for a CSES problem set task about flight routes. The code uses Dijkstra's algorithm with a priority queue to compute the shortest distance from city 1 to city n. It also counts the number of shortest paths modulo 1e9+7 and tracks the minimum and maximum number of flights among those shortest routes. The author posts the code with a link to the original CSES task for readers to study the approach.

0
ProgrammingDEV Community ·

ScoutingPro27: Offline P2P Robotics Scouting Platform Built by FTC Team 27570

Students on FIRST Tech Challenge Team 27570 B.E.A.R. built ScoutingPro27, a free scouting platform for robotics competitions where wireless networks are often saturated or unreliable. The system uses a local-first design, with WebRTC peer-to-peer connections and TinyBase CRDT data merging so devices can keep working during outages. Data is stored on each device and synced directly between them, avoiding cloud costs and a single point of failure if a host laptop crashes. Merging happens at the individual cell level, so concurrent edits by different scouts are preserved rather than overwritten. The team also uses hybrid logical clocks to handle phone clocks that drift by seconds or minutes in offline venues.

0
ProgrammingDEV Community ·

CSES Flight Discount problem: shortest path with one halved-fare edge solved in C++

A DEV Community post walks through a solution to the CSES competitive programming task "Flight Discount". The problem asks for the minimum cost of travelling from city 1 to city n in a directed graph where one flight can be used at half its price. The author's C++ approach runs Dijkstra's algorithm over states that track whether the discount has already been used. Each node keeps two distance values, one for each state, and a priority queue drives the search. The final answer is the smaller of the two distances stored for the destination node.

0
ProgrammingDEV Community ·

Form design fails when users refresh: why drafts and save states matter

A design article argues that interviewers test form durability more than layout, asking what happens when a user loses a long form to a crash and returns later. It contends that the submit button is the least important element, since data integrity depends on everything occurring between the first keystroke and the confirmed save. The author recommends debounced local drafts stored in local storage or IndexedDB, with a resume prompt when the user returns. It also urges designers to plan for multiple save states, including an explicit unknown state for failed submissions, and to define a clear rule for resolving conflicting edits. Idempotency keys are proposed so that retried or double-clicked submissions don't create duplicate records.