Appcelerator Blog

The Leading Resource for All Things Mobile

Introducing Titanium Mobile 1.1

0 Flares 0 Flares ×

We have just pushed Titanium Mobile 1.1. You should be getting automated update notifications inside Titanium Developer if you have not already.

So here is a summary of what’s included. You can see all the resolved issues in our Issue Tracking System. Please review the specific items around the release and known issues.

Table View Speed Improvements

We have made more table view rendering improvements when dealing with remote images – especially images that are required to be scaled to size.

Significant Launch Speed Improvements in Simulator

We have made significant improvements in the compiler when launching in the simulator. Essentially, when running in simulator mode we now will do a full compile once with all dependencies inside the compiled application but we’ll now not pre-compile your source code. Instead, we’ll simply run in interpreted mode and load resources directory from your application Resource folder. On subsequent launches, we can now simply launch the simulator. This means you can develop-run-debug in a much more rapid cycle. When you run on device or package for distribution, we still do a full rebuild with dependency analysis.

iPhone XML/DOM Fixes

We made a number of fixes in the iPhone DOM implementation. Thanks to Mark Poston for submitting numerous test cases that allowed us to narrow down the fixes quickly.

iPhone Picker

We have expanded the Picker API to now support custom row painting (by using views), multicolumn support and now we support Date, Time, DateTime and count down picker types.

Map Views

We now support the ability to add multiple annotations in one call in MapView (iPhone only at the moment). This is a performance improvement patch we received from Chris Erway. (Thanks Chris!) This performance improvement is really only useful for apps that use a large number of annotations on the map and provides a nice speed boost.

Bonjour and Sockets Support

By popular request, Steve Tramer worked on adding Bonjour and TCP Socket support to iPhone and submitted his work to Titanium. We have brought this work in and it’s now available. We hope to bring Android up to have the same support as well as provide more enhanced networking capabilities in a near future release.

iPad support (Premium Subscribers Only)

With this release, we have pushed initial iPad project support. While you can run your apps today on iPad with Titanium, this provides native iPad application support and new iPad project and simulator support. If you’re a premium subscriber, we’ve sent you a link in email to how to access the update. If you’re not a premium subscriber yet, that’s OK. We’ll have support out very soon for everyone. We wanted to give our premium subscription customers the chance to play with it a little bit before we make it available to everyone. However, I’ll make this offer to you if you’re not yet a premium subscriber. If you’re building an iPad app today and want need access, email me.

iPhone 3.2 Beta 5 support

We now build Titanium against iPhone SDK 3.2 Beta 5.

Numerous Android Fixes and Improvements

We have made a lot of fixes and improvements on Android. The Android team has been working very hard with Android and all the various devices, operating system versions and firmware.

What’s next?

We’re planning on releasing 1.2 on April 5th. 1.2 will continue to add additional iPad UI support and fix various prioritized issues reported by premium subscribers and critical issues reported by the community.

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

28 Comments

  1. Hi Jeff,

    nice work!
    There’s a little typo at the release date: (2/22/10) http://developer.appcelerator.com/doc/mobile/release_notes

    Cheers,
    Jonas

  2. Doh! thanks. fixed.

  3. Daniel Horan

    Hi,

    I just updated my version of Titanium Developer and, since, have received issues when building with the iPhone SDK (version 3.1).

    The simulator launches correctly but the built application exits immediately – this issue has occurred when building the Kitchen Sink on a fresh install of Mobile 1.1.

    Is there a known fix for the issue that I am experiencing?

  4. Daniel Horan

    Adding to my previous comment, the error in the log reads;

    Terminate called after throwing an instance of ‘NSException’

  5. Igor Afanasyev

    Same for me: KitchenSink won’t run, giving an ‘unrecognized selector sent to instance …’ uncaught exception.

    • preparing a quick patch. i think it’s related to a conflict between 3.1 and 3.2 of the simulator launcher. verifying right now.

  6. newunderdog

    I upgrade 1.0 to 1.1.0. After that, I can not emulate the app because of bad cpu type error. So I have to keep choosing 1.0 instead of 1.1.0.
    Did you give up 32 bit cpu support?

    My MacBook is CoreDuo(32bit).

    Please advise me.

    • can you provide more details? i have never heard of this type of error. do you have more details? we still support 32 bit, yes.

  7. newunderdog

    I chose 1.1.0 for Titanium SDK at EDIT tab. And I just tried to launch iPhone emulator.

    I can launch iPhone emu with 1.0.0.

    Titanium Developer says below. Please take a look at it.
    ———————————
    [INFO] Compiling JavaScript…one moment
    [INFO] No JavaScript errors detected.
    [INFO] One moment, building …
    [INFO] Detected pre-compiled app, will run in interpreted mode to speed launch
    [INFO] Launching application in Simulator
    /bin/sh: /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim: Bad CPU type in executable
    [INFO] Launched application in Simulator (3.50 seconds)
    [INFO] Application has exited from Simulator

  8. Igor Afanasyev

    Jeff,

    Here’s the screenshot with the error and call stack:
    http://dl.dropbox.com/u/789693/temp/sdk_1_1_error.png

    Hope this helps.

  9. OK, i have pushed the update. But if you have already downloaded 1.1.0 and are experiencing an issue launching the simulator with iPhone SDK 3.1 you can follow this instructions to get the fix (or just delete your 1.1.0 sdk directory and restart developer).

    1. Download http://drop.io/hidden/rwpy6j3xswtk1h/asset/aXBob25lc2lt
    2. Rename this file iphonesim
    3. Copy (and overwrite existing file) in /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/

    You should be able to launch the simulator after this patch.

    Sorry about that. Sounds like a 3.1 vs. 3.2 conflict with the simulator.

  10. dale

    Hi Jeff,

    Where can we find the updated API for this release (1.1)?

    thanks,
    Dale

  11. Tremendous work Jeff, have fun in vegas, but don’t blow the company account in the casinos!

  12. newunderdog

    Thank you for your support.

    I tried to delete 1.1.0 folder. And after retarting Ti Developer I updated to 1.1.0. But the problem did not solve. It was same error.

    So I downloaded your file and replaced.
    But now Ti Dev says below.

    [INFO] Compiling JavaScript…one moment
    [INFO] No JavaScript errors detected.
    [INFO] One moment, building …
    [INFO] Detected pre-compiled app, will run in interpreted mode to speed launch
    [INFO] Launching application in Simulator
    /bin/sh: /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim: Permission denied
    [INFO] Launched application in Simulator (1.68 seconds)
    [INFO] Application has exited from Simulator

    ——————-

    I tried to change the file permission to 755 for ‘iPhonesim’ file. And then Bad CPU type error again.

  13. Andrew

    I’m having the exact same problem as newunderdog, whether I install 1.1 or download the drop.io file and replace I get those errors. Has anyone gotten around these?

  14. Steve Perlow

    Also can’t build with 1.1, which I downloaded 2 hours ago (so it’s the more recent one).

    The first time I tried with 1.1, the full build was done and then a crash. Since then, I’m not seeing much of an error, developer just crashes and the app is never loaded in the simulator.

    Tried deleting and reinstalling 1.1 but that didn’t help.

    1.0 still works fine.

  15. newunderdog

    I tried 1.1.0 with another mac(iMac late2009).
    It worked fine.
    MacBook early2006 still have the problem.

  16. Lew Wetzel

    I am having problems on a Windows 7 Machine after loading the 1.1.0. It is wanting me to tell it in the profile where the Android SDK is and Frankly…I have not idea.

  17. I downloaded the fix and the application does not start in the simulator. I get this error:

    [INFO] Compiling JavaScript…one moment
    [INFO] No JavaScript errors detected.
    [INFO] One moment, building …
    [INFO] Launching application in Simulator
    /bin/sh: /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim: Permission denied
    [INFO] Launched application in Simulator (0.82 seconds)
    [INFO] Application has exited from Simulator

    • looks like a packaging problem that we’re going to resolve in a 1.1.1 maintenance update ASAP.
      try to run this command from terminal:

      > chmod a+x /Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim

      To see if you can workaround in the meantime.

  18. Manav Uppal

    I’m getting the same problem that Steve Perlow is. As soon as I launch any project in the 1.1.0 SDK, it builds, launches the iPhone simulator ( not the application in the simulator ), and Titanium Developer crashes.

    I’ve even tried downloading the iphonesim file and given it the required permissions but still the same thing happens…

    Any ideas?

  19. Steve Perlow

    Manav,

    This

    http://developer.appcelerator.com/question/5881/titanium-developer-crash-with-titanium-sdk-110#13041

    Fixed it for me – copying the iphonesim file from my 1.0 sdk directory to the 1.1 directory. I’m no expert so I’m not sure why exactly that worked and other similar solutions (reinstalling the 1.1 SDK) may not have.

    Hope that helps.

  20. Hi

    I have done all I could.. removing entire titanium developer + SDK, download new sdk, iphonesim, etc but still can’t resolve the issue of iphone simulator crashing on every build.

    My setup
    OSX 10.5.8
    Titanium 1.1 developer
    mobile SDK 1.1.0, 1.1.1

    How to go back to 1.0.0?
    At least it was working before?

    This is the error on 1.1.1 after I replaced iphonesim from link above

    [INFO] One moment, building …
    [INFO] Detected pre-compiled app, will run in interpreted mode to speed launch
    [DEBUG] executing command: /usr/bin/killall iPhone Simulator
    [INFO] Launching application in Simulator
    /bin/sh: /Library/Application Support/Titanium/mobilesdk/osx/1.1.1/iphone/iphonesim: Permission denied
    2010-03-25 11:46:25.910 osascript[963:613] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion: dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Application Support/ProApps/SharedA/Frameworks/ProCore.framework/Versions/A/ProCore
    Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
    Reason: image not found
    2010-03-25 11:46:25.912 osascript[963:613] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion: dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Application Support/ProApps/SharedA/Frameworks/ProCore.framework/Versions/A/ProCore
    Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
    Reason: image not found
    [INFO] Launched application in Simulator (1.16 seconds)
    [INFO] Application has exited from Simulator

    • are your replacing the iphonesim that is included in 1.1.1? you should be using the version in 1.1.1 and not replacing it.

  21. I was using the version 1.1.1 but it crashed (both Ti developer and iphone sim.

    Then, I replaced it with the iphonesim in the download link above.

    This time, ti developer did not crash but iphone sim does not load the app at all….

    I have some missing files as indicated in the debug log:
    /bin/sh: /Library/Application Support/Titanium/mobilesdk/osx/1.1.1/iphone/iphonesim: Permission denied
    2010-03-25 11:46:25.910 osascript[963:613] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion: dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Application Support/ProApps/SharedA/Frameworks/ProCore.framework/Versions/A/ProCore
    Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
    Reason: image not found
    2010-03-25 11:46:25.912 osascript[963:613] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion: dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Application Support/ProApps/SharedA/Frameworks/ProCore.framework/Versions/A/ProCore
    Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
    Reason: image not found

    Does this have to do with it?

  22. I’m not sure what this motion library is … we don’t use that anywhere. I’m not sure about this one. The first error is permission denied, seems it’s not executable or something. You could try setting the binary to have executable bit in terminal.

    > chmod a+x iphonesim

    It ships with executable bit so I can’t imagine how that changed until the copy somehow changed it.

  23. Jeff,

    I couldn’t find a definition of interpreted mode on the net, do you mean that the compiler engine won’t sift through the code to check which APIs are used and so if/when an API is used for the first time will it fail?

    cheers
    Chris.

  24. Nik

    I’m not seeing any increase in the build-debug cycle time with the simulator unfortunately.

    On my machine it takes about a minute to compile and run my app the first time. After quitting the simulator, I change NO files, and just hit run again. A full one minute compile then happens again.

    This is on 1.1.2.

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