2013-06-02 47 views
1

我不斷收到此錯誤語:「-fobjc鏈接運行時」連接錯誤

Ld "/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Intermediates/House Defender.build/Debug-iphoneos/House Defender.build/Objects-normal/armv7/House Defender" normal armv7 
cd "/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender" 
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Products/Debug-iphoneos "-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/facebook-ios-sdk" 
"-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/Submodules/evernote-ios-sdk/UnitTests/3rdParty/OCMock" "-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/GoogleAdMobAdsSdkiOS-6.1.4/Add-ons/GoogleAnalyticsiOS_2.0beta3/Library" "-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/GoogleAdMobAdsSdkiOS-6.1.4" 
"-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/Chilkat" "-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/Submodules/evernote-ios-sdk/UnitTests/3rdParty/OCMock" "-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/Submodules/ShareKit/Submodules/evernote-ios-sdk/UnitTests/3rdParty/OCMock" 
"-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/AdWhirl/GoogleAdMobAdsSdkiOS-6.1.4" 
"-L/Users/Justin/Dropbox/BLMSRC/House Defender/2.0 2/House Defender/House Defender/libs/GoogleAdMobAdsSdkiOS-6.1.4" 
-F/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Products/Debug-iphoneos -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist "/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Intermediates/House Defender.build/Debug-iphoneos/House Defender.build/Objects-normal/armv7/House Defender.LinkFileList" 
-dead_strip -v -lz -ObjC -all_load -x -fobjc-link-runtime -miphoneos-version-min=6.0 -framework SystemConfiguration -framework MediaPlayer -framework MessageUI -framework Security -framework Twitter -framework CFNetwork -framework iAd -framework AddressBook -framework MapKit -lz -lsqlite3 -framework StoreKit 
/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Products/Debug-iphoneos/libShareKit.a -lGoogleAdMobAds -framework QuartzCore 
-framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -framework GameKit -lchilkatIos -o "/Users/Justin/Library/Developer/Xcode/DerivedData/House_Defender-egpzlctivcelfbbmefwjdphmrmtr/Build/Intermediates/House Defender.build/Debug-iphoneos/House Defender.build/Objects-normal/armv7/House Defender" 

clang: error: language not recognized: '-fobjc-link-runtime' 

我也沒有答案到處找。

回答

0

鏈接器命令行顯示一個選項「-fobjc-link-runtime」,它不能被識別。嘗試從構建設置中的「鏈接」選項中查找並刪除該選項。

0

根據該鐺手冊頁,-x必須跟一個語言規範:

-x語言

款待後續輸入文件爲具有類型語言。