Minimal set of changes to Lua so it can be called from within an iOS app within Apple API constraints:
- Xcode project to create dynamic libraries
- rename
maintolua_mainandluac_main - rename
systemtoios_system - erase all memory when leaving the program
- Run the shell script
get_lua_source.shwithsh get_lua_source.sh. It will download the source and patch a few files. - Run the shell script
compile_lua.sh. This will create thelua_ios.xcframeworkbinary framework.