- Fixed #498: On some Linux and OS X systems, when the USER or SUDO_USER environment variables are missing, you cannot run NativeScript CLI commands. The following error appears when you attempt to run
nativescript
ortns
commands:TypeError: Arguments to path.join must be strings
.
- Fixed #459: You cannot add a third-party iOS native library to your project, if the path to the library contains spaces.
- Fixed #458: If you have installed Xcode 6.2 or earlier on your system, you cannot debug in the iOS Simulator.
- Fixed #413: If your project name contains a hyphen, the NativeScript CLI sets your application identifier inconsistently across the project.
- Implemented #447:
tns run ios
,tns run android
andtns emulate android
print the output of the running application in the console. - Implemented #441: Improved command-line completion.
- Implemented #416: Improved installation.
- Implemented #358: Improved
tns debug ios
.
- Fixed #446:
tns autocomplete disable
might not disable command-line completion properly. - Fixed #445: For some commands, HTML help is shown instead of the console help.
- Fixed #444: When you attempt to install the
nativescript
npm module usingsudo
, errors might be shown. - Fixed #443: When you attempt to configure command-line completion during installation,
ENOENT
error might be shown. - Fixed #442: The console does not show links properly.
- Fixed #394: On OS X or Linux systems, the NativeScript CLI does not resolve symlinks and you cannot build your apps.
- Fixed #391: The Android splash screen image in the template is malformed and causes errors in the build log.
- Fixed #324: If the Android SDK is not properly configured, when you run
tns build ios
,run ios
,tns deploy ios
ortns emulate ios
, the NativeScript CLI prints an irrelevant adb-related warning. - Fixed #309: You cannot open the device log for streaming with
tns device log
. - Fixed #276: On bash consoles, command-line completion does not work.
- Introduced new project structure. To migrate to the new structure, complete the following steps.
- Manually move all files and folders from the inner
app
folder one level up inside the outerapp
folder. - Remove the now empty inner
app
folder. - Verify that your project structure reflects the structure described here.
- Manually move all files and folders from the inner
- Implemented #388: Improved the
--log trace
global option. - Implemented #387: Improved installation.
- Implemented #350: Improved command-line completion.
- Implemented #175: You can run your app in Android virtual devices, created from the Google APIs images from the Android SDK.
- Implemented #88, #291: Introduced context-aware console help which you can access by running
tns <Command> -h
and extended HTML help which you access by runningtns help <Command>
.
- Fixed #380: When you run
tns build android
,tns run android
,tns deploy android
ortns emulate android
, the NativeScript CLI builds your project twice. - Fixed #371: On Android 5.x devices, NativeScript apps load very slowly on first run.
- Fixed #260: On bash consoles, the
open
command might stop working. - Fixed #257: On bash consoles, you cannot pass arguments with spaces, even if escaped.
- Fixed #251: On OS X systems, the command validation might not work properly.
- Fixed #248: On OS X systems, the
tns deploy
command might not release the console. - Fixed #169: The native Xcode project is created with an incorrect name.
- Fixed #348:
tns platform add ios
downloads the latest experimental version of the ios runtime instead of the latest stable version.
- Fixed #312:
tns platform add ios
does not preserve your app ID, if not default.
- Implemented #305, #322: You can quickly add or update your platform runtime to a specific version by running
tns platform update platform@version
For example:tns platform update [email protected]
The NativeScript team will publish experimental support for the latest versions of iOS and Android.
To list all available versions for android, run $ npm view tns-android versions
To list only experimental versions for android, run $ npm view tns-android dist-tags To list all available versions for ios, run $ npm view tns-ios versions
To list only experimental versions for ios, run $ npm view tns-ios dist-tags - Implemented #302: You can configure proxy settings for the NativeScript CLI.
- Fixed #299: You cannot build the default
Hello World
app for Android on OS X systems. - Fixed #297: You cannot install the NativeScript CLI.