As I just received the mail from Apple telling that from now all apps and updates must be compiled with sdk4, I was wondering if I could now compile with SDK4 and Titanium 1.3.2.
Does someone know if the updates to apps compiled in SDK 3.1 must really be compiled with SDK 4?
Hi there Michel
Yes, Titanium Mobile apps compile using Ti Mobile SDK 1.3.2 and iPhone SDK 4 (Final). The Team released 1.3.2 primarily to troubleshoot any niggley snags with the new OS - prior to a 1.4.0 release, and provide OS4 compatibility as soon as poss.
What is apparent though is that once you've upgraded the SDK to 4, it's no longer possible to compile to 3.1.x (that's an Apple thing, not a Titanium thing). The choices are 3.2 for iPad and 4.0 for iPhone.
Now, my understanding is that this means that the iPhone 2G can't get app updates - because only OS4 submissions are being accepted and new (OS4) apps wont work with those older models.
The benefit with having Apple 'push' customers up means we (as developers) have less of an issue catering for a myriad of permutations of device configuration.
Indeed it´s an apple thing:
After upgrading your SDK to 4.0 you won´t be able to compile to 3.1.x.
Even in XCode there is just 3.2 and 4.0 left over. I tried to reintall the downwards SDK version but then 4.0 disappeared.
But I tried to compile the newest Kitchensink with Apple SDK 4, Titanium SDK 1.3.0 and could still install it on my iPhone 2G with 3.1.3 and it worked. I checked nearly all functions.
i just re-read the answers already given, and i am pretty confident they are wrong. again, not an expert, but dealing with this with my coders working on an objective-c based app. but, what apple is requiring is for apps to be BUILT WITH the 4.0 sdk. they do not have to be TARGETED to iOS4. which means, depending on how the app is coded, and for what functions, you can even release apps for the original iPod touch users still using iPhone OS 2.
so to answer the original question, of course you have to use SDK4 to compile. the REAL question is - does titanium handle targeting lower os's now? and, as far as i can tell from this forum or anywhere in the documentation - the answer is - NO. so far, anyway. i hope it is in 1.33 or 1.4 or whatever is coming next. whenever that is. if not, then seems like titanium will FORCE our apps to have to be 4.0 apps. which would be really bad.