Re:Launch HN: Emerge (YC W21) – Monitor and reduce iOS app size
by bluesign on Wednesday February 03, 2021 @10:35AM
(#26014534)
When you say ‘size’, you mean on disk size or ipa size?
[ Parent
| on HN ]
Re:Launch HN: Emerge (YC W21) – Monitor and reduce iOS app size
by sond813 on Wednesday February 03, 2021 @10:39AM
(#26014577)
Emerge is designed to help you reduce both! We go into detail on the differences between them (and other ways of measuring size) in our docs: https://docs.emergetools.com/docs/what-is-app-size
Re:Launch HN: Emerge (YC W21) – Monitor and reduce iOS app size
by milch on Wednesday February 03, 2021 @11:52AM
(#26015608)
I believe the command you give to check if bitcode is enabled is not entirely correct. I was recently debugging an issue where bitcode was not generated for a framework I was using, and my build failed complaining about the framework missing bitcode. While that framework did have `__LLVM` segments, there was no `__bitcode` subsegment.
There’s some discussion around that on this SO question: https://stackoverflow.com/questions/32808642/how-to-check-if... (but also no definitive answer)
Re:Launch HN: Emerge (YC W21) – Monitor and reduce iOS app size
by sond813 on Wednesday February 03, 2021 @12:11PM
(#26015938)
Interesting thanks for sharing! It looks like __bitcode is used for static but not dynamic libraries so it might not always be reliable. I've also found that apps can include bitcode for frameworks but not the main app binary, but if it's included for the main app it is required to be included in frameworks. That's why Emerge checks for the presence of bitcode only in the main app executable.