lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Sep 9, 2010 at 12:41 PM, Bulat Ziganshin <bulat.ziganshin@gmail.com> wrote:
Hello Alex,

Thursday, September 9, 2010, 5:19:17 PM, you wrote:

> http://www.apple.com/pr/library/2010/09/09statement.html

i was sure that they just don't want to allow to sell apps w/o
AppStore fees. now they say this almost explicitly: "as long as
the resulting apps do not download any code"

--
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com



I think that's incorrect.  What they want to do is preserve the security of the system (and your data in other apps) by running the code (which is relatively static if it doesn't download anything) through some verification system. 

The question is - Would this allow a Lua interpreter to run on iOS?  Something where you can type in code or send code from your computer wouldn't necessarily be "downloading code" in the language of the press release.  However, this is not the language of the official iOS Developer License, which is (as of today) located at:
http://developer.apple.com/programs/terms/ios/standard/ios_standard_agreement_20100909.pdf

The relevant section for readers of this mailing list is Section 3.3.2, which reads:
An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework.
The relevant clause of this section is the part about interpreted code only allows scripts "packaged in the Application **AND** not downloaded."  This means that applications can be built with Lua (Hooray!), but we still can't build an interpreter (Boo!) which would allow typing Lua scripts on the device or sending Lua scripts from the PC (which is not downloading). 

I'm still not satisfied, but it's a step in the right direction, and may be everything some developers want. 

Does anyone have a copy of the previous license agreement (would be called the iPhone OS SLA), from April or later, so that we can see what's actually changed?