I'm designing an iOS app and am trying to add launch screens. Although I'm only supporting iOS 9.0 and later, I've added launch screen for iOS 6.0 and later. Despite this, for some reason I'm still getting the following error:
"An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required"
When the add the pictures and save, the error temporarily goes away. But when I run the app on any device (through Simulator), the error comes back. Also, no launch screen shows.
YES, I know there are several threads on Stackoverflow (examples given at the end) mentioning this error. I've looked through them and the don't help me because they were either for an older version of Xcode, or the problem wasn't exactly as the one I have.
I am using Xcode 7.3.1 with Swift 2.2
Examples of other threads with similar issues:
XCode iOS7 Asset Catalog Warning - Only Supporting iOS8
How do I clear a warning for xcassets unassigned children?
Adding iOS 7 version of iPhone 4-inch launch image to project breaks launch image when run on iOS 7
"Missing retina 4-inch launch image" error, but I I have that image
Missing Retina 4 launch image. How to ignore this error?
You have selected the configuration for the "Universal" devices but not added any image for iPhone for iOS 7 and later.
You can do this two things to get rid of this error:-
If you are aiming to deploy the app for iOS 8 and / or iOS 9 and later, just select the iOS 8 and later in the properties of "Brand Assets-2". By this you can solve this error.
If you want to keep this app for iOS 7, then just select the "Portrait" mode in iOS 7 and later and insert image into it.
By this two ways you can get rid off to your error.
Happy Coding!
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