4

I get an error when trying to submit my Apple Watch app to iTunes Connect.

The error I get when trying to Archive my App

However, I have added all Apple Watch icons to my xcassets file and have added it to my Apple Watch App Target.

The xcassets setup

So I don't know what to do about this. Thanks!!

Mattias Farnemyhr
  • 4,148
  • 3
  • 28
  • 49

3 Answers3

8

This is a crazy bug on Xcode 6.2 but I found an easy fix (after lots of hard work).

Apparently, Xcode doesn't work well when using same icons for the app and for the watch at the same asset catalog so just separate the icons and that would fix that.

Moreover, Pay attention that the assets resource is attached to the WatchKit app.

Just a small notice, Pay attention to have a square icon and not to include any transparency on those icons. It would be submit if you do but would reject automatically after few minutes.

Idan
  • 9,880
  • 10
  • 47
  • 76
  • 1
    Awesome, thanks @Idan. I followed both of your suggestions but I think the latter one really did the trick. I hadn't attached the xassets to the app target. – Mattias Farnemyhr Apr 03 '15 at 21:34
  • @materik That's hard to find. Also pay attention to attach the asset to all your targets...You should see the icons on Xcode and a default if it isn't attached. – Idan Apr 04 '15 at 13:21
  • yeah exactly. Did that. Was able to submit my app to Apple yesterday so everything worked out fine! Thanks again. – Mattias Farnemyhr Apr 04 '15 at 13:30
  • When I try to set my Apple Watch target to have a separate xcassets file, it just links to the iPhone one. Has anyone had this issue? – WolfLink May 30 '15 at 07:34
1

I'm not sure if there is an icon spot for CarPlay in xcassets for the Apple Watch Apps or not, but I know that there is a glitch in Xcode 6.2 that has caused me to encounter the same error when I have a CarPay icon image added. When I removed the CarPlay icon, it fixed the issue instantly.

agwin27
  • 196
  • 1
  • 2
  • 10
0

Go to the Watch App Target and click the arrow next to the App Icons Source field. Then click on an icon of your choice (doesn't matter which one). Open the File Inspector (right sidebar, first icon from left) and select the Apple Watch Target under Target Membership.

Fabio Poloni
  • 8,219
  • 5
  • 44
  • 74