저는 말하고 있습니다 ... 저는 FlashIz 및 MWPhotoBrowser의 두 프레임 워크를 사용하고 있습니다. (사실 내가 더 많이 사용하고 있지만,이 오류를 제공하지 않습니다 ..) 여러 프레임 워크를 사용하면 clang : error : 링커 명령이 종료 코드 1과 함께 실패했습니다.
프로젝트를 빌드 할 때, 나는이 같은 오류를 가지고 : 그래서Ld /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos/gTicket.app/gTicket normal armv7
cd /Users/Korneel/Documents/stage-genius/trunk/IOS/gTicket
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export 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/iPhoneOS7.1.sdk -L/Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos -F/Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos -F/Users/Korneel/Documents/stage-genius/trunk/IOS/gTicket/FlashizEmbeddedLibrary.embeddedframwork -filelist /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Intermediates/gTicket.build/Debug-iphoneos/gTicket.build/Objects-normal/armv7/gTicket.LinkFileList -dead_strip -all_load -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos/libMWPhotoBrowser.a -framework MapKit -framework AssetsLibrary -framework MessageUI -framework FlashizEmbeddedLibrary -framework ImageIO -framework SystemConfiguration -framework QuartzCore /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos/libTapkuLibrary.a -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Intermediates/gTicket.build/Debug-iphoneos/gTicket.build/Objects-normal/armv7/gTicket_dependency_info.dat -o /Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos/gTicket.app/gTicket
duplicate symbol _OBJC_IVAR_$_MBProgressHUD.mode in:
/Users/Korneel/Library/Developer/Xcode/DerivedData/gTicket-grnuygifaetsfmbdncixojogumle/Build/Products/Debug-iphoneos/libMWPhotoBrowser.a(MBProgressHUD.o)
/Users/Korneel/Documents/stage-genius/trunk/IOS/gTicket/FlashizEmbeddedLibrary.embeddedframwork/FlashizEmbeddedLibrary.framework/FlashizEmbeddedLibrary(MBProgressHUD.o)
ld: 29 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
을,이 오류에서 파생 된 그 두 프레임 워크는 MBProgressHUD와 같은 '프레임 워크'를 사용합니다. 그래서 그 중 하나를 제거 생각나요? 그러나 나는 어떻게 .. 모르겠다. 비슷한 문제가있는 사람이 있습니까? 문제는이 파일을 찾을 수없는 것입니까?
어떻게하는가? libMWPhotoBrowser.a에서 제거 할 수 있습니까? –
라이브러리 파일'libMWPhotoBrowser.a'에서 제거 할 수 없습니다. 하지만 https://github.com/mwaterfall/MWPhotoBrowser에서 소스를 사용할 수 있습니다. 거기에서 제거하십시오. – Mani
그래서 프로젝트를 가져올 때 (소스 파일) MBProgressHud (디렉토리)를 제거하면 Xcode에서 빌드 오류가 발생합니다. MBProgressHUD.h를 찾으십니까? –