Solve the error effect of lua runtime template on iOS.