ios
ios copied to clipboard
npm package increased from 87.6 MB to 290 MB since v7 and introduction of multi-architecture support
Comparing the npm packages for:
@nativescript/[email protected](first image; 87.6 MB for the whole folder)@nativescript/[email protected](second image; 290 MB for the whole folder)
... why has objc-metadata-generator gone from:
- a single 22.6 MB binary (x86_64), to;
- a 53.8 MB (arm64) and a 58.7 MB (x86_64) binary?
Shouldn't each binary both be closer to 22.6 MB? Has clang nearly tripled in size from v8.0.1 to v13.0.1?
Also XCFrameworks.zip has increased from 57.4 MB to 134.4 MB. This is closer to a tripling in size than a doubling. Have we not spotted something that's increasing the size dramatically?
I believe llvm did increase in size quite a bit from 8.0 -> 13.0 and we've also had to compile for both arm64 and x86_64 to support m1/m2 macs.
The XCFrameworks size also increased as we're now including the debug symbols (DSYMS) inside the xcframework rather than a separate zip on the releases page on GitHub - however these are stripped by XCode when building, so shouldn't affect app size in any way - just the npm package itself.