匹配O-linker错误,clang错误iOS 8.3

时间:2015-04-20 16:09:26

标签: ios objective-c xcode clang mach-o

我最近创建了一个新项目并从另一个项目中复制了资源,但是当我编译时,它产生了一个错误, 我查了两次资源都没问题,但是它显示了Mach-O Linker错误,我尝试了其他答案,但没有什么对我有用..


  

Ld的   /Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/MyProject.app/MyProject   正常的x86_64

cd "/Users/iOSDEV/Developer/untitled folder/MyProject"

export IPHONEOS_DEPLOYMENT_TARGET=8.3

export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk   -L /用户/ iOSDEV /库/开发商/ Xcode中/ DerivedData /编译/产品/调试,iphonesimulator   -F /用户/ iOSDEV /库/开发商/ Xcode中/ DerivedData /编译/产品/调试,iphonesimulator   -F / Users / iOSDEV / Developer / untitled \ folder / MyProject -filelist /Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64 /MyProject.LinkFileList   -Xlinker -rpath -Xlinker @ executable_path / Frameworks -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min = 8.3 -framework Accounts -framework JudoPay -framework QuartzCore -framework   Foundation -framework MobileCoreServices -framework Security   -framework CoreTelephony -framework UIKit -Xlinker -dependency_info -Xlinker /Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MyProject_dependency_info.dat   -o /Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/MyProject.app/MyProject

     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/PlaceOrderViewController-B3C1DC5507CD786B.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/LeftSideViewController.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/ReOrderViewController.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/AddToCart.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MyOrdersViewController.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/Cart.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuDetailViewController.o
     

重复符号_delegate in:

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/MenuViewController.o

/Users/iOSDEV/Library/Developer/Xcode/DerivedData/Build/Intermediates/MyProject.build/Debug-iphonesimulator/MyProject.build/Objects-normal/x86_64/ProductDetailViewController-86CA1752309DD871.o
     

ld:架构x86_64的8个重复符号

     

clang:错误:链接器命令失败,退出代码为1(使用-v查看   调用)

0 个答案:

没有答案