命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang 失败

发布于 2024-12-23 14:24:05 字数 3351 浏览 0 评论 0原文

我收到下面的错误消息:

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半城柳色半声笛 2024-12-30 14:24:06

选择您的构建目标并在“构建阶段”->; “目标依赖项”,将您使用的项目(我猜是 RestKit)添加到列表中。

Choose your build target and in "Build Phases" -> "Target Dependencies", add the project you used (which I guess is RestKit) to the list.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文