From 43f02471ea48806fda697380b82dcfd34f993ae1 Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Fri, 4 Dec 2015 10:27:48 +0100 Subject: IOS: Fixes a crash of the create_project tool when the lib directory is not found --- devtools/create_project/xcode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index 46e6bcd41b..02f2928bf9 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 -- cgit v1.2.3