diff options
-rw-r--r-- | devtools/create_project/xcode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index 6398bae741..16fab3d032 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -706,10 +706,10 @@ void XcodeProvider::setupSourcesBuildPhase() { int order = 0; for (std::vector<Object*>::iterator file = _buildFile.objects.begin(); file !=_buildFile.objects.end(); ++file) { - const std::string &fileName = (*file)->name; - if (shouldSkipFileForTarget((*file)->id, targetName, fileName)) { - continue; - } + const std::string &fileName = (*file)->name; + if (shouldSkipFileForTarget((*file)->id, targetName, fileName)) { + continue; + } if (!producesObjectFileOnOSX(fileName)) { continue; } |