nativescript iOS构建失败

问题描述 投票:0回答:1

这是xcode错误:enter image description here

我使用了一个基本项目(没有修改):tns创建IosTest --template tns-template-tab-navigation-ng

遵循以下步骤:

  1. tns资源生成图标App_Resources / iOS / Assets.xcassets / AppIcon.appiconset / icon-1024.png
  2. tns平台添加ios
  3. tns构建ios
  4. 打开xcode并设置发布以进行签名

然后构建工作,然后存档工作,并在验证存档时出现该错误。

我使用的是nativescript版本4.2.0和Xcode 9.2(在mac 10.12.6上运行)

谢谢你的帮助!

nativescript angular2-nativescript nativescript-cli
1个回答
0
投票

当您在XCode中打开项目时,如果大多数图标上都有警告标志,请尝试将图标从finder窗口拖放到Resources -> Assets.xcassets -> AppIcon

然后尝试从Xcode构建和发布

© www.soinside.com 2019 - 2024. All rights reserved.