NativeScript / NativeScript/ios
npm package increased from 87.6 MB to 290 MB since v7 and introduction of multi-architecture support
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)
... 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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