Launch Image Xcode 6 iOS 7 warning - ios

In my iOS project i have put iOS 7.1 as Deployment Target, but know i have this warning:
Applications using Launch Screen Files and targeting iOS 7.1 and earlier need
to also include a Launch Image in an Asset Catalog.
i have add in the images.xcassets the LaunchImage Folder, and i have add the Launch Image for the 4-inch screen, but i still have the warning, how i can do to solve it?
thanks
EDIT: this is the target setting:

You have not set the launch Images Source so iOS 7 has now idea where to get the images from.
Set this to asset catalog where you have added the launch screens, iOS 8 will use the Launch Screen File if both are set.

Related

Setting KivyMD app launch screen in Xcode 12.1

I have developed a game with KivyMD for Android & iOS with Xcode 12.1. Everything works fine on Android. I have resized my app icon and launch image to various sizes that Xcode needs. In my Xcode project's General tab, I was able to set my app icon source to the appiconset folder that was generated for me when I resized my app icon and launch image. However, I am not sure how to set my app's launch image. With Xcode 12.1, it appears the button "Use Asset Catalog" has been removed and hence I am not able to set the LaunchImage folder.
My current iPhone run on iOS 14.1 and hence I had to upgrade Xcode accordingly.
Can someone help?

Your binary is not optimized for iPhone 5 - (ERROR ITMS-90096)

I get this error when trying to archive my application:
I don't understand, because I am not using LaunchImage in my application.
My settings looks like this:
Any suggestions on what I can do here?
It's because your Deployment Target is set to iOS 7.0.
A Launch Screen File is only supported for iOS 8.0 and later.
In order to support iOS 7 you must provide launch images. You can keep the Launch Screen file too but it will only be used on devices running iOS 8.0 and later.
So setup the asset catalog for the Launch Images Source and add the needed set of launch images for iOS 7.
Of course your other option is to drop support for iOS 7 then your use of the Launch Screen File will be sufficient.

iPhone 4 retina launch image in Assets.xcassets results in no launch image with iPad 7.x

I have an iPhone app built with Xcode 7. Its deployment target is 7.0. At first, when running the app on the iPad, there no launch images.
I later solved it by checking iOS 6.0 and Prior so launch images would appear on the iPad. But now i get " An iphone retina (4-inch) launch image for ios 7.0 and later is required. " in the Assets.xcassets.
Whenever I try to add the images for iPad Portrait, Landscape and iPhone Portrait in iOS 7.0 and later, the error disappears, however no launch images appear on my iPad 3rd gen. How can i fix that?
Check to see if you have more than one collection of launch images in your Assets.xcassets.
After using the "Migrate" button in Xcode 7.3.1 I unintentionally ended up with two collections, each mysteriously created by Xcode. The original was named LaunchImage, the Migrate button also created Brand Assets collection. Each held some launch images.
I too got your error:
Assets.xcassets: An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required.
I deleted the Brand Assets collection.
On Target > General > App Icons and Launch images > Launch Images Source, I set the popup to LaunchImage rather than Brand Assets.
Hold down Option key while choosing menu item Product > Clean build folder.
My LaunchImage collection was already populated successfully with all required launch images. That error message disappeared.

XCode 6.3.1 Launch Images Source not working with asset catalog

XCode 6.3.1
iOS 8.3
iPhone 5S
I created a new Game Application ( SpriteKit ) in XCode and specified Swift as the language.
Added launch image using asset catalog
Deleted LaunchScreen.xib from info.plist
Changed Launch Images Source in target->general to point to asset catalog
When I launch the app on my phone I get a black screen for a few seconds and then the app shows up.
How do I specify a launch screen in XCode that supports iOS 7 & 8?
1) Check if you have select your App Icon inside your target
2) Verify you have ALL images in your app icon set. (I'm exclude Watch Icons and Car Play, but if you need it you must add it inside your icon set)

storyboard launchimage when supporting iOS7 & iOS8

I'm creating an app that supports iOS8 and iOS7.
iOS8 supports to use Storyboards as launchimage...
But this doesn't work for iOS7.
But if I'm using Launch Images from the image.xcassets the launch image isn't loaded any more!
Is it possible to use storyboard-launch images for iOS8 and launch image from the Assets for iOS7?
Thanks in advance!
Edit:
As soon as I'm using both, iOS8 LaunchScreens is black!
For Device using iOS 7 you can do as usual, what we used to do using images.xcassets
For iOS 8 devices you have two ways..
Simply you can use LaunchScreen.xib.
this image show how Xcode by defaults sets LaunchScreen.xib for iOS 8 launch screen file.
If you don't want to set LaunchScreen.xib as launch screen file and want to display some launch image as you want in iOS 7 device, so just remove launch screen file name and make it blank(see below image) and delete LaunchScreen.xib file from Xcode. In this case iOS 8 device also takes launch image from launch images from images.xcassets.
Reference : Suryakant Sharma
This is quite a common problem, which happens when we build a new application with xCode 6.2 (and later), and set the deployment target to iOS 7. The lack of LaunchImage causes the app to run in 3.5-inch mode on iOS7 device.
If you specify both LaunchScreen and LaunchImages, the app runs fine on both iOS7 and iOS8.

Resources