Watchkit AppIcon - 名为"AppIcon"的应用程序图标集没有任何适用的内容

Ing*_*Ron 68 ios watchkit

我的WatchKit应用程序中有Images.xcassets文件.只要我在该资产构建中放置任何图标失败,并显示错误消息:"名为"AppIcon"的应用程序图标集没有任何适用的内容.

在此输入图像描述

Kev*_* Qi 136

这是生成WatchKit图标的简单方法,对我来说效果很好:

  • 将源图像上传到http://makeappicon.com
  • 转到WatchKit应用程序中的Images.xcassets
  • 右键单击包含AppIcon的窗格,选择"Import ...",然后选择makeappicon.com为您生成的watchkit文件夹


Sam*_*m B 31

很可能您的watchKit应用程序图标大小不正确.您需要以下尺寸

    (these are all in pixels)
    48 x 48
    55 x 55
    58 x 58
    80 x 80
    87 x 87
    88 x 88
    172 x 172
    196 x 196
Run Code Online (Sandbox Code Playgroud)

基本上你在Images.xcassets下面看到的所有数字都需要加倍,因为它们需要进行视网膜显示.


Sar*_*mar 5

很可能您的watchKit应用程序图标大小不正确.您需要按照上图中的说明操作