Xcode project/app name with spaces issue - framework not found

rihe picture rihe · Jan 26, 2015 · Viewed 10.6k times · Source

Is it possible that Xcode 6.1 doesn't finds my previously imported frameworks because of my 3 word app name? I'm using Parse and never ever had any problems with it. But actually when I open my project in Xcode I got an error that the framework doesn't found, which is absurd because it worked well earlier and I don't removed it. However if I delete the frameworks and add them again everything is fine. Am I doing something wrong or is it an Xcode bug?

ld: warning: directory not found for option '-F/Users/donip/Documents/Fl Travel Guide/Fl'
ld: warning: directory not found for option '-FTravel'
ld: warning: directory not found for option '-FGuide'
ld: framework not found ParseFacebookUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Answer

Muhammad Zeeshan picture Muhammad Zeeshan · Feb 12, 2015

Simply enclose your framework path in double quotes(""). For example:

"$(SRCROOT)/my framework/path"

enter image description here