Merge pull request #5294 from samuele3hu/developDynamic

fix:Compile error of the project that js template generate on the iOS platform