1

我正在尝试从此处执行 SoundCLoudApi ,但是没有任何描述的 clang 错误:

Ld /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/scapitest.app/scapitest normal i386
    cd /Users/dimakorolcenko/Documents/SoundCloudIssues/scapitest
    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/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator -F/Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator -filelist /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Intermediates/scapitest.build/Debug-iphonesimulator/scapitest.build/Objects-normal/i386/scapitest.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/JSONKit/JSONKit /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/libJSONKit.a /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/libOAuth2Client.a /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/libOHAttributedLabel.a /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/libSoundCloudAPI.a /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/libSoundCloudUI.a /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/OAuth2Client/OAuth2Client /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/SoundCloudAPI/SoundCloudAPI /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/SoundCloudUI/SoundCloudUI -framework CoreText -framework CoreGraphics -framework Security -framework CoreLocation -framework AddressBook -framework AddressBookUI -framework QuartzCore -framework UIKit -framework Foundation -o /Users/dimakorolcenko/Library/Developer/Xcode/DerivedData/scapitest-dbwrumaigeiklgcvrmtokdvcppfu/Build/Products/Debug-iphonesimulator/scapitest.app/scapitest

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

我已完成说明中的所有步骤,但它不起作用。我没有想法,如何解决它。请帮助我找到解决方案。可能是更常见的错误,而不是 SoundCloud 问题...

4

1 回答 1

1

您的部署目标可能是错误的。

在左侧的项目导航器中选择您的项目。转到构建设置选项卡。确保您的部署目标是 iOS,而不是 OS X。

于 2012-07-01T15:39:26.703 回答