【问题标题】:nativescript iOS build failednativescript iOS 构建失败
【发布时间】:2019-02-25 10:16:53
【问题描述】:

这是 xcode 错误: enter image description here

我使用了一个基本项目(没有修改):tns create 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】:

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

然后尝试从 Xcode 构建和发布

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-08-04
    • 1970-01-01
    • 2018-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多