If you haven't installed iOS 4.2 SDK, don't. It doesn't play nice with Titanium at this time. There are tickets filed and it will be addressed but avoid it if you can.
However if you have installed 4.2, I have an experimental build that works in the simulator and on the device. It is a blend of some bug fixes/enhancements that I am implementing and a library that was updated by Appcelerator. If anyone needs it, please let me know and I'll find a place to upload and post a link here.
1.4.2 Titanium mobile just released. Solves the 4.2 compatibility problem. 1.5 still in progress, so this is interim to get this issue resolved.
Remember this is beta code on top of beta code. It should be reasonably stable but I can't guarantee anything. Also… Do not use this if you aren't using iOS SDK 4.2 because it probably won't help much.
If you tried this version, let me know in this thread. If you had issues or think you spotted a bug, let me know here as well.
This one is a little more stable. It does have a couple crashes that I am resolving but this one seems to be working better than the last. Please give it a try and disregard the other version.
I have updated this one to resolve an issue with XHR and binary files. Should be more stable.
yes I could need it right now! :-)
Cause I need to post an update to the appstore…
/your/ build works. Odd thing for me.. My app works in the simulator.. but when I run it (from TI) on my device.. it crashes immediately.
If I debug it from XCode.. the damn thing works..
I'm prepping another build today that fixes a couple bugs. If I can get some feedback on the last version I can try to address it before the next one is done.
hey John.. just curious if you had an update to /your/ 1.5 branch..?
I did dig out the crash report from mine:
Thanks for your build, I see it works for other guys, but when I trying to compile the project using your build I am getting this error in Titanium:
[INFO] One moment, building ... [INFO] Titanium SDK version: stable-1.5.0 [INFO] iPhone Device family: ipad [INFO] iPhone SDK version: 4.2 [ERROR] Error: Traceback (most recent call last): File "/Users/%USER%/Library/Application Support/Titanium/mobilesdk/osx/stable-1.5.0/iphone/builder.py", line 866, in main execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False) File "/Users/%USER%/Library/Application Support/Titanium/mobilesdk/osx/stable-1.5.0/iphone/builder.py", line 789, in execute_xcode output = run.run(args,False,False,o) File "/Users/%USER%/Library/Application Support/Titanium/mobilesdk/osx/stable-1.5.0/iphone/run.py", line 31, in run sys.exit(rc) SystemExit: 1
For the other hand, when I am trying to compile the same project from XCode (using Simulator/Debug/iPad config) I am getting some other error:
"_OBJC_CLASS_$_SBJSON", referenced from: objc-class-ref-to-SBJSON in libtiverify.a(TiVerify.o) ld: symbol(s) not found
Any ideas of what this could mean and how it could be fixed?
This deserves a bump..
John… it works now.. in debug and on device.