transferred from: http://blog.csdn.net/tiantian1980/article/details/9175777
A whole bunch like this, overall. Error compiling link
/users/zhangtianjian/library/developer/xcode/deriveddata/clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/ Products/debug-iphonesimulator/clothingorders.app/clothingorders Normal i386
Cd/users/zhangtianjian/desktop/svn
setenv iphoneos_deployment_target 6.1
Setenv 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 i386-isysroot/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/ iphonesimulator6.1.sdk-l/users/zhangtianjian/library/developer/xcode/deriveddata/ Clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/products/debug-iphonesimulator-l/users/zhangtianjian/desktop /svn/zbarsdk-f/users/zhangtianjian/library/developer/xcode/deriveddata/ clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/products/debug-iphonesimulator-filelist/users/zhangtianjian/ library/developer/xcode/deriveddata/clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/intermediates/ clothingorders.build/debug-iphonesimulator/clothingorders.build/objects-normal/i386/ Clothingorders.linkfilelist-xlinker-objc_abi_version-xlinker 2-fobjc-link-runtime-xlinker-no_implicit_dylibs- Mios-simulator-version-min=6.1-lz-framework mobilecoreservices-framework Systemconfiguration-frameWork cfnetwork-framework coredata-liconv-framework quartzcore-framework corevideo-framework coremedia-framework AVFo Undation-framework uikit-framework foundation-framework Coregraphics-lzbar-o/users/zhangtianjian/library/ developer/xcode/deriveddata/clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/products/debug-iphonesimulator/ Clothingorders.app/clothingorders
Duplicate symbol _objc_metaclass_$_entityorderstotal in:
/users/zhangtianjian/library/developer/xcode/deriveddata/clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/ intermediates/clothingorders.build/debug-iphonesimulator/clothingorders.build/objects-normal/i386/ entityorderstotal-1502fc93349a1d59.o
Duplicate symbol _objc_class_$_entityorderstotal in:
/users/zhangtianjian/library/developer/xcode/deriveddata/clothingorders-bcmqkcjsfgyibbgetgiyczzqcerj/build/ intermediates/clothingorders.build/debug-iphonesimulator/clothingorders.build/objects-normal/i386/ entityorderstotal-1502fc93349a1d59.o
Ld:2 duplicate symbols for architecture i386
Clang:error:linker command failed with exit code 1 (use-v to see invocation)
iOS development This error must be, now summarized as follows, generally these three aspects of the problem, if not you really trouble
1. Quote error, make ***.h. m, check all your references;
2. Then you refer to the third-party library, you add the file is the system does not have a third-party library of the. m file in the compilation, you have to add files to the project attention;
3. Is accidentally added to the duplicate class, to the entity, such as, specifically you can see here Http://stackoverflow.com/questions/2264455/iphone-duplicate-symbol-error
By the way, http://stackoverflow.com/this site is an ISO development of a Web site, not a few;
4. Some frameworks have not been added to the above problems will occur;
If there is a fifth, please leave a message!
(EXT) Error:linker command failed with exit code 1 (use-v to see invocation)