News for hackers. Stuff that matters.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DannyBee on Wednesday March 29, 2017 @09:14PM (#13992112)
This appears to be bitcode. It probably means they just starting making use of more metadata or something that is now included in the bitcode.

Bitcode also now deliberately trades off size vs speed and includes indexes used for LTO, etc. They could be including those.

You should almost always expect bitcode to get beat by "llvm-dis|xz", because the goal of bitcode is not to be the most compact possible format, but instead, a compact format the compiler can use effectively :)

Now, if actual on-device binary sizes increased, my guesses would be:

1. it now includes bitcode, or another architecture, in the binary (which would be interesting)

2. Something has gone horribly horribly wrong :P Really, speaking as a guy whose org maintains the toolchains for platforms like this, there's a 0% chance we wouldn't notice a 2x-3x size increase.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by alimbada on Thursday March 30, 2017 @05:06AM (#13993904)
The iOS Gmail app has increased in size to 140MB at the last update. I'm on a 16GB iPhone and I've noticed app sizes slowly increasing over the last two and a half years that I've had my phone. I have to keep an eye on app size to make sure I don't run out of space on my phone. I've already boycotted the Facebook app, but apps like Gmail are too important to uninstall. If it comes to it I'll be getting rid of a lot of other apps before Gmail (e.g. the Google app) when I need to reclaim space. I don't understand how app sizes keep creeping up; it's moronic. By contrast, the Reddit app is a slim 13MB and I'd say it does a lot more than the Gmail app.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by entropy_ on Thursday March 30, 2017 @11:21AM (#13996135)
The apple store binary format is really horrible when it comes to keeping the size down. Especially if you need to use libraries and whatnot. What it comes down to is this:

1 - The binary format itself isn't very efficient. Compressing it usually yields at least a 50% reduction in final size, often more

2 - Even though .ipa is a zipped format, there's no actual compression on the binary itself because it's encrypted before compression. I have no idea why they do this, I can't perceive any security benefit(Any jailbroken phone can be tooled to output the unencrypted binary. And you can bet anyone trying to reverse engineer your app will be using a jailbroken phone for their work)

Basically, if you're a large company with lots of apps and shared dependencies(Google, Facebook, etc...) doing the "right" thing and writing shared library code across projects ends up bloating your binary size immensely. And since binary size(rather than resources like images) dominate the final app size, you're in trouble if you want to keep app size down.

Source: I work on the iOS app for a music streaming service, despite our best efforts, our app downloadable size is ~35MB(~45MB installed size). Our android counterpart, almost effortlessly has the same app functionality with a 14MB downloadable package(they did some cleaning a while ago and got it down to 10MB at some point). Thing is, if we do proper compression(no binary encryption, single architecture) we end up with a 19MB .ipa file

PS: The compression issue doesn't affect installed size, but I believe the issue here is simply that (1) the binary format they're using is just too damn inefficient by default

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by flamedoge on Thursday March 30, 2017 @03:23PM (#13998152)
shame since shared library was suppose to be "DRY". Why not run compression and then encryption?
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by JustSomeNobody on Thursday March 30, 2017 @08:36AM (#13994798)
Features mostly. I mean, you seem to absolutely need the Gmail app. While I, too, have a Gmail account, I like the simplicity of the native mail app in iOS. I don't need any additional features. I get mail, I read mail, I can write mail.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tripzilch on Thursday March 30, 2017 @09:10AM (#13995001)
you can't fill 140MB with "features mostly".

it's gotta be something like mostly media (uncompressed bitmaps), metadata, (debug symbols maybe?), libraries / platform / compatibility layers (95% of which is never used for any particular install).

I have seen what it looks like when you actually try to cram "features mostly" into a few tens of megabytes and the GMail app is not that.

source: the demoscene

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kalleboo on Thursday March 30, 2017 @09:43AM (#13995236)
I just downloaded the IPA. It literally looks like it has a 134 MB blob of code (out of a 215 MB universal .app).

Google must have some insane cross-platform code library or something in there.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by alimbada on Thursday March 30, 2017 @09:16AM (#13995043)
> I get mail, I read mail, I can write mail.

That's exactly what the Gmail app does too. What other features does it offer that the Mail app doesn't? If none, then why does it need to be so huge?

I picked on Gmail because it's the most recent culprit that I have noticed creeping (sometimes jumping) up in app size but it isn't the only one guilty of this. Like I said in my original comment, the Reddit app is 13MB and does a bit more than the Gmail app. I can read/write posts and comments and view images; similar features to Gmail, but I can also watch gifs and videos. Can someone explain why there is an order of magnitude of discrepancy between the two apps sizes?

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by ceeK on Thursday March 30, 2017 @09:51AM (#13995313)
They're probably using several bloated SDK's within their app for core Google services, view elements etc etc. If they're using dynamic linking, they have to include these in the binary even if they only use a small percentage of the libraries.

That's potentially one explanation.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by bwat49 on Thursday March 30, 2017 @12:54PM (#13997001)
I've never used the ios mail app, but in general gmail has a weird imap implementation that behaves wonky with a lot of mail clients so with gmail using the webmail or a gmail specific app is usually preferable.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by jandrese on Thursday March 30, 2017 @09:38AM (#13995200)
I made the mistake of getting a 16GB iPhone 4s last time. I'll never make that mistake again (well, it's impossible now I guess). I was forever having to delete stuff to make room for updates (and IOS gets all sideways when you run out of space halfway through an app update) and managing the memory. It's just not worth the constant headache.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by bpicolo on Thursday March 30, 2017 @10:18AM (#13995517)
Yeah, I have a 16gb iPhone 6 and it's gotten unbearable in the past few month. I don't even keep many apps around. No room for my music anymore :(
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tqkxzugoaupvwqr on Thursday March 30, 2017 @09:05AM (#13994967)
I use the built-in Mail app on macOS and iOS for Gmail accounts. Works well. If you need space, you should give it a try.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by izacus on Thursday March 30, 2017 @09:48AM (#13995291)
For comparison - GMail app on my Pixel XL takes 31MB for the app and about 10MB for data and cache.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by JeremyBanks on Thursday March 30, 2017 @10:07AM (#13995422)
That's more due to Google offloading common logic into shared Android and Play components than compiler efficiencies.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by izacus on Thursday March 30, 2017 @10:32AM (#13995645)
Erm, that's not true. As soon as GMail app updates on Android, it replaces the builtin one with full features. The shared "Play components" are things like push handling, which is builtin on iOS as well.

Play services and OS do not carry GMail shared components.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by notyourwork on Wednesday March 29, 2017 @10:01PM (#13992296)
This is the type of comment I come to hackernews for. Great summary of the possible situation.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by adomanico on Wednesday March 29, 2017 @09:57PM (#13992283)
It does seem to be affecting the end user binary size: http://imgur.com/a/FEgQY

These numbers were all around 60mb on Xcode 8.2.1

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DavidSJ on Wednesday March 29, 2017 @10:18PM (#13992356)
60 millibits is pretty small.

(Pardon the joke, but while the "m" obviously means "M" from context, I really wish people -- especially computer engineers -- wouldn't say bits when they mean something eight times as large.)

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Wednesday March 29, 2017 @11:19PM (#13992592)
I think you have a good point. The whole reason for standards (like SI units) is so that people don't need to guess or interpret. I don't get why this was downvoted.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kibwen on Wednesday March 29, 2017 @11:38PM (#13992677)
A bit isn't a divisible unit, so nobody is going to be confused as to whether "mb" stands for "millibits". As for the capitalization of "b", if we're going to be pedantic then we should say "Mo" for "megaoctets", since "byte" is, as far as IEEE standards are concerned, of ambiguous length. But I think we can trust people enough to not spend too long puzzling over whether "mb" means megabytes or megabits, just as we can trust them to assume that byte implies eight bits in this context.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by rsync on Wednesday March 29, 2017 @11:53PM (#13992725)
"A bit isn't a divisible unit"

What ? Sure it is. When you measure the information content (or, the entropy) of a message, you very frequently get non-integer numbers of bits per (character/unit/message/whatever).

Written english, for instance, has 1.46 bits of information per character.

Or 146 cb.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kev009 on Thursday March 30, 2017 @12:14AM (#13992834)
That is expressing a ratio. A more concrete example, .46 a person doesn't exist even if that ratio is useful for expressing statistics.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by drdeca on Thursday March 30, 2017 @03:25AM (#13993567)
I think "gaining half a bit of information" about something can correspond to stuff that lets you update your probability distribution about it?

I'm not sure.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kristjankalm on Thursday March 30, 2017 @04:54AM (#13993868)
yes, but your gain is still an integer number. the non-integer ratio is just a statistic (gain per number of units).
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by jamessb on Thursday March 30, 2017 @08:10AM (#13994656)
Why is it an integer number?

Entropy (in bits) is defined as - \sum_x (p(x) log_2 p(x))

There is no reason this has to be an integer, since probabilities are not restricted to being reciprocals of powers of 2.

Consider also that you can simply use a different logarithm base to get a different unit (e.g. use the natural logarithm to obtain the entropy in nats). It would be bizarre if the arbitrary choice of 2 as the base gave a unit that was indivisible.

I think this whole confusion comes down to the difference between a bit as a "unit of information in the sense of information theory" [divisible] and a bit as a "single physical one or zero" [not divisible]. The relationship between the two is that the entropy of a random variable is a lower bound on the average number of bits required to represent it.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kristjankalm on Thursday March 30, 2017 @11:00AM (#13995938)
yes, you are quite right -- i was referring to the binary digit rather than the shannon
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tripzilch on Thursday March 30, 2017 @09:33AM (#13995152)
only when you consider bits to be the final, indivisible, fundamental unit of information.

which they aren't.

if you have a data storage thingy that can store any of three values, a ternary digit, it is exactly equivalent to log2(3) = ln(3) / ln(2) ~= 1.585 bits.

kind of like US pop-science articles like to say stuff like "a volume 1.5 olympic-size swimming pools" (because a megagallon is just weird), even though obviously, can never have half of such a pool or it would empty.

(ok after some consideration, you could have the bottom half)

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kristjankalm on Thursday March 30, 2017 @11:13AM (#13996074)
you are obviously right, but i think that in the specific case described above -- computer code -- we have binary digits as final and indivisible units.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by pixl97 on Thursday March 30, 2017 @11:13AM (#13996075)
Filling the top half would be more fun

https://what-if.xkcd.com/6/

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by akvadrako on Thursday March 30, 2017 @04:25AM (#13993759)
Or to express it another way, a variable with 3 possible states has 0.5 bits more capacity than one with 2.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by stephencanon on Thursday March 30, 2017 @07:51AM (#13994550)
0.585... bits more capacity, but yeah (bits = log2(states)).
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by PeCaN on Thursday March 30, 2017 @01:20AM (#13993123)
> you very frequently get non-integer numbers of bits per (character/unit/message/whatever)

That'd be an average, and it's like when you have 2.58 people per household. Presumably most people do not keep about 6/10 of a person around.

The point of a bit (in information theory) is that it is the smallest possible (read: not divisible) unit of information.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by yjftsjthsd-h on Thursday March 30, 2017 @07:57AM (#13994584)
> But I think we can trust people enough to not spend too long puzzling over whether "mb" means megabytes or megabits

Please don't assume this. I have the great pleasure working with network Engineers, who have apparently globally decided that bits are a perfectly reasonable measurement of throughput and react very differently to speed in Mb/s and MB/s. I'm not trying to be pedantic or say that this is how it should be, I'm just saying that people really do use both units and it is horribly confusing and anything you can do to not be ambiguous is appreciated.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @02:06AM (#13993286)
Well, no. If we're going to be pedantic, we should say MiB (mebibytes), because file sizes on disk are expressed in multiples of powers of 2, but the SI prefixes are multiples of 10.

So a 1 megabyte file (as reported by the file system) is actually 1048576 bytes, which technically - sorry, I mean pedantically - speaking, is 1 mebibyte.

To make matters worse, disk manufacturers use the decimal prefixes, so our nice 1 terabyte drive is 931 mebibytes, but is reported by the file system as 931 megabytes (not MiB).

Finally, memory manufacturers use the binary prefix, so 1 megabyte of RAM is actually 1 mebibyte (1048576 bytes).

A bit of a mess, no?

All the above is, IMHO, a consequence of imprecision. If we get used to being loose with our terminology, we risk carrying that attitude over into our work product, with sometimes regrettable results.

So I'll continue to strive to be pedantic (translation: precise).

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by srssays on Thursday March 30, 2017 @07:23AM (#13994438)
> Well, no. If we're going to be pedantic, we should say MiB (mebibytes), because file sizes on disk are expressed in multiples of powers of 2,

Not true anymore. OS X (and I assume iOS) reports sizes in power-of-10 units.

If you think about it, it is really user-hostile to express file sizes as powers-of-two. Who can remember that a "GiB" is 1073741824 bytes?

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @05:04PM (#13998841)
I didn't know OS/X used the decimal prefixes, but that just means it's less true, not untrue. There are still many more systems out there that use the binary prefix. I imagine most *nix, and not sure about Windows. And RAM is still power of 2.

I don't think it's terribly user hostile to express sizes as powers of two when you work with these kinds of numbers for a living, especially when it's near the bare metal (Erlang binary data type FTW!)

But I do think it's user hostile to have two different units depending on what you're looking at. If it were all decimal or all binary, it would be much easier.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by ce4 on Thursday March 30, 2017 @03:07AM (#13993502)
You probably meant 1TB to be 931 Gibibytes, didn't you?
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @04:55PM (#13998787)
Ah crap, yes, I did. Got to stop this middle of the night posting...
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tempodox on Thursday March 30, 2017 @01:07AM (#13993063)
While we're at it, one should use “Mi”, not “M”. M is still 1000 * 1000, while Mi is 1024 * 1024.

That amount of sloppiness in any other engineering discipline would just finish you off immediately.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by btschaegg on Thursday March 30, 2017 @02:09AM (#13993292)
Agreed. Fun fact: Wolfram alpha understands Mebibytes, which is useful if you want to quickly convert between networking specs (say megabits) and "real" computer units.

Then again, maybe doing more simple math by actually using one's brain wouldn't hurt either. :)

Edit: And yes, I'm aware that you'll never get the converted speed of what is written on the network device's box. But sometimes it's nice to have an upper limit you can compare to at least.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by hinkley on Thursday March 30, 2017 @11:54AM (#13996456)
Many, many wire protocols use 5 bits of bandwidth to send 4 bits of information, for various reasons. So dividing by 10 gives you a better estimate.

Of course when gigabit became a thing, your practical throughput was more like 75 MBps for a very long time, and being off by 25% in capacity planning is a pretty big error (one I've seen numerous engineers make, and a few make both, which means you're off by 40%)

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kupiakos on Thursday March 30, 2017 @01:17AM (#13993103)
After using many Unix tools that have this convention, I'm ok with 10 M referring to 1010241024 bytes (10 MiB), contrasted with 10 MB meaning 10,000,000 bytes.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by ralfd on Thursday March 30, 2017 @01:39AM (#13993198)
MacOS (we are talking about Xcode) is using the SI definition though. 10 Mega should be 10 Million.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tempodox on Thursday March 30, 2017 @09:34AM (#13995171)
Same with HD capacity info.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @02:09AM (#13993294)
Ah, I didn't see your comment before I wrote mine. And I agree violently with your point of view.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by falsedan on Thursday March 30, 2017 @05:06AM (#13993903)
This is gatekeeping, since the message is coded to be obvious to those "in the know" (of course mb means mebibyte!) but is a barrier to those who are trying to learn more (mb probably means megabits per second? it's a unit for measuring download speed? why is the 's' left off?)

This is putting the burden of collaboration in the wrong place: it shouldn't be a question of, can we expect a reasonable engineer in the industry to understand this unambiguously (with some deductions); but rather, can I hold down the shift key when typing the abbreviation for megabytes.

Obviously this depend on the actual audience, don't bother following this in team chat where speed is more important than clarity.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by JohnStrange on Thursday March 30, 2017 @04:48AM (#13993840)
It is divisible in information and coding theory, where it makes perfect sense.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by ldev on Thursday March 30, 2017 @07:53AM (#13994567)
Because we solve practical problems, and do not nit pick of what is technically correct. We are not drones and easily understand that in this context it's megabytes.

Just look at all that "technically it's mebibytes bla bla bla" in replies. No one cares. Write some code. Or better - go outside.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by tripzilch on Thursday March 30, 2017 @09:58AM (#13995365)
space launches have crashed because of confusion over standard units.

in that case it was confusion between metric and certain fantasy engineering units, but an error of 1000/1024 will cause troubles just as badly.

so with that attitude maybe don't write that code, and better stay inside or a rocket might fall on your head.

but for serious, that correction probably has taught more than 10 people the difference between uppercase B = bytes, lowercase b = bits, uppercase M = mega = 1 000 000, lowercase m = milli, MiB = mebibyte = 1024 x 1024 bytes = 1 048 576 bytes, or at least made them aware of the important fact there is a difference. while your pedantry about nitpicking has taught nobody anything except to always be alert cause there's people like you that like to offload mental ballast and use wrong units because they insist their errors can be inferred and corrected from context... which is an important lesson also, but as a warning, not to defend the behaviour.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by defined on Thursday March 30, 2017 @05:07PM (#13998865)
This. Thank you.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by dom0 on Thursday March 30, 2017 @09:40AM (#13995212)
Insightful comment which took me 2700 mS to write.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by JCharante on Thursday March 30, 2017 @03:49AM (#13993646)
You can downvote?
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by mercer on Thursday March 30, 2017 @04:28AM (#13993776)
Yeah, when your karma is high enough. I don't know what the amount is that leads to downvote enlightenment though.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by eric_h on Thursday March 30, 2017 @04:47AM (#13993834)
I believe it is 1000.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by falsedan on Thursday March 30, 2017 @05:10AM (#13993925)
It's less than 1Mk (one megakarma).
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by JetSpiegel on Thursday March 30, 2017 @06:52AM (#13994310)
It's 1 kk (kilokarma).
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by falsedan on Thursday March 30, 2017 @06:56AM (#13994338)
It's also less than that, but more than 40 dak (decakarma)
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by joncrocks on Thursday March 30, 2017 @07:24AM (#13994441)
It's around the 500 mark at the moment for comment downvoting I believe.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by jsmthrowaway on Wednesday March 29, 2017 @10:22PM (#13992364)
And I really wish people wouldn't start this argument when it's clear what was meant from context. We can't all get our wishes. :)
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by paulddraper on Wednesday March 29, 2017 @11:04PM (#13992534)
Huh, and I thought mb was "make bucket", like aws s3 mb.

http://docs.aws.amazon.com/cli/latest/reference/s3/mb.html

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by saghm on Wednesday March 29, 2017 @10:45PM (#13992470)
Since you said that the "m" is obvious from context, I'll compromise from now on and use "mB" exclusively
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kalleboo on Thursday March 30, 2017 @02:24AM (#13993349)
You should have included the whole window in the screenshot to prevent confusion: http://imgur.com/a/e2wb3

Specifically to those who don't use iTunes Connect, this page is titled "Estimated App Store file sizes for Build", and the (?) callout says "This is the amount of disk space the app will take up on the customer's device."

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DannyBee on Wednesday March 29, 2017 @11:51PM (#13992719)
No, that's the wrong side of the store you are looking at :)

That's the size as uploaded by the developer, not downloaded to user.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by kalleboo on Thursday March 30, 2017 @02:26AM (#13993360)
Then that's pretty confusing when the (?) button next to Install Size says "This is the amount of disk space the app will take up on the customer's device."
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by adomanico on Wednesday March 29, 2017 @11:55PM (#13992738)
These numbers matched exactly to what is currently in the AppStore for the last release we have ready for sale
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DannyBee on Thursday March 30, 2017 @12:45AM (#13992981)
As it says below "You need to look at the download size on the end user device, not the binary size in iTunesConnect."

Is that what you are doing?

Because otherwise, it includes the bitcode size. (i don't pretend this makes sense. only that it is :P)

In any case, i would still bet more heavily on it being displayed wrong than anything else.

If i was to increase the binary size of first party apps at google by even 1%, there would be a mob with pitchforks at my desk in less than an hour.

I can't imagine apple is really different.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by techdragon on Thursday March 30, 2017 @01:18AM (#13993112)
I'm not sure the same can be assumed for Apple based on several things such as internal secrecy, differing organisational hierarchies, their willingness to focus on things that aren't tangible metrics like end user file download size.

Between the org and culture differences I'm just not so sure Apple can be safely assumed as similar as you expect.

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DannyBee on Thursday March 30, 2017 @03:47AM (#13993640)
None of the things you mention change the fact that if you increase the IOS system image size by 3x, it will likely no longer fit in the default firmware partition :)
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by lawnchair_larry on Thursday March 30, 2017 @02:28AM (#13993370)
I can't imagine anywhere besides Google that would actually notice or care about that.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by DannyBee on Thursday March 30, 2017 @03:46AM (#13993634)
Gonna disagree: Pretty much anywhere that doesn't generate shitty apps cares about even small size regression
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by azakai on Thursday March 30, 2017 @12:38AM (#13992939)
If so, it seems very confusing that the header is "Install Size".
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by masklinn on Thursday March 30, 2017 @05:21AM (#13993961)
According to the author, the old package was 55MB including 15MB of bitcode, and the new one is 158MB including 70MB of bitcode.

So

* the bitcode portion has grown by 4.5x

* the non-bitcode portion of the bundle has grown by 2.2x (40MB to 88MB)

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by Joky on Friday March 31, 2017 @09:28PM (#14009837)
It impacts only the bitcode and not the final binary AFAIK. The issue is with debug-info not being stripped out completely as expected. It comes from a change from LLVM upstream that was made (in 3.9) to keep source locations for providing better optimization diagnostics. It interacts badly with the debug info stripping and apparently wasn't caught. It is used by the optimizer to tell you e.g. that a specific loop can't be vectorized. See http://llvm.org/devmtg/2016-11/Slides/Nemet-Compiler-assiste... for more details about how it's used.

https://twitter.com/JokerEph/status/847512069209432064 https://twitter.com/JokerEph/status/847513808570523653 https://twitter.com/JokerEph/status/847514189929234432

Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by mikek on Thursday March 30, 2017 @02:34AM (#13993388)
I'm seeing a 3x increase in on-device binary sizes. 20MB to 60MB.
Re:Xcode 8.3 produces binaries 3x larger than Xcode 8.2.1 by rurban on Thursday March 30, 2017 @02:35AM (#13993393)
I assume they added more bitcode so they can add better IPO jit optimizations in swift, across modules. Or optimize per target on those small devices.

bitcode is already compressed.

But the regression is huge, there needs to be a command-line switch to turn that off.