fix some errors of xcode template