lua-users home
lua-l archive

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


> An interesting part is the extract of the SDK agreement:
>
> [...] we cannot post this version of your iPhone application to the App
> Store because it violates the iPhone SDK Agreement; "3.3.2 An
> Application may not itself install or launch other executable code by
> any means, including without limitation through the use of a plug-in
> architecture, calling other frameworks, other APIs or otherwise. No
> interpreted code may be downloaded and used in an Application except for
> code that is interpreted and run by Apple's Published APIs and built-in
> interpreter(s)."
>
> I immediately thought: wow, it excludes Lua and lot of other stuff.
> Maybe you can do your hack, but it excludes you from the App Store, the
> big window that would let your application to get fame and money...

It has been suggested that there might be some wiggle room in the
agreement about the word 'and' in 'downloaded and used'. The
definition of 'and' is rather ambiguous. Does it mean you cannot use
any interpreted language not provided by Apple, or does it mean you
cannot use any interpreted language for downloaded data? (Inclusive-or
vs exclusive-or). As far as I know, Apple has offered no guidance on
this. But I don't recommend investing a lot of money on the idea that
Apple will not reject your app.

But I do have a new question which is relevant to this question. I saw
the announcement of lua-llvm which suggests you can statically compile
down Lua code to native code. Assuming you were just using Lua without
any intent to download and interpret new code, would lua-llvm allow
you to create a completely native, self-contained executable static
binary that would satisfy Apple's conditions?

Thanks,
Eric