Appcelerator Blog

The Leading Resource for All Things Mobile

Beta Releases for 6.0.0 of SDK, CLI, 4.8.0 of Studio and GA 1.2.8 & 2.0.0 for Hyperloop

37 Flares 37 Flares ×

Today, we published the following releases:

  • Beta Release for Titanium SDK 6.0.0
  • Beta Release for Appcelerator CLI 6.0.0
  • Beta Release for Appcelerator Studio 4.8.0
  • GA Release for Hyperloop 2.0.0
  • GA Release for Hyperloop 1.2.8

We’d like to thank the Appcelerator Community members who contributed to this release.

  • Michael Gangolf for his work on Android: add setRequestHeaders({});, docs, add getter, change docu, adding parameter, and updating documentation
  • Rene Pot for added missing responseHeaders property and updating HTTPClient.yml (TIDOC-2628)

We know you are excited to try them out, but before you upgrade, please note:

  • Titanium SDK 6.0.0 Beta is a MAJOR release that requires updates to your apps. Read through this blog post and all of the release notes BEFORE you upgrade.
  • Hyperloop 2.0.0 GA will only work with Titanium SDK 6.0.0 and above.
  • Hyperloop 1.2.8 GA is a patch release that includes new features, improvements and bug fixes. This version only supports up to Titanium SDK 5.5.1.

Breaking Changes

We introduced many great features and improvements with Titanium SDK 6.0.0. However, some of these changes are not compatible with features in previous releases. Below is a summary of the breaking changes as well as how to handle them.


SDK 6.0.0 brings full Node.js support, so users can use NPM modules for Android and iOS platforms (TIMOB-16078). Node 4.2.0 is the new minimum supported version and 4.6.x is the maximum supported version. Please install or update Node.js accordingly.


Xcode 8.0, which supports Swift 2.3+, watchOS 2 and 3, and iOS 8+, is the minimum supported version. Please install or update Xcode accordingly.

New, deprecated and removed APIs

We added, deprecated and removed 176+ APIs across iOS and Android. Please see this table to see how it affects your projects.

watchOS 1

As of SDK 6.0.0, the watchOS 1 template and all related code is no longer supported. See TIMOB-20083 for details.

Listen to androidback

For SDK 6.0.0, we changed how the override of a default behavior for the back button on Android works. This change requires apps using this version to override the back button to update their code when using calls like this:

win.addEventListener('androidback', onBack);
See TIMOB-19919 for more details.

Logging system and TCP ports

The new logging system uses a TCP port (TIMOB-23786). The port number is ALWAYS determined at build time, never at run time. This means that if you build two different Titanium apps, they cannot use the same port at the same time. There are a couple ways the tooling works to overcome this. See the Release Notes for details.

Rebuild Android Modules

V8 has been updated to the latest Long Term Support (LTS) release (TIMOB-19790). Android titanium modules must be rebuilt with this V8 in order for them to be supported on Titanium SDK 6.0.0.

You will need to update the android/manifest as follows:

  1. Bump apiversion from 2 to 3.
  2. Remove “armeabi” ABI from listing (keep “armeabi-v7a”).
  3. Bump their module version (typically bump the major number since this is a backwards-incompatible change).
  4. Update minsdk to 6.0.0.
  5. Then rebuild the module.

Note, you may also need to edit the Java code to remove references to deprecate classes that have been removed in 6.0.0 (such as TiContext).

Other Notable Items in the Release

Here are a few more notable features and improvements of this release:

  • Ability to enable Multi-dex to avoid the 65k method limit during Android builds
  • Ability for apps using <use -jscore-framework> to use Studio debugger. On iOS, you will need to turn on true. Also, you can use Safari to debug your app.
  • Support for iphone 7 haptic engine api

Known Issues

  • Hyperloop: Errors when running project with liveview and hyperloop enabled (TIMOB-23761)
  • Android: Debugging not working with hyperloop enabled with run-on-main-thread set to true or false (TIMOB-24037)
  • iOS Debugger: Breakpoint is not hit for the first time for a clean alloy project (TISTUD-8613)

Release Notes

These releases include 190 bug fixes, 49 improvements and 23 new features. For a more detailed overview, known issues and closed tickets see the following links:

Update Titanium SDK

To update the Titanium SDK from the command line:

[appc] ti sdk install --branch 6_0_X 6.0.0.v20161017194738
To roll back:

[appc] ti sdk select latest

Update Appcelerator CLI

Both the Appcelerator CLI Installer and the Core Package have been updated.

To update from the command line:

[sudo] npm install -g appcelerator@4.2.8-7
appc use 6.0.0-61
To roll back:

[sudo] npm install -g appcelerator

Update Appcelerator Studio

Get the Beta of Studio by changing the update type to Beta Release and then check for updates.

To roll back delete the beta version and download and install the latest stable version.

Update Hyperloop

To use Hyperloop 1.2.8, you do not need to update Titanium SDK. You can update from the command line using:

appc new

To use Hyperloop 2.0.0, update to Titanium SDK 6.0.0, then update from the command line using:

appc new

NOTE: The above method only works using appc cli 6.0.0-61. Alternatively, entering appc config set lastUpdateCheckTiDownloads null before appc run will trigger modules download.

Report bugs

If you run into any issues that seem related to the updates, please report them on JIRA.

First, check if it’s a known issue you can watch. If you can’t find an existing ticket, then create one in the Appcelerator Community (AC) project and add as much relevant information as you can, including the release version you are using.

You can leave general comments as a reply to this blog post.

37 Flares Twitter 0 Facebook 0 Google+ 2 LinkedIn 35 Email -- 37 Flares ×


Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Hi all,

    Very good news about this new beta release 😀 !
    Too bad you didn’t embed this new LTS : :(

    Very good job anyway !

    • Hans Knoechel

      Unfortunately this new LTS was released after the release was already finished, so we will probably update it in the next major release. Thx!

  2. Awesome!

  3. Jason David Miller

    Awesome job on the latest release guys!

    I’ve found a few bugs that I’d like to report but don’t seem to have the proper permissions to submit a new issue on JIRA (for Titanium). Is there a link someone could reply with or another preferred method/source for submitting customer/developer bug discovery?


    · Jason

    • Hans Knoechel

      Hey Jason, thanks for your feedback! I’ve just sent you an email with some more infos.

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
37 Flares Twitter 0 Facebook 0 Google+ 2 LinkedIn 35 Email -- 37 Flares ×