Nativescript-cli: [Xcode 11] 'UILaunchImages' has been deprecated, use launch storyboards instead

Created on 9 Aug 2019  路  1Comment  路  Source: NativeScript/nativescript-cli

Environment

  • CLI: 6.0.3
  • Cross-platform modules: 6.0.1
  • iOS Runtime: 6.0.1

Describe the bug
Building a HelloWorld JS app using Xcode 11 beta 5 is showing the following warning:
'UILaunchImages' has been deprecated, use launch storyboards instead. (in target 'jsHelloWorld' from project 'jsHelloWorld')

To Reproduce
1) npm i nativescript@latest
2) sudo xcode-select -s <path-to-your-xcode11-beta5>
3) tns create jsHelloWorld --js && cd jsHelloWorld
4) tns build ios --emulator

Expected behavior
The app should be built without any warnings.

Acceptance criteria

  • [ ] The warning should be present with live templates and missing with rc templates

Related to: https://github.com/NativeScript/nativescript-cli/issues/4909

bug ios build

Most helpful comment

The solution to remove the warnings is:

  1. In ../App_Resources/iOS/build.xcconfig the configuration ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; should be removed.
  2. ../App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage should be deleted

>All comments

The solution to remove the warnings is:

  1. In ../App_Resources/iOS/build.xcconfig the configuration ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; should be removed.
  2. ../App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage should be deleted
Was this page helpful?
0 / 5 - 0 ratings

Related issues

PeterStaev picture PeterStaev  路  3Comments

NickIliev picture NickIliev  路  3Comments

ZMW9 picture ZMW9  路  3Comments

trodellez picture trodellez  路  3Comments

NickIliev picture NickIliev  路  3Comments