9
votes

I am trying to submit my Apple Watch App to Apple. When validating, it always fails with various info.plist issues. One of these says:

The key ‘CFBundleIcons~ipad’ in bundle iPrayed.app/PlugIns/iPrayed WatchKit Extension.appex/iPrayed WatchKit App.app is invalid.

Also, I get various errors as well about Invalid icon names. I have searched for these, but I don't see them anywhere. Also, the CFBundleIcons key in the Watch App never shows on the Info.plist I have in there. What am I doing wrong? Attached below are three screenshots, one of the errors, one showing target of watch app, and one of my Image Assets file in Watch App.

enter image description here

enter image description here

enter image description here

4

4 Answers

5
votes

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.

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.

8
votes

I had this problem and after 3 hours straight I just figured it out.

Open your finder and find the WATCH info.PLIST file

Then delete the row that has "CFBundleIcons~ipad"

I hope this helps someone.

0
votes

What I did was to have two sets of App Icons, let's say, AppIcon and AppIcon-1. AppIcon is part of the main App (in Targets), AppIcon-1 is the WatchKit App (in Targets as well)
AppIcon contains the icons for iPhone, iPad and Watch.
AppIcon-1 contains the icons ONLY for the watch,


That fixed the problem for me.

0
votes

I have solved:

  • Open, in the mode code, Info.plist of "yourapp WatchKit app"
  • Delete the following lines:

    <key>CFBundleIcons</key>
    <dict/><key>CFBundleIcons~ipad</key><dict/>
    

My project also the problems you see in the screenshot.enter image description here I got around them by identifying these icons in my AppIcon deleting images and uploading them again with the names he wanted Xcode.

Also I don't why there are two < dict/ > in this position.

[Sorry for my english. :-)]