Linked by Thom Holwerda on Thu 8th Apr 2010 22:38 UTC
Apple John Gruber has found out that cross-compilers are no longer allowed in iPhone OS 4.0. "My reading of this new language is that cross-compilers, such as the Flash-to-iPhone compiler in Adobe's upcoming Flash Professional CS5 release, are prohibited. This also bans apps compiled using MonoTouch - a tool that compiles C# and .NET apps to the iPhone. It's unclear what this means for tools like Titanium and PhoneGap, which let developers write JavaScript code that runs in WebKit inside a native iPhone app wrapper. They might be OK."
Permalink for comment 417892
To read all comments associated with this story, please click here.
ObjectiveC, C++ or C
by henderson101 on Thu 8th Apr 2010 23:15 UTC
henderson101
Member since:
2006-05-30

Baring in mind that the ObjectiveC runtime is fully accessible in C, and C is a language that Apple would seem to accept - the compiler simply needs to output plain C.

I suspect they are actually attempting to stop the likes of MonoTouch and Adobe FlashToiPhone. The MonoTouch guys did write a framework that translated .Net API to assembler and then charged over $200 for it... total rip-off when the ObjC tools are free. They are planning to port over some kind of Silverlight API compatibility, so this would be what Apple would mainly object to. FlashToiPhone just smacks of sour grapes though.

Reply Score: 2