Ios ld:警告:找不到选项的目录--删除派生数据并清理项目don';行不通

Ios ld:警告:找不到选项的目录--删除派生数据并清理项目don';行不通,ios,xcode,warnings,Ios,Xcode,Warnings,我在Xcode中将正在使用的应用程序的整个文件夹从计算机上的一个位置移动到另一个位置,并得到警告ld:warning:directory not found for option,后面是一条长路径 我在接受答案后仍然得到了同样的警告 编辑:以下是我收到的信息,以防相关: Ld /Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Products/Debu

我在Xcode中将正在使用的应用程序的整个文件夹从计算机上的一个位置移动到另一个位置,并得到警告
ld:warning:directory not found for option
,后面是一条长路径

我在接受答案后仍然得到了同样的警告

编辑:以下是我收到的信息,以防相关:

Ld /Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Products/Debug-iphonesimulator/GayHaikuTabbed.app/GayHaikuTabbed normal i386
cd /Users/joel/Development/GayHaiku
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Products/Debug-iphonesimulator -L/Users/joel/Development/GayHaiku/GayHaikuTabbed -L/Users/joel/Development/GayHaiku -F/Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Products/Debug-iphonesimulator -F. -FGayHaikuTabbed -FGayHaikuTabbedTests -F/Users/joel/Development/GayHaiku -F/Users/joel/Development/GayHaiku/../../../Downloads -F/Users/joel/Development/GayHaiku/../../Downloads -filelist /Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Intermediates/GayHaikuTabbed.build/Debug-iphonesimulator/GayHaikuTabbed.build/Objects-normal/i386/GayHaikuTabbed.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework Parse -framework Accounts -framework AdSupport -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework Foundation -framework Twitter -lsqlite3 -lz -lz.1.1.3 -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework Social -framework StoreKit -framework SystemConfiguration -framework UIKit -o /Users/joel/Library/Developer/Xcode/DerivedData/GayHaikuTabbed-aszefnihmscxaachdbimtmeozapo/Build/Products/Debug-iphonesimulator/GayHaikuTabbed.app/GayHaikuTabbed

ld: warning: directory not found for option '-F/Users/joel/Development/GayHaiku/../../../Downloads'
编辑:结果表明,清理项目会删除警告——但只有在我再次构建它,然后警告再次出现之前。我也尝试过删除派生数据,但没有做任何操作:(


编辑:嗯,库搜索路径和标题搜索路径是空的,但框架搜索路径设置中有多个路径。我想尝试删除它们,但我担心我会破坏其他东西,因为此时我已经超出了我真正了解任何东西的实际含义的范围;我只需按下按钮并保持不变祝我好运。

好吧,它确实是框架搜索路径之一。我不确定删除了哪些路径,也不确定是哪个路径造成的,但如果您遇到此问题并且清除库和标题搜索路径不起作用,请尝试框架。

您应该看看这个问题,它可能是w您正在寻找的帽子:)

这是几年前的一个好建议-谢谢!节省了我几个小时。真的,你应该在那里“勾选”你自己的答案,JD