lua-users home
lua-l archive

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

AFAIK the only thing you need to build for iOS is a Mac running up-to-date OS X.

If you don't have one it is probably possible to configure the GitHub repository with a GitHub action using a MacOS runner that builds for iOS (see

Pierre Chapuis

On Mon, Jan 9, 2023, at 10:23, Luiz Henrique de Figueiredo wrote:
>> When compiling for iOS, Apple decided to make the `system(…)` function unavailable. The only way to compile Lua for this platform at the moment is by removing this call for the iOS build, e.g. maintaining a fork of Lua.
> We could add the appropriate conditionals to avoid calling system in
> iOS but we don't have access to iOS development platforms.
> We need an incantation that works in current systems but we cannot
> test it. We could not find official documentation on this issue.
> Here are some candidate incantations:
> If someone can provide trusted and tested code for this that is
> current, please post here. Thanks.
> --lhf