NativeScript / NativeScript/nativescript-cli
iOS 1024x1024 icon not being auto generated
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
@erwindemoel commented on Thu Feb 06 2020
I've generated the icons for the App store using tns 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?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 tns resources generate icons 的实现开始,检查它如何填充 App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/;该 issue 未指定源文件或测试。完成的标准是该命令能够生成所需的 1024x1024 iOS marketing 图标,使 Xcode 无需手动编辑 Contents.json 即可接受该应用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ios, javascript
- 领域
- cli, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100