我在下面收到此错误消息:
Ld /Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator/iFly.app/iFly normal i386
cd /Users/kIT98K/proooo2/VPN38/iFly
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator -F/Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator -filelist /Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Intermediates/iFly.build/Debug-iphonesimulator/iFly.build/Objects-normal/i386/iFly.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lxml2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -lxml2 -framework Security -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics /Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator/RestKit/RestKit /Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator/libRestKit.a -o /Users/kIT98K/Library/Developer/Xcode/DerivedData/iFly-cijrdcwdnrwowmgcazhvczqzkctd/Build/Products/Debug-iphonesimulator/iFly.app/iFly
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
我尝试使用xcodebuild -target构建更多信息,
Ld build/Release-iphoneos/iFly.app/iFly normal armv7
cd /Users/kIT98K/proooo2/VPN38/iFly
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/kIT98K/proooo2/VPN38/iFly/build/Release-iphoneos -F/Users/kIT98K/proooo2/VPN38/iFly/build/Release-iphoneos -filelist /Users/kIT98K/proooo2/VPN38/iFly/build/iFly.build/Release-iphoneos/iFly.build/Objects-normal/armv7/iFly.LinkFileList -dead_strip -ObjC -lxml2 -miphoneos-version-min=4.3 -lxml2 -framework Security -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics /Users/kIT98K/proooo2/VPN38/iFly/RestKit/build/Release/RestKit.framework/RestKit /Users/kIT98K/proooo2/VPN38/iFly/RestKit/build/Release-iphoneos/libRestKit.a -o /Users/kIT98K/proooo2/VPN38/iFly/build/Release-iphoneos/iFly.app/iFly
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
** BUILD FAILED **
The following build commands failed:
Ld build/Release-iphoneos/iFly.app/iFly normal armv7
(1 failure)
请帮忙,在此消息搜索之前,已经进行了一周的搜索。
谢谢。
最佳答案
选择您的构建目标,然后在“构建阶段”->“目标依赖关系”中,将您使用的项目(我猜是RestKit)添加到列表中。
关于iphone - 命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8678942/