I'm working on a watchOS app with a modular large face complication. The Assets.xcassets file in the WatchKit Extension includes a Complication folder with one image set each for Circular
, Extra Large
, Modular
and Utilitarian
, but in my case I have multiple possible assets for the Modular type, which I will choose from programmatically (called Bottlefed
, Breastfed
and Pump
). I was able to rename the Modular
image set to Bottlefed
, and then added the other two image sets to the Complication folder and populated them with images:
But doing this ends up showing the following warning in Xcode:
I can't find any documentation or examples of people using multiple images for assets to show me if I'm doing this the intended way or not.
Note that my approach does actually work, as far as adding multiple assets to the asset catalog and selecting from them programmatically. But the warning in Xcode is irritating, and makes me think I'm not doing this the correct way. Any thoughts?