NativeScript / NativeScript/ios

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

オープン
#192 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
150
フォーク
43
平均マージ
3日 10時間
マージ済み PR(30日)
22

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

@nativescript/ios@7.0.3 と @nativescript/ios@8.3.3 の内容とサイズを比較し、レポートで言及されている objc-metadata-generator バイナリと XCFrameworks.zip に焦点を当ててください。追加されたバイト数の原因となったパッケージングまたはマルチアーキテクチャの変更を追跡し、その後、修正後のパッケージサイズを以前のリリースと照合して確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ios, javascript
領域
build-system, mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。