XCode 4上的库搜索路径问题

xon*_*rlz 0 iphone objective-c ipad

因此,当我尝试在我的笔记本电脑中运行我的项目时它工作正常,但将其移植到另一台计算机上会让我:

ld: warning: directory '/Developer-3.2.6/MyProject/Twitter+OAuth/Libraries & Headers' following -L not found
ld: library not found for -lOAuth
collect2: ld returned 1 exit status
Command /Developer-3.2.6/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

我的图书馆搜索路径是:

"$(DEVELOPER_DIR)/ MyProject/Twitter + OAuth/Libraries&Headers"

我该如何解决这个问题?

cho*_*own 5

尝试更改库搜索路径以转义空格和&符号(&):

$(DEVELOPER_DIR)/MyProject/Twitter+OAuth/Libraries\ \&\ Headers
Run Code Online (Sandbox Code Playgroud)