Mobile SDK 1.1 Crashes Titanium Developer
Hi Titanium team,
I have an app I'm building in 1.0. Works great until I set the Titanium Mobile SDK to 1.1. When building for the simulator, it detects that a precompiled version exists and should run in the interpreter. Then Titanium Developer crashes.
Tested using 1.0 and it works well.
Please help!
OSX: 10.5.8 , iPhone SDK: 3.1 , Titanium Mobile SDK: 1.1
Jon
15 Answers
-
@Nolan, this might help. (at least it seems to have for me)
@Terry Martin had this bit of wisdom over here, https://developer.appcelerator.com/question/5881/titanium-developer-crash-with-titanium-sdk-110
<Quote from Terry Martin>
Seems the new Ti 1.1.0 update is built under 3.2 SDK. Which means the fix may not work for leopard users (when attempting to run the simulator). It crashes Ti.
However, here's a temp workaround: copy the iphonesim file from 1.0.0 to 1.1.0
/Library/Application Support/Titanium/mobilesdk/osx/1.0.0/iphone/iphonesim
[copy the previous iphonesim over to this next one]
/Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim
This will run the simulator.
My environment: Leopard 10.5.8, 3.1.3 SDK, Java 1.6.0_17
</Quote>
I copied over the iphonesim from 1.0.0 to 1.1.0 as mentioned and TD no longer crashes. Worked with my template app and with the KitchenSink.
HOWEVER… the saga continues… although launching the project seems to work with this fix, what doesn't seem to be working is that if I edit any files within my project and click Launch again, the app doesn't seem to either be getting rebuilt or deployed (not entirely sure which yet). So whatever I run in the iPhone emulator is still my old project instance. In order to actually recompile the deploy to the simulator, I have to revert to mobile sdk 1.0.0. So, all is not well yet.
-
@Nolan I tried the mobile sdk reinstall, but got the same results.
Here is what I tried:- Quit Titanium Developer to ensure it was not running.
- Removed the 1.1.0 mobilesdk by removing: /Library/Application Support/Titanium/mobilesdk/osx/1.1.0
- Started Titanium Developer
- Noticed the SDK update in the top right panel and clicked to download and install the 1.1.0 mobile SDK.
- The new SDK installation completes
- I clicked on the template project and change the mobile sdk from 1.0.0 to 1.1.0.
- Went to 'Test & Package' and attempted to Launch the iPhone emulator.
- Titanium Developer crashes.
I also did a second test where I attempted to close and reopen TD inbetween steps 5 and 6 and got the same results.
-
I'm also seeing Titanium Developer crash.
My current env is:
OSX=10.5.8
iPhoneSDK=3.1
JavaVersion=1.6.0_17I had a generic template project that was created by Titanium Developer with absolutely no modifications (simply clicking "New Project" and filling in all the necessary details). With Titanium Mobile SDK set to 1.0.0 it was working fine; it would launch the iPhone emulator and show the 2 default tabs in the app. This morning I downloaded the Titanium SDK update when it appeared in the top right corner of Developer. I edited this template project to Titanium SDK 1.1.0 and attempted to launch the app. Titanium Developer crashes every time the app is attempted to be launched. If I revert the Titanium SDK to 1.0.0, it works again.
-
I confirm Christopher's observation… A newly created default template with no modifications still crashes Titanium Developer when launching for the iPhone simulator.
Is there a log file we need to open and paste here?
Thanks!
-
I'm also having the same issue. Works fine for 1.0.0, but TD crashes with 1.1.0. When I start TD with –debug, there are no apparent entries related to the crash. I initially downloaded before the fix went in for iphonesim, so I removed the 1.1.0 SDK dir and allowed TD to download it again.
- Mac OS X 10.5.8
- iPhone SDK: 3.1 (Xcode 3.1.4)
-
someone please fix this :(
-
I had the same issue this morning after I've updated to 1.1.0.
Then I tried to install the SDK 3.2, which told me, I need OSX 10.6.2.
So I updated OSX to 10.6.2, SDK to 3.2 and now everything works great!
Maybe that helps..
-
I wonder if it's safe to ASSume that the Mobile SDK 1.1 only works with Snow Leopard (OSX 10.6.x). Possibly because of the iPad support? That would've been a useful footnote from Appcelerator. Was breaking OSX 10.5 environments a conscious decision or just an oversight? Will 10.5 be re-supported in Mobile SDK 1.2? Confused.
-
we are looking into this now.
-
can you each try to remove the mobile sdk and try to reinstall.
you can remove it by removing this directory:
/Library/Application Support/Titanium/mobilesdk/osx/1.1.0
-
Same same. 10.5.7, iPhoneSDK 3.1
-
@Christopher Rumpf ,don't know what I do with:
copy the iphonesim file from 1.0.0 to 1.1.0
/Library/Application Support/Titanium/mobilesdk/osx/1.0.0/iphone/iphonesim
/Library/Application Support/Titanium/mobilesdk/osx/1.1.0/iphone/iphonesim….but after no more crashes! thanks :)
-
Anyone knows how to solve it? This is also happening with me.
Plz, help?!
-
Tried from 1.1.0 to 1.1.1 to 1.1.2
Still crashed.
My setup:
OSX 10.5.8
Ti developer 1.1
Mobile SDK 1.1.0, 1.1.1, 1.1.21.0.0 is OK but I read that Apple Store reject apps because of 'proprietary code'
-
Christopher, I'm having that same issue with it "not really" compiling my updated app. did you ever find a fix?