问题描述
Xcode 6.1 是否有可能因为我的 3 字应用程序名称而找不到我之前导入的框架?我正在使用 Parse,从来没有遇到过任何问题.但实际上,当我在 Xcode 中打开我的项目时,我收到了一个错误,即框架没有找到,这很荒谬,因为它之前运行良好,而且我没有删除它.但是,如果我删除框架并再次添加它们,一切都很好.我做错了什么还是Xcode错误?
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)
推荐答案
只需将您的框架路径用双引号 ("") 括起来.例如:
Simply enclose your framework path in double quotes(""). For example:
"$(SRCROOT)/我的框架/路径"
"$(SRCROOT)/my framework/path"
这篇关于带有空格问题的 Xcode 项目/应用程序名称 - 找不到框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!