命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang 失败
我收到下面的错误消息:
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)
请帮忙,在这条消息之前已经在这方面搜索了一周了。 谢谢。
I got this error message below:
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
I try to use xcodebuild -target to build for more info,
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)
Please help, been on this for a week searching everywhere before this message.
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
选择您的构建目标并在“构建阶段”->; “目标依赖项”,将您使用的项目(我猜是 RestKit)添加到列表中。
Choose your build target and in "Build Phases" -> "Target Dependencies", add the project you used (which I guess is RestKit) to the list.
我已经通过网站 https://github.com/RestKit/RestKit/ 解决了问题wiki/安装-故障排除。
I've solved the problem through the site https://github.com/RestKit/RestKit/wiki/Installation-Troubleshooting .