Closed
Description
Please, provide the details below:
Tell us about the problem
If you rename App_Resources
folder and set the new path in nsconfig.json
- app builds and runs but the installed app has no icon - Failed to find LaunchScreen.storyboard ...
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
- CLI: PR 3356 Kddimitrov/nsconfig app folder
- Cross-platform modules:
3.4.1
- Runtime(s):
"tns-android"3.4.1-2018-02-27-03
"tns-ios"3.4.1
Please tell us how to recreate the issue in as much detail as possible.
tns create SomeApp
- Rename
App_Resources
folder - In project root folder create
nsconfig.json
with the new path toApp_Resources
folder like this: - tns run ios
{
"appResourcesPath": "app/My_App_Resources"
}
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Here is the log
Project successfully created.
Preparing project...
Successfully prepared plugin nativescript-theme-core for ios.
Successfully prepared plugin tns-core-modules for ios.
Successfully prepared plugin tns-core-modules-widgets for ios.
Failed to find LaunchScreen.storyboard but it was specified in the Info.plist.
Consider updating the resources in app/App_Resources/iOS/.
A good starting point would be to create a new project and diff the changes with your current one.
Also the following repo may be helpful: https://github.com/NativeScript/template-hello-world/tree/master/App_Resources/iOS
We will now place an empty obsolete compatability white screen LauncScreen.xib for you in platforms/ios/AppNSConfig3/Resources/LaunchScreen.xib so your app may appear as it did in pre v2.1.0 versions of the ios runtime.
Project successfully prepared (iOS)
Building project...
Xcode build...