fix iOS ApplicationTempate