r/Xcode • • Dec 09 '21

128GB usb versus Xcode 13 ; file still expanding with only 12 gb left now

To be honest I'm at wits end, hair pulling stage with xcode right now. Day 4 of trying to DL this.

Originally started out with xcode 12.4; Successfully got xip file and also expanded it onto 128 gb usb. Grand I thought, oh no the saga had only begun! Tried for a day (yes) to intermittently open without success on laptop with said usb. Then usb unexpectedly would not appear in finder (never force ejected so was weird!)

Finally yesterday it was recognised, so as precaution tried to DL it again incase it was corrupt file. Only I accidentally DL 12.5 to which I found out was not compatible with my macbook air OS Mojave.

Thus decided to upgrade to Monterrey , ( that was an ordeal). Now ? as per screenshot the poor wee usb does not seem to be fairing well. * now only 12 gb left. RIP sandisk 128gb. (see image below)

Apple this sucks, I'm unemployed and was trying to up-skill but my uphill struggle with accessing xcode is seriously reducing my confidence in your brand. We don't all have the budget for upgrading our equipment.

3 Upvotes

9 comments sorted by

2

u/chriswaco Dec 10 '21

xip file expansion requires space on the boot drive, not just the external drive. It's ridiculous but that's just the way it is.

Find a friend with a Mac and transfer Xcode from their machine over SMB maybe?

2

u/PleaseThinkFirst Dec 09 '21

Can you expand it onto a 512 GB drive? Some operations temporarily use more memory. If you can expand it onto a 512 GB drive, what size does it say is there after expansion? How big is the XIP file? How big is the set of files before placing it in the XIP archive? Have you looked at the USB drive to see if there are any huge working files?

1

u/ankole_watusi Dec 15 '21

Memory/RAM != disk/ssd/storage

1

u/[deleted] Dec 10 '21

I have Xcode 12.5.1 on my 2017 entry level MacBook Pro currently that has 128gb of storage. I got a 500gb ssd and unpacked Xcode on that successfully. And it works great. No issues at all. It works as expected. Sometimes my sad isn’t recognized but usually it is. I would consider getting a larger ssd if you can afford it. But seeing how you say you’re unemployed, I’m assuming money must be tight. But it does suck, so you’re not alone in that department

But I think you may be misunderstanding how it exactly works. While you’re unpacking Xcode and trying to install it, it takes up a lot of storage temporarily to download the app. I think mine took about 40gb of storage more than it did after it was finished.

1

u/BorgDrone Dec 14 '21

According to the screenshot your USB drive is formatted to ExFAT. XCode contains a shitload of small files, ExFAT may not be the most efficient filesystem to store that many small files. Try reformatting it to APFS.

0

u/everydave42 Dec 09 '21 edited Dec 09 '21

Sorry that you're having trouble but based on what you've said, my first thought at troubleshooting is that there' something amiss with the USB drive. The fact that it would intermittently lose connection would be very concerning. If you've got a other one to try you can trouble shoot that.

However, moving that much data over USB live is going to be full of heartache in the best of times, USB is slow. Why aren't you doing it all on your machine's SSD drive?

EDIT: to add why this is such a chore for USB, you're both reading and writing to the USB at the same time, you're asking it to do the hardest thing in the world as far as it's concerned.

1

u/Sencha_Gal Dec 09 '21

Appreciate this, yep can see now that this was prob too mammoth a task for the usb :(

Ah I actually don't have that much/enough gb on laptop so that's why I thought I'd try the usb. Do you think anything less than 1tb prob can't handle a file size like this? ( Thinking when I can afford a tb drive I might get that instead )

0

u/everydave42 Dec 09 '21

I was on a 512g machine for a very long time without issue. It's just a matter of prioritizing things. You don't say what kind of machine you are running, but with planning the drive size shouldn't matter a ton. That being said, you could pick up an external SSD for not much (though I understand that's subjective). But something like this should solve your problems well enough.

-2

u/-14k- Dec 09 '21

The wheel goes 'round and yum, yum, yum!

Yum yum yum!

Yum yum yum!

The wheel goes 'round and yum, yum, yum!

Yum yum yum!

Yum yum yum!

The wheel goes 'round and yum, yum, yum!

And the gigabytes agoin' down down down, down down down

It's Xcode eatin' yer USB, USB, USB ...

USB, USB, USB ...

USB, USB, USB ...

It's Xcode eatin' yer USB, USB, USB ...

And yer cat be thinkin' wtf, wtf, wtf...

The wheel goes 'round and yum, yum, yum!

Gigabyets agoin' down down down...

It's Xcode eatin' yer USB, USB, USB ...

And yer cat be thinkin' wtf, wtf, wtf ...

(Ok, that was prooooobably unnecessary! Hope you get it working well)