0

I have set my app icons and launch images in Xcode in Project > Target > 'App Icons' And 'Launch Images'

The icons and screens are of the correct dimensions and I set them without using the asset catalog.

I have two problems:

  1. If I set default Default-568h@2x.png and Default@2x.png launch images, Xcode builds my project for an iPhone 3.5 inch screen which puts the black strips at the top and bottom of my app on my iPhone 5.

  2. The icons do not work at all.

I am using xcode 5.1.1 and have never had this issue before despite doing the 1 million times. Does anyone if this a bug or if there is a workaround ? Or must I sacrifice a small animal to the Apple gods in order to get this to work... If so please let me know which animal.

Thanks.

Zigglzworth
  • 6,645
  • 9
  • 68
  • 107

2 Answers2

2

1) you have to set all the image according to size of it

2) Press Use Asset catolog button just upper

3) it will ask you do you want to migrate icon or not you have to press migrate its done

Hope it will work.

Deep Gami
  • 508
  • 3
  • 13
  • Yes. It seems Xcode 5 doesn't really support doing it without the asset catalog.. although it seemingly allows it... I wonder if that's a bug. Thanks. – Zigglzworth May 03 '14 at 11:16
  • @Zigglzworth No, Xcode 5 supports both variants for managing images: with asset catalog and without it. You are free to choose any variant. – Vlad Papko May 03 '14 at 11:22
  • @Visput. Feel free to answer my question which addresses why I was unable to choose. Note that I have only observed issues in the latest version of Xcode (5.1.1) – Zigglzworth May 03 '14 at 12:27
  • @Zigglzworth I've already answered about hour ago. Did you try it? – Vlad Papko May 03 '14 at 12:30
1

Check if your images attached to the target:

Image settings

I've tried to remove mark from checkbox for Default-568h@2x.png image target settings and saw black strips at the top and bottom after launching on device with 4" screen.

Community
  • 1
  • 1
Vlad Papko
  • 13,184
  • 4
  • 41
  • 57