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