[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua forks on iOS due to system(...) removal
- From: "Pierre Chapuis" <lua@...>
- Date: Tue, 10 Jan 2023 11:02:58 +0100
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 https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources).
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.