17

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
  • 37,241
  • 25
  • 195
  • 267
Drew Bennett
  • 483
  • 3
  • 6
  • 25

6 Answers6

14

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

Loegic
  • 3,390
  • 20
  • 33
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
  • 3,027
  • 2
  • 27
  • 39
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,758
  • 3
  • 22
  • 43
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,915
  • 14
  • 67
  • 104
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,750
  • 2
  • 29
  • 56
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.