NativeScript / NativeScript/nativescript-cli

iOS 1024x1024 icon not being auto generated

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

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

needs more info resources generation
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

@erwindemoel commented on Thu Feb 06 2020

I've generated the icons for the App store using tns resources generate icons

https://docs.nativescript.org/tooling/docs-cli/project/configuration/resources/resources-generate-icons

However when I try to deploy to the App store using Xcode, I get the error saying that the required 1024x1024 icon is missing.

I would expect that it would also generate this icon and place it in App_Resources/iOS/Assets.xcassets/AppIcon.appiconset

I've manually added a 1024x1024 icon in that folder and also tried updating the Contents.json file with:
{ "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "icon-1024.jpg", "scale" : "1x" }

This works.

Why doesn't this get generated automatically?

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

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

はじめの一歩

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

調査の方向性

tns resources generate icons の実装から始め、App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/ にどのように値を設定しているかを確認します。この issue ではソースファイルもテストも指定されていません。コマンドが必要な 1024x1024 の iOS マーケティングアイコンを生成し、Contents.json を手動で編集しなくても Xcode がアプリを受け入れれば完了です。

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

評価

技術スタック
ios, javascript
領域
cli, mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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