I'm trying to define launch images. Probably only one image is missing.
I'm following the instructions from this site Create launch images in different sizes for different devices
So I have 7 images with the required size. But when I drag them to LaonchImages sheet it requires 8 images...the one that is missing is called "iPhone Portrait 2x" and according to the details pane I found its size 640x960 and I added it.
sill I'm getting the error - and the compilation fails...
Select your project, go to Build Settings, search for AppIcon-2 and change it into AppIcon and you will be fine.
Select project file and then select target in question. In General tab there is in app icons and launch images launch image source should be "Use assets category"
My LaunchImage file had been deleted and I had to add a new one in my xcassets.
Go to your images.xcassets. If there is no LaunchImage listed on the left, click the plus button at the bottom and navigate to new iOS launch image.
The Launch Image
asset has been deprecated. I deleted the Launch Image
asset but then I was getting compilation error.
In order to fix the error, the Launch Image
asset catalog name has to be removed from Build Settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With