Programs will not compile under 1.4.0
We recently upgraded the SDK to 1.4.0, and now Titanium won't even compile the "Hello World" app when you create a project. It switches between compiling to a black screen, or stopping right after "One moment, building…". There are no messages that I can consider an error message. It just does not work.
I have the latest iPhone and Android SDKs, and I double checked today.
I'm running on a Mac Pro, with Snow Leopard 10.6.4. It also does not work on a Mac Mini or an iMac.
Some old projects still compile correctly, and sometimes I can trick it into compiling if I roll back the SDK to 1.2.0, but that isn't the goal here.
I've reinstalled and wiped plist files, all that stuff. Still getting problems.
Help me out here. Let me know if any further info is needed.
Oh, and I'm running Titanium 1.2.1.
3 Answers
-
I'm having the same exact problem. All my other apps running 1.3.2 on Developer 1.2.1 compile and install fine on the iphone. Do we need to be running iPhone SDK 4? I am still running 3.1.3.
-
I had this problem also. I checked the build log it fails as it can't find libTiCore.a.
In the project build directory under iPhone/lib directory there is a symlink to the library which is specific to the verision of the sdk. Titanium developer doesn't seem to update this when the new sdk is selected. Go into this directory remove the symlink to the 1.2.0 lib and recreate it to point to the new 1.4.0 ( the path is apparent when you look at the symlink).
-
I haven't tested for android but I suspect something similar.