2016-07-14 83 views
1

,而試圖在Xcode 7.3.1運行,我收到以下錯誤:LD:爲i386硬件架構3重複符號

LD /用戶/ ecdev /庫/開發商/ Xcode中/ DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator/birdybobble \ iOS.app/birdybobble \ iOS normal i386 cd /Volumes/WORK/birdybobble/proj.ios_mac export IPHONEOS_DEPLOYMENT_TARGET = 8.0 export PATH =「/ Applications/Xcode.app/Contents /開發者/平臺/ iPhoneSimulator.platform /開發人員的/ usr/bin中:/Applications/Xcode.app/Contents/Developer/usr/bin:在/ usr/local/bin目錄:在/ usr/bin中:/ bin中:/ usr/sbin目錄:/ sbin「 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/ bin/clang ++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble -hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator -Lsdkbox.framework -LPluginChartboost.framework -LChartboost.framework -LPluginAdMob.framework -LGoogleMobileAds.framework -LPluginIAP.framework -F/Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble -hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator -F/Volumes/WORK/birdybobble/proj.ios_mac -filelist /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Intermediates/birdybobble.build/Debug -iphonesimulator/birdybobble \ iOS.build/Objects-normal/i386/birdybobble \ iOS.LinkFileList -mios-simulator-version-min = 8.0 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -ObjC -stdlib = libC++ -fobjc- link-runtime -lbz2.1.0 -lz.1 -framework OpenGLES -f ramework UIKit -framework CoreMotion -framework Security/Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator/libcocos2d \ iOS.a -framework基礎框架CoreGraphics -framework QuartzCore -framework OpenAL框架AVFoundation框架AudioToolbox框架sdkbox框架PluginChartboost框架Chartboost框架StoreKit框架AdSupport框架SystemConfiguration框架PluginAdMob框架GoogleMobileAds框架CoreMedia框架CoreTelephony框架EventKit框架EventKitUI框架MessageUI框架GameController框架MediaPlayer -framework PluginIAP -Xlinker -dependency_info -Xlinker /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Intermediates/birdybobble.build/Debug-iphonesimulator/birdybobble \ iOS.build/Objects-normal/i386/birdybobble \ iOS_dependency_info.dat -o/Users/ecdev/Library/Develo元/ Xcode中/ DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom /編譯/產品/調試-iphonesimulator/birdybobble \ iOS.app/birdybobble \的iOS

重複的符號_strerror $ UNIX2003在: /用戶/ ecdev /庫/開發商/ Xcode中/ DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Intermediates/birdybobble.build/Debug-iphonesimulator/birdybobble iOS.build/Objects-normal/i386/asd.o /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(CCImage.o) 重複的符號_fopen $ UNIX2003 in: /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Intermediates/birdybobble.build/Debug-iphonesimulator/birdybobble iOS.build/Objects -normal/i386/asd.o /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(CCImage.o) 重複符號_fwrite $ UNIX2003 in : /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Intermediates/birdybobble.build/Debug-iphonesimulator/birdybobble iOS.build/Objects-normal/i386/asd.o /Users/ecdev/Library/Developer/Xcode/DerivedData/birdybobble-hfiarbprydmxgtbmjresfgzerqom/Build/Products/Debug-iphonesimulator/libcocos2d iOS.a(CCImage。O) LD:爲i386硬件架構3個重複符號 鐺:錯誤:連接器命令,退出代碼1(使用-v未能看到調用)

LD:爲i386硬件架構3個重複符號

鐺:錯誤:鏈接器命令失敗,退出代碼1(使用-v查看調用)

如果有人可以幫忙,這將是一個很大的幫助!

在此先感謝。

回答

1

Xcode 7.3以上你可以使用任何自定義變量兩次。如果您想使用,那麼只需轉至構建設置並搜索無公共塊並將其設置爲。並再次建立你不會再次得到這個錯誤。

相關問題