diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index 46e6bcd41b3..02f2928bf9c 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -443,7 +443,8 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) { std::string absoluteOutputDir; #ifdef POSIX - absoluteOutputDir = realpath((setup.outputDir + "/lib").c_str(), NULL); + absoluteOutputDir = realpath(setup.outputDir.c_str(), NULL); + absoluteOutputDir += "/lib"; #else absoluteOutputDir = "lib"; #endif