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."
Thread beginning with comment 418127
To read all comments associated with this story, please click here.
How would they tell?
by FunkyELF on Fri 9th Apr 2010 19:08 UTC
FunkyELF
Member since:
2006-07-26

How can they even tell? When you put something in the app store (which is a feat all its own) you don't give them the sources do you? You just give them a binary.

I guess they could look for certain known symbols left by known cross-compilers.

Time for these cross-compilers to use randomization and obfuscation.... how would Apple be able to tell?

Reply Score: 2

RE: How would they tell?
by umccullough on Fri 9th Apr 2010 20:21 in reply to "How would they tell?"
umccullough Member since:
2006-01-26

How can they even tell? When you put something in the app store (which is a feat all its own) you don't give them the sources do you?


It would at least immediately hurt any open source apps that are ported.

But more than anything, it sends a message to the devs. If they suspect your app is "translated", expect to get a denial letter. And you'll probably be required to prove otherwise if it wasn't - guilty until proven innocent.

Reply Parent Score: 2

RE: How would they tell?
by moondevil on Fri 9th Apr 2010 21:12 in reply to "How would they tell?"
moondevil Member since:
2005-07-08

By requiring access to the original source code?

Reply Parent Score: 2

RE: How would they tell?
by whartung on Fri 9th Apr 2010 21:31 in reply to "How would they tell?"
whartung Member since:
2005-07-06

How can they even tell?


Time for these cross-compilers to use randomization and obfuscation.... how would Apple be able to tell?


Right, because, you know, actually abiding by their limitations that you agreed to when you signed up to be a developer, that doesn't mean anything. Just your virtual "name" on a "piece of paper". Obviously, that's not worth much.

There's certainly no expectation by Apple that the developers actually, you know, follow through on what they've agreed to in order to join the program.

But any cross platform process, with any reasonably wide distribution, will have identifiable markers in the resulting code. That's a feature of their design, the regularity of it, the abstractions they provide. They may have issues detecting a one-off, in-house framework, but anything else will be obvious.

And what you don't seem to appreciate is that by stipulating this, there simply won't BE any frameworks made for the iPhone OS. There's not profit in it for the makers, and the customer simply won't risk investing in them.

The price of being "caught", using whatever mechanism, is simply too high -- the Apple ban hammer of not just this app, but potentially all of your apps from the App store.

This clause kills existing frameworks dead, and stops development on any potential tool sets. Anyone serious about the platform simply won't use them.

Reply Parent Score: 2

RE[2]: How would they tell?
by Thom_Holwerda on Fri 9th Apr 2010 23:26 in reply to "RE: How would they tell?"
Thom_Holwerda Member since:
2005-06-29

Right, because, you know, actually abiding by their limitations that you agreed to when you signed up to be a developer, that doesn't mean anything. Just your virtual "name" on a "piece of paper". Obviously, that's not worth much.


Err, these developers agreed to a different agreement. This is a NEW limitation.

Reply Parent Score: 1