Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Downgrade SDK - where to get the 3.x versions?

I've developed an app using Titanium on Windows. It compiles and works fine on the Android emulator. I have it running on my Droid and it's working just fine there too.

I have a Mac now so I can port to iPhone. The exact same code won't compile & run correctly for either iPhone or Android via Titanium on the Mac. The app gets stuck in an endless loop determining the lat/long & geocoding the address when compiled on the Mac. (There's no loop in the code, I think the event listener is just firing over and over.)

I've tried a few different versions of the 1.4.x nightly builds. The Developer came with the 1.2.0 SDK. Where can I get the 1.3.x versions? Maybe it's more of the troubles others have reported with the 1.4.x line. I've look on git, the downloads page, nightly builds page.

— asked September 21st 2010 by Tim Poulsen
  • iphone
  • sdk
  • titanium mobile
0 Comments

1 Answer

  • Tim

    Did you simply copy the project directory over from the Windows to the Mac machine, and then import it the project in TiDev?

    I'd recommend creating a brand new, blank project on the mac, and then copying over your code and assets from the Resources folder of the original folder to the respective folders of your new project.

    This may or may not work, but it's worth a try. :)

    — answered November 20th 2010 by Paul Dowsett
    permalink
    1 Comment
    • Hal, a newer nightly build eventually solved this issue. The app is working, almost finished now using the 1.4.2 SDK. I was having some issues with the 1.5 branch, though my recent changes might have things working right with it too. I haven't checked.

      For a while I use sharing my project directory on Windows and loading it remotely from my mac. That was working fine. Over time, I ended up with so many if(platform=android) type statements that my code was getting pretty slow. I eventually just copied the files to the mac & imported as a new project. That worked fine, btw. I now have two "branches" of my code.

      — commented November 20th 2010 by Tim Poulsen
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.