Watchkit AppIcon - The app icon set named “AppIcon

2019-01-16 05:46发布

There is the Images.xcassets file in my WatchKit App. As soon as I put any icon in that asset build failed with the error message: "The app icon set named "AppIcon" did not have any applicable content."

enter image description here

标签: ios watchkit
8条回答
冷血范
2楼-- · 2019-01-16 06:38

Most likely your watchKit app icons are not of the correct size. You need the following sizes

    (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

Basically all the numbers you see in at bottom under Images.xcassets you need to double them as they need to be retina display.

查看更多
家丑人穷心不美
3楼-- · 2019-01-16 06:39

I solved the problem!

originally I only selected Apple Watch checkbox in Xcode 6 and run very well. However, I got the same error in Xcode 7 without modifying anything. My solution is to select CarPlay checkbox in addition and put in two square icons with 120px and 180px for CarPlay. Now I can run my watchapp finally.

However, it cannot be accepted for submitting to Apple Store...

enter image description here

查看更多
登录 后发表回答