Skip to content

Commit

Permalink
IOS: Fixes a crash of the create_project tool when the lib directory …
Browse files Browse the repository at this point in the history
…is not found
  • Loading branch information
Vincent Bénony committed Jan 6, 2016
1 parent 3b5d14b commit 43f0247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/create_project/xcode.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 43f0247

Please sign in to comment.