18

I just updated xcode to 7.0 and fixed most of the bugs, but I keep getting this error message:The launch image set "LaunchImage" has 2 unassigned children. I already deleted the two unassigned children and still getting this error message.

Cœur
  • 34,719
  • 24
  • 185
  • 251
Drew Bennett
  • 493
  • 3
  • 6
  • 25

6 Answers6

14

Try to deep clean Xcode (command+alt+shift+K)

Loegic
  • 3,270
  • 19
  • 32
14

If you click the problem , Xcode will lead you directly into the Images.xcassets , manually delete the two Unassigned images , rebuild it work fine for me.

Stephen Chen
  • 2,919
  • 2
  • 25
  • 38
9

The deep clean didn't work for me. As trivial as it sounds, recreating the LaunchImages fixed the issue for me. I don't know why it happened in the first place, probably an Xcode 7 bug, but it works again.

Daniel
  • 3,490
  • 3
  • 20
  • 41
5

What you have to do is manually delete the two unassigned images, and then right click your image asset panes and choosing: App Icon & Launch Images > New iOS Launch Image. Once you click on that, a new set of launch image screen slots should populate. See the screenshot below for reference.

enter image description here

Mike Williamson
  • 4,801
  • 11
  • 60
  • 93
James Allan
  • 71
  • 1
  • 3
1

In my case deep clean would not work until I manually deleted both unassigned images. For me the fix was a combination of all three answers above.

Greg
  • 1,634
  • 1
  • 26
  • 51
1

Select the image. Open the attributes inspector and check that a device has been selected - i.e. all/universal. Then drag and drop the unassigned image into the appropriate image size.

Stamp
  • 933
  • 1
  • 9
  • 18