Search code examples
iosobjective-cwatchkitapple-watch

Invalid Apple Watch icon file names must match pattern "*<dimension>@<scale>x.png"


I'm trying to submit an update to my App to include Apple Watch capabilities, however whenever I validate the build I get the errors detailed in the screenshot below. Looking at the bottom error my file name seems to be matching the pattern so I don't see what the issue is. If I can get the pattern right for 1 icon then I can apply the same logic across the board, however I'm not having much luck with it.

Has anyone else had this issue?

enter image description here


Solution

  • I got the same issue when I tried to submit. My problem was that I was sharing my image asset file with both my iOS app target and my WatchKit app target. You need to have a separate image asset file for your WatchKit app and it should ONLY have images for the Apple Watch in it. That fixed it for me.