Skip to content

[Xcode 11] 'UILaunchImages' has been deprecated, use launch storyboards instead #4940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
DimitarTachev opened this issue Aug 9, 2019 · 1 comment
Closed
1 task
Assignees
Labels
bug build Describes issues related to build operations os: ios
Milestone

Comments

@DimitarTachev
Copy link
Contributor

DimitarTachev commented Aug 9, 2019

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: #4909

@KristianDD
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug build Describes issues related to build operations os: ios
Projects
None yet
Development

No branches or pull requests

4 participants