Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

image set has an unassigned child

Tags:

xcode

ios

swift

I've been working on an app in Xcode for a few months now. I came back to work on it after not having looked at it for a while and suddenly, I had 174 issues.

All of my images on the storyboard were replaced with question marks, with the error:

The image set __ has unassigned children

In Assets.xcassets all of the images are labelled as unassigned:

An example

I don't know what to make of this, as it was all working fine a few weeks ago.

like image 367
J. Oh Avatar asked Aug 02 '16 17:08

J. Oh


1 Answers

In the asset catalog's Attributes inspector, check some checkboxes, like Universal or iPhone and iPad. Now you will see slots for the resolutions such as "1x", "2x", and "3x". Those slots are where your images need to go.

like image 109
matt Avatar answered Sep 18 '22 01:09

matt