All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com

Thank you for buying via links and ads on this site,
which earn me advertising fees or commissions.
As an Amazon Associate I earn from qualifying purchases.

Other World Computing...
B&H Photo...
Amazon
As an Amazon Associate I earn from qualifying purchases.
Upgrade the memory of your 2018 Mac mini up to 64GB
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$348 $298
SAVE $50

$170 $120
SAVE $50

$300 $175
SAVE $125

$989 $869
SAVE $120

$400 $310
SAVE $90

$1470 $1299
SAVE $171

$322 $242
SAVE $80

$1470 $1299
SAVE $171

$180 $140
SAVE $40

$500 $275
SAVE $225

$180 $156
SAVE $24

$130 $100
SAVE $30

$3498 $2998
SAVE $500

$1699 $1149
SAVE $550

$280 $230
SAVE $50

$1899 $1499
SAVE $400

$4499 $3499
SAVE $1000

$2198 $1998
SAVE $200

$3998 $3498
SAVE $500

$1799 $1699
SAVE $100

$18599 $16599
SAVE $2000

$1149 $849
SAVE $300

$650 $450
SAVE $200

$199 $119
SAVE $80

$280 $200
SAVE $80

$1399 $1049
SAVE $350

$1199 $779
SAVE $420

$250 $220
SAVE $30

$1699 $1149
SAVE $550

$195 $125
SAVE $70

$79 $49
SAVE $30

$120 $30
SAVE $90

$198 $148
SAVE $50

$3899 $1499
SAVE $2400

$2999 $1999
SAVE $1000

$1699 $849
SAVE $850

$1698 $1198
SAVE $500

$1149 $849
SAVE $300

$1399 $1049
SAVE $350

$1498 $998
SAVE $500

$2797 $2497
SAVE $300

$280 $230
SAVE $50

$799 $449
SAVE $350

$899 $549
SAVE $350

$420 $170
SAVE $250

$1699 $1149
SAVE $550

OWC Envoy Express

World’s first Thunderbolt 3 M.2 NVME SSD enclosure.

Super fast, bus-powered, 3.3 oz, DIY easy, rugged and compact!


See also OWC Express 4M2
√ No more slow and noisy hard drives!

Saving up to 8.5GB of Space After Every Apple Xcode Update

See my Mac wish list at B&H Photo.

8.87GB of XCode platforms (default install)

As a developer, I 'enjoy' frequent Apple XCode updates—roughly a 5GB download of which 90% is nothing I ever use (iOS and Apple TV and WatchOS platforms); I need Xcode support only for macOS development (the latest 'upgrade' crashes 100% of the time building diglloydTools...sigh). Yet the XCode updater insists on downloading and installing all development platforms, even for minor updates.

I wouldn’t care if the space used weren’t so substantial, but anyone with a 128GB or 256GB or 512GB SSD might care, as I do.

In my travel laptop I currently have only a 512GB flash drive (which is really only 500GB). Because of fixed requirements (stuff I absolutely must have onboard), my typical free space is only around 180GB. Space has gotten so tight on some photography trips* that I have been forced into external overflow storage which I greatly prefer to avoid as it greatly complicates working and backing up in the field, and is physically awkward in a car, more devices to carry, etc).

As shown at right, the Xcode Platforms folder uses 8.87 GB of space, of which about 8.5GB are platform support folders that I never use. That represents nearly 5% of the available free space on my laptop, so it makes sense to reclaim it.

Here’s how I reclaim the space after XCode is updated by removing unused platform support folders. Commands are shown in blue, as used in Terminal.

diglloydMP:MPG lloyd$ cd /Applications/Xcode.app/Contents/Developer/Platforms/
diglloydMP:Platforms lloyd$ sudo rm -rf AppleTV* Watch* iPhone*

After the above removal, the Platforms folder now occupies only 0.41GB instead of 8.87GB, a savings of 8.46GB. Want more?

# OPTIONAL: save another half-gigabyte if not using SWIFT:
diglloydMP:Developer lloyd$ sudo rm -rf /Applications/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain
# OPTIONAL: save another 3.1GB by removing (not always this large, but can be)
diglloydMP:~ lloyd$ rm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/
# OPTIONAL: remove support for iPhone/iPad/etc simulators (up to another gigabyte or so)
diglloydMP:~ lloyd$ rm -rf ~/Library/Developer/CoreSimulator/Devices/*

That’s a total savings of 12GB! It speaks to incoherent software management that Apple pushes complex (and potentially dangerous) cloud-based solutions for saving space in macOS Sierra without first eliminating the brain-dead space-wasting XCode behavior. The solution is obvious: install an inner core Xcode, then allow the user to add on whatever platforms and support are wanted. Don’t just shovel out unwanted bloatware.

Obviously one must not remove platform support needed for code development for that platform. But if like me you develop for only one or two of the platforms, space can be reclaimed. There aren’t that many “free lunches” for getting back that much space.

The 2016 MacBook Pro I’ve ordered with the 2TB SSD—I’m not going to make the same mistake twice (going with too small an SSD). Update: returned it for reasons unrelated to the SSD.

8.5GB space savings removing unused XCode platforms
OWC Envoy Pro EX SSD
Blazingly fast Thunderbolt 3 SSD!

Up to 4TB capacity, USB-C compatible.

USB-C model also available


Great for travel or for desktop!
OWC Thunderblade Thunderbolt 3 SSD

Blazing fast, up to 16TB.

YEE HAH!



√ No more slow and noisy hard drives!
OWC Accelsior 4M2 PCIe SSD
6000 MB/sec!
Mac or PC.


Ideal for Lightroom, Photoshop, video.
Capacity up to 16TB!
View all handpicked deals...

Lexar 128GB Professional 2000x UHS-II SDXC Memory Card
$170 $120
SAVE $50

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__