Appcelerator Blog

The Leading Resource for All Things Mobile

Titanium SDK 3.4.0 Beta for iOS 8 Now Available

13 Flares 13 Flares ×

Update #2: We’ve pushed even newer versions of all products

We’re pleased to announce a beta version of Titanium SDK and Studio, version 3.4.0, that offers compatibility with iOS 8.

Unlike the transition from iOS 6 to 7, there are less visual changes between 7 and 8. However, Apple has altered the toolchain significantly, so you will need to use Xcode 6 on OS X Mavericks or Yosemite to build for iOS 8. Our 3.4.0 Beta will enable you to make the necessary changes quickly and easily while still using the same cross-platform JavaScript APIs that you are already familiar with.

As is always the case, if it wasn’t for you—our large and active community of developers—it wouldn’t be possible for us to provide these high quality releases so quickly. Thank you—we appreciate all your feedback and please keep it coming.

How to Update


Note: You must update Studio, SDK and CLI. You cannot just install the SDK, as iOS requires tooling changes as well.

These are links to continuous integration builds. To install them, choose “Help Menu > Install Specific Titanium SDK…” from inside Titanium Studio.

To update Studio, please visit http://preview.appcelerator.com and follow the instructions to update to the RC stream, or to download a new install.

NPM Packages

Note: You may need to use ‘sudo’ before these terminal commands on OSX and Linux

npm install -g alloy@1.5.0-rc2
npm install -g titanium@3.4.0-rc4

To revert back to stable versions:

npm remove -g alloy
npm remove -g titanium
npm install -g alloy
npm install -g titanium

Updates in Titanium 3.4.0

A full list of 3.4.0 tickets (which include iOS 8 tickets) is available here. A more in-depth discussion of the release can be found in the release notes.

Known Issues

There are a few known issues in this release that will be addressed before the GA. You can view them here: 3.4.0 Known Issues. Of particular note is that Xcode 6 has substantially changed how simulators are launched. This also appears to lead to some issues with projects building once, and then failing to build again.

13 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 13 Email -- 13 Flares ×

28 Comments

  1. Donovan

    There is still a problem with this beta that has existed since 3.3.0 SDK.

    For an XHR HTTPClient onreadystatechange is called multiple times for the same ready state. In my App with this beta and SDK 3.3.0 using a simple HTTPClient to get the size of something ready state 4 is called multiple times and crashes my app because it eats up the threads.

    Please fix this. This did not happen in 3.2.3

    • Ingo Muschenetz

      Thank you for your report. Is there a JIRA ticket for this issue? We were unable to locate one, but we’d be happy to take a look if you could point us to it.

    • gino8080

      I have a problem with XHR HTTPClient only on IOS SIMULATOR, always got timeout, but on real ios device and also Android (both simulator and device) works good

      what could be the problem?

  2. Hans

    Will iOS6 still be the minimum SDK for production builds with 3.4.0?

    • Ingo Muschenetz

      You may be able to target your applications to iOS 6, but it is not officially supported.

  3. Samie

    Update is very buggy. My navigation windows glitch, yet the same code runs fine in lower versions of the SDK.

    • Ingo Muschenetz

      Samie, thank you for your feedback. This is a beta, meant to expose bugs. Is there a ticket for your issue so we can try to reproduce?

  4. Donovan

    I have discovered another issue with this release that happened also in 3.3.0 with iOS 8.

    If your app uses location services, it can not access them. It will get no location. If you go into Settings > Privacy > Location Services > Your App. You will notice the Option for Always or never is blank.

    If you set a option and open the app it will get the location. But as soon as you go back to the location settings for the app it will be blank.

    This one is a big bug that needs to get fixed quickly for the next release.

  5. Jason David Miller

    Awesome job, guys! We’re beyond excited to continue working with the Appcelerator platform! Thank you, we’re looking forward =]

  6. Daniel

    We just update to OS X Yosemite and XCode 6, and now Titanium won’t compile any apps. When first loading Titanium and when trying to modify the “iOS SDK Home” in Settings –> Studio –> Platforms –> iOS, an error alert pops up with the body text of

    “An internal error occurred during: “Update iOS info”.
    org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray”

    A little research uncovered an issue with the required Java 8.x not being compatible with Java 7.x that appears to be used in Titanium in all SDK versions (including 3.4 beta). Has there been a bug reported on this?

    • Ingo Muschenetz

      We don’t currently have a ticket for this. Can you please file one? Also, where do you see Java 8 as required? We have a number of people already using Titanium on Yosemite, but they are not updating to Java 8.

      • Daniel

        I tried filing a bug, but apparently my username doesn’t work. I’ll try uninstalling JRE 8.x and installing JRE 7.x to see if that resolves the issue, but Oracle’s website says that JRE 7.x does not work on Yosemite.

      • Daniel

        Another follow-up: JRE 7.x won’t install on Yosemite because it requires at least OS X 10.7.3, and it considers 10.10 to be a smaller number, due to the decimal point. We reinstalled Titanium Studio, and it did not resolve the issue.

        • Ingo Muschenetz

          Thanks. We filed a ticket for you here: https://jira.appcelerator.org/browse/TISTUD-6915 and we need a bit more information. Could you assist?

          • Daniel

            I have run the command that was posted here: https://jira.appcelerator.org/browse/TISTUD-6915. How would you like me to show you the results from that command?

          • Ingo Muschenetz

            You should be able to attach a .txt log file. Otherwise, just paste it in a comment and we can pull it over.

          • Daniel

            Pasted it into a comment. Thanks again for all the help!

  7. brad

    you have to remove 1st it should be

    npm remove -g alloy
    npm remove -g titanium
    npm install -g titanium@3.4.0-rc
    npm install -g alloy@1.5.0-rc

  8. Greetings

    Requires a minimum version of Java?

    • Ingo Muschenetz

      You should be able to use Java 1.6 or later on OSX.

  9. Serkan

    Hi , I have downloaded the latest Xcode 6 . Installed the titanium SDK 3.4.0 beta.
    studio/preference/studio/IOS –> refresh click
    update message

    An internal error occurred during: “Update iOS info”.
    org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray

    My …
    OS : OS X 10.9.5
    XCODE : xcode 6
    Titanium SDK : 3.4.0
    node -v : v0.10.13
    IOS SDK : 8

    http://developer.appcelerator.com/question/177815/ios-sdk-refresh-error-update-ios-info

    please help.

    • Ingo Muschenetz

      Please see the comment at the link you posted. You have a mismatched configuration.

  10. gino8080

    It is possibile to have BOTH ios7 AND ios8 sdk at the same time?

    because now I can’t compile for ios 7
    and ios8 is getting some problem with the
    TiNetworkHTTPClient

    always getting
    code = “-1001”;
    error = “The request timed out.”;
    source = “[object TiNetworkHTTPClient]”;
    success = 0;
    type = error;

    but worked good until yesterday and
    but works good with android!

    I’m on 3.4.0.v20140922135716 as default Titanium sdk

    please any help?

  11. Joseph Bauer

    Since installing the beta, get a

    “An internal error occurred during: “Computing SDK Info…”.
    org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray”

    error whenever I start Titanium. I am using OS X 10.9.5, Xcode is completely up to date, and I am also unable to run the iOS simulator for any of my projects.

    What can be done to resolve this?

    • Ingo Muschenetz

      To confirm, please check the following:

      • You have installed Studio 3.4.0
      • You have installed CLI 3.4.0
      • You have double-checked on the command line that a 3.4.0 version of the SDK is marked as “selected” using ti select sdk on the command line.
  12. Mohammad Alkhalilah

    Dir
    i dont where i ask my question so sorry about this :)
    When I update Titanium SDK to 3.4.0.GA on OS X 10.9.5. It gives me long error message and this part of it
    ****************
    Error encountered during update
    Archive: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}
    creating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/
    creating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/osx/
    creating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/osx/3.4.0.GA/
    inflating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/osx/3.4.0.GA/api.jsca
    creating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/osx/3.4.0.GA/blackberry/
    inflating: /var/folders/ks/3pj0stxj13scckcblvc6k85m0000gn/T/mobilesdk-osx-{2}989858881/mobilesdk/osx/3.4.0.GA/blackberry/blackberryndk.py
    inflating:
    ********************************
    I tried update using Titanium Studio and through the terminal using the sodu titanium sdk install, as well as downloading SDK package on the device and update without Internet. But this error keeps popping up.

    please HELP :(

    my device os x 10.9.5
    xcode 6.0.1

    • Ingo Muschenetz

      I would suggest asking a question on developer.appcelerator.com. I think we need the full log file to help diagnose.

Comments are closed.

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.
13 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 13 Email -- 13 Flares ×