NativeScript / NativeScript/ios

npm package increased from 87.6 MB to 290 MB since v7 and introduction of multi-architecture support

Open
#192 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Comparing the npm packages for:

  • @nativescript/ios@7.0.3 (first image; 87.6 MB for the whole folder)
  • @nativescript/ios@8.3.3 (second image; 290 MB for the whole folder)
image image

... 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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the contents and sizes of @nativescript/ios@7.0.3 and @nativescript/ios@8.3.3, focusing on the objc-metadata-generator binaries and XCFrameworks.zip mentioned in the report. Trace which packaging or multi-architecture change accounts for the added bytes, then verify the corrected package size against the earlier release.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.