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
main
tolua_main
andluac_main
- rename
system
toios_system
- erase all memory when leaving the program
- Run the shell script
get_lua_source.sh
withsh 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.xcframework
binary framework.