在XCode中删除链接器警告

时间:2010-11-17 00:57:44

标签: objective-c xcode build linker-errors

如何摆脱每次在XCode中构建项目时出现的链接器警告?

Ld build/Sidestep.build/Release/Sidestep.build/Objects-normal/x86_64/Sidestep normal x86_64
cd /Users/Chetan/Development/Sidestep
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/Chetan/Development/Sidestep/build/Release -F/Users/Chetan/Development/Sidestep/build/Release -F/Users/Chetan/Development/Sidestep/frameworks -F/Users/Chetan/Development/Sidestep -filelist /Users/Chetan/Development/Sidestep/build/Sidestep.build/Release/Sidestep.build/Objects-normal/x86_64/Sidestep.LinkFileList -mmacosx-version-min=10.6 -framework Security -framework Cocoa -framework SystemConfiguration -framework IOKit -framework Sparkle -o /Users/Chetan/Development/Sidestep/build/Sidestep.build/Release/Sidestep.build/Objects-normal/x86_64/Sidestep

ld: warning: directory '/Users/Chetan/Development/Sidestep/frameworks' following -F not found

我没有文件夹/Users/Chetan/Development/Sidestep/frameworks了,因为我删除了它。

1 个答案:

答案 0 :(得分:3)

从项目的构建设置或该目标的“框架搜索路径”中删除该目录。