Xcode 12 installed size differs on 2 Macs

I've just installed Xcode 12.2 and 12.3 on a 2019 MacBook Pro and a 2020 MacBook Air, both running Catalina. The installed sizes are wildly different on the two Macs, yet both seem to work (after repeating one install that failed on the Air).

MacBook Pro
Xcode 12.2 is 28.54 GB
Xcode 12.3 is 29.07 GB

MacBook Air
Xcode 12.2 is 8.97 GB
Xcode 12.3 is 0.69 GB = 692 MB

Can this possibly be correct? Or can I expect those on the Air to have problems as soon as I try to do serious work with them?

By "seem to work" I mean I can create an empty SingleView app with each and run it in Simulator. All four apps (two versions on two Macs) launch as expected.

The two Macs are:

MacBook Pro (13-inch 2019, Four Thunderbolt 3 ports)
Intel 2.8 GHz 4-core i7
16 GB memory, 1 TB SSD drive
macOS 10.15.4

MacBook Air (Retina, 13-inch 2020)
Intel 1.2 GHz 4-core i7
16 GB memory, 512 SSD drive
macOS 10.15.5

Thanks for any insight you can offer.

Accepted Reply

Thanks, it was an issue with Finder reporting sizes.
Using the 'du' command in Terminal gives me consistent numbers (with slight differences):

Code Block
% du -s Xcode_12*

MacBook Pro 
31958304 Xcode_12.2.0.app
32572544 Xcode_12.3.0.app

MacBook Air
31821984 Xcode_12.2.0.app
32289672 Xcode_12.3.0.app

I would have been less gun-shy except I've been having problems with earlier versions of Xcode on both Macs (crashes, freezes, file corruptions, etc.).

Now that a day has passed both Macs are giving me more believable Finder sizes. "What a difference a day makes."

Thanks again for your help.

Replies

The installed sizes are wildly different on the two Macs,

Can you tell us how you have checked the installed sizes?
If you have checked only the size shown in Finder, it may be just a problem of Finder.

Can this possibly be correct?

Very unlikely. The sizes you have shown (MacBook Air) is smaller than the sizes of .xip files.

Or can I expect those on the Air to have problems as soon as I try to do serious work with them?

Not sure, under the currently shown info.
Thanks, it was an issue with Finder reporting sizes.
Using the 'du' command in Terminal gives me consistent numbers (with slight differences):

Code Block
% du -s Xcode_12*

MacBook Pro 
31958304 Xcode_12.2.0.app
32572544 Xcode_12.3.0.app

MacBook Air
31821984 Xcode_12.2.0.app
32289672 Xcode_12.3.0.app

I would have been less gun-shy except I've been having problems with earlier versions of Xcode on both Macs (crashes, freezes, file corruptions, etc.).

Now that a day has passed both Macs are giving me more believable Finder sizes. "What a difference a day makes."

Thanks again for your help.