Nativescript-cli: Missing tab bar icons in newly created tab-view application when running for iOS

Created on 11 Jul 2019  路  4Comments  路  Source: NativeScript/nativescript-cli

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.0-2019-07-11-160948-13630
  • Cross-platform modules: 6.0.1
  • iOS Runtime: 6.0.0
  • nativescript-dev-webpack: 1.0.0

Describe the bug
The tab bar icons are not displayed when running an application, created from the tabs template, on iOS.
Error messages on the console:

CONSOLE ERROR file:///node_modules/tns-core-modules/trace/trace.js:178:0 Error: Could not load tab bar icon: res://tabIcons/home
CONSOLE ERROR file:///node_modules/tns-core-modules/trace/trace.js:178:0 Error: Could not load tab bar icon: res://tabIcons/browse
CONSOLE ERROR file:///node_modules/tns-core-modules/trace/trace.js:178:0 Error: Could not load tab bar icon: res://tabIcons/search

To Reproduce

tns create tabs-app # Select: 1) Plain JavaScript 2) Tabs
cd tabs-app
tns migrate
tns run ios

Expected behavior
The tabs icons should be displayed.

bug critical ios

Most helpful comment

Yup its fixed! Great, fast work guys :)

@NathanWalker FYI 馃憜.

All 4 comments

Thanks for logging this! One thing to note though: it's not just tab bar icons, its any image in App_Resources.

@rosen-vladimirov @Fatme is this fixed in the latest RC? I'll be happy to test if so...

Hey @davecoffin ,
Yes, it should be fixed there. Can you give it a try and inform us if it works on your side?

Yup its fixed! Great, fast work guys :)

@NathanWalker FYI 馃憜.

Was this page helpful?
0 / 5 - 0 ratings