I just downloaded Xcode 11 Beta 4 and when I want to build my Swift 4 project gives me:
UILaunchImages has been deprecated, use launch storyboards instead
How can I fix it?
Please read the release notes for Xcode 11 beta 4:
Known Issues
Your app might fail to build if it contains a launch image. The failure message resembles the following: “The launch image set named <image set name> did not have any applicable content.” Launch images are deprecated and should be removed; use a launch storyboard or .xib file instead. (50210495)
Workaround: Clear the build setting ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME.
Xcode -> File -> New -> File... -> Launch Screen.
Select Target -> Build Settings -> Search "LaunchImage" & delete string from (Debug and Release) Asset Catalog Launch Image Set Name.
Select "Assets.xcassets" & remove LaunchImage from it.
Build & Run.......enjoy
After testing, to get rid of compiler warnings, delete the LaunchImage folder in Images.xcassets, and in Build Settings, delete LaunchImage (in Debug and Release) from Asset Catalog Launch Image Set Name.
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