Merge pull request #7115 from minggo/windows-fix

fix compiling error on windows
Remove the debug symbols for release mode in xcode projects.
Modify the template of lua runtime.
Merge pull request #7118 from natural-law/v3

Remove the debug symbols for release mode in xcode projects.