我在Xcode 5.1
面对此警告。
如何解决此错误
此处错误显示为......
Ld /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator/SedioiOS.app/SedioiOS normal i386
cd /Users/riz/Desktop/vine-clone-iphone/SedioiOS
export IPHONEOS_DEPLOYMENT_TARGET=6.1
export PATH="/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode\ 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator -F/Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Intermediates/SedioiOS.build/Debug-iphonesimulator/SedioiOS.build/Objects-normal/i386/SedioiOS.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework AVFoundation -framework CoreLocation -framework MapKit -framework MessageUI -lz.1.2.5 -lz -framework CoreMedia -framework CoreAudio -framework CoreVideo -framework MobileCoreServices -framework ImageIO -framework AssetsLibrary -framework MediaPlayer -framework Security -framework QuartzCore -framework CFNetwork -framework SystemConfiguration -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Intermediates/SedioiOS.build/Debug-iphonesimulator/SedioiOS.build/Objects-normal/i386/SedioiOS_dependency_info.dat -o /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator/SedioiOS.app/SedioiOS
----------
`ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Library/Frameworks'`
答案 0 :(得分:3)
在构建设置中的框架搜索路径中添加此 $(DEVELOPER_FRAMEWORKS_DIR)
..
检查截图图片..也许对你有帮助..
然后清理,构建并运行..