2012-07-09 65 views
39
Ld /Users/pwang/Library/Developer/Xcode/DerivedData/socketiohldwxnslzhlnjtgihgewdwavpjpb/Build/Products/Debug-iphoneos/socketio.app/socketio normal armv7 
cd /Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414 
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -L/Users/pwang/Library/Developer/Xcode/DerivedData/socketio-hldwxnslzhlnjtgihgewdwavpjpb/Build/Products/Debug-iphoneos -L/Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414/socketio/simulator -L/Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414/socketio/device -F/Users/pwang/Library/Developer/Xcode/DerivedData/socketio-hldwxnslzhlnjtgihgewdwavpjpb/Build/Products/Debug-iphoneos -F/Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414/socketio -filelist /Users/pwang/Library/Developer/Xcode/DerivedData/socketio-hldwxnslzhlnjtgihgewdwavpjpb/Build/Intermediates/socketio.build/Debug-iphoneos/socketio.build/Objects-normal/armv7/socketio.LinkFileList -dead_strip -lz -licucore -miphoneos-version-min=4.3 -framework MobileCoreServices -framework Foundation -lz -lxml2 -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework CoreGraphics -o /Users/pwang/Library/Developer/Xcode/DerivedData/socketio-hldwxnslzhlnjtgihgewdwavpjpb/Build/Products/Debug-iphoneos/socketio.app/socketio 

ld: warning: directory not found for option '-L/Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414/socketio/simulator' 
ld: warning: directory not found for option '-L/Users/pwang/Desktop/saturngod-Socket.io-with-iOS-be51414/socketio/device' 

您能否給我一些線索來刪除警告,謝謝。Xcode:警告:找不到目錄

+1

確保您正在打開工作區也是如此,不只是項目文件 – 2016-11-12 11:22:56

回答

148

目標>構建設置

查找搜索路徑>框架搜索路徑,刪除你已經被警告的所有路徑;然後在庫搜索路徑中,刪除所有已被警告的路徑。

+9

值得澄清,你必須選擇_target_而不是項目來看到這一點。 – jrturton 2013-01-31 12:03:12

+0

謝謝,我討厭警告,這個答案幫助我! – 2015-04-20 19:29:23

+0

謝謝,我已經通過答案解決了警告。我從我的目標中刪除了有這個警告的所有路徑。 – 2015-05-19 10:53:35

6

我發現這個帖子尋找同樣的問題。然而,我的問題是,一些框架被添加,然後刪除,從而導致此錯誤。在完成項目後,我很好。

Product --> Clean