Fixed an issue with the template project.
Fixed the issues with building the iOS template.