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 417980
To read all comments associated with this story, please click here.
RE[3]: If it's true...
by Morty on Fri 9th Apr 2010 10:03 UTC in reply to "RE[2]: If it's true..."
Morty
Member since:
2005-07-06

Presumably it still allows you to code in C/C++ with an abstraction around the Apple-specific stuff,


Let see:

3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).

Nope, that sounds like a no go. Don't you try being clever making your own abstraction layer to keep your application cross platform. Can't have that on the holy iDevices, that would break the lock in and also be sacrilege.

Reply Parent Score: 3