使用ObjectiveFlickr,Xcode 4.5.2,iOS 6。
编译时,它会让我:
Ld /Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator/Shutterbug. app/Shutterbug normal i386
cd /Users/axu/prj/ios/Shutterbug
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.0.sdk - L/Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator - F/Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator -filelist /Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Intermediates/Shutterbug.build/Debug- iphonesimulator/Shutterbug.build/Objects-normal/i386/Shutterbug.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime - Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 /Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug- ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator/ObjectiveFlickr/ObjectiveFlickr /Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator/libObjectiveFlickr.a - framework UIKit -framework Foundation -framework CoreGraphics -o /Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug- ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator/Shutterbug.app/Shutterbug
clang: error: no such file or directory: '/Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug- iphonesimulator/ObjectiveFlickr/ObjectiveFlickr'
我不知道为什么要问** / ObjectiveFlickr / ObjectiveFlickr我从未在任何地方设置过。
答案 0 :(得分:0)
如果您查看以:
开头的命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/...
你会发现:
/Users/axu/Library/Developer/Xcode/DerivedData/Shutterbug-ecsrjcjimihxevguffdchwqnqtzf/Build/Products/Debug-iphonesimulator/ObjectiveFlickr/ObjectiveFlickr
所以你的项目肯定有问题。
检查此问题的一种简单方法是在文本编辑器中打开*.xcodeproj/project.pbxproj
项目文件,然后搜索ObjectiveFlickr
以查看是否一切正确。