My Apple Watch app has been rejected by the App Store because the icon does not appear on the watch home screen. I do not see any icons at all in the simulator and the companion app on the iPhone simulator has my app selected to appear on the watch and has an icon.
Every Apple Watch icon is provided in images.xcassets which exists for the main iPhone app, WatchKit extension and the WatchKit App.
Please tell me how I can find out what the problem is.
These are the icons in my WatchKit app bundle.
I have also uploaded a 1024x1024 icon to iTunes Connect as required.
My attributes inspector shows this for Images.xcassets for my WatchKit App.
I am still looking for the Image Set setting screen.
In the WatchKit app Info.plist, there is only one icon under Icon files, icon40.png.
Found the Image Set which is now this.
I am actually using an AppIcon image set with these settings
The 40pt image is an 80x80 PNG and the 44pt an 88x88 PNG. The WatchKit target in the AppIcon setting points to my iPhone app Images.xcassets which has these icons.
Will resubmit to the App Store now with this info and hope for the best.
Swipe to the left on your phone and in the app library tap and hold on the watch app icon and drag it to your homepage.
The WatchKit framework provides infrastructure for creating watchOS apps, including an extension delegate that manages background tasks, extended runtime sessions, and Siri intents. The framework also performs other support tasks, such as accessing information about the user's Apple Watch.
It looks like you are not assigning your icon to your Target.
You should not make an individual icon set for each size of icon, but make one icon set, of type AppIcon.
First, make an AppIcon in your images.xcassets
, by right clicking in the left pane and choosing New App Icon:
Add your images, and in the properties, choose your watch kit app as Target Membership:
Then go to your Watch App Target and assign this AppIcon as Apps Icons Source:
The App Store rejected again, but I found out that in the Info.plist for my WatchKit App, there was a row for "Icon files" with one item pointing to a file that did not exist. This overrode the "App Icons Source" for the WatchKit App target. Once removed, the problem was solved. It did not matter how many times I tried to work in Images.xcassets, as long as "Icon files" was there, the icon would never appear on the Apple Watch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With