fixed #1645: JS Project created by xcode template doesn't work correctly.