ios - linker command faild with exit code 1 -
i have project 2 target . project contain 2 .a
file. 1 of them zbar , other 1 named liblizaruskit.a
. added libraries linked frameworks , libraries
of target trying build when trying build project see 2 errors.
one of is:
searching 1 file "myprojectname" <untitled 23>: 1: ld /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app/myprojectname normal armv7 2 cd "/users/rad/documents/git repo/ios-ap/ios main project" 3 export iphoneos_deployment_target=7.0 4 export path="/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" 5: /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/iphoneos9.0.sdk -l/users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos -l/users/rad/documents/git\ repo/ios-ap/ios\ main\ project/lizarus -l/users/rad/documents/documents/archive -lcodes/asan -lpardakht -lios/ios/milestones/ios-05052015- -lacceptor -l& -lqr -lreader/lizarus -l/users/rad/downloads/asan/zbarsdk -f/users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos -filelist /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/myprojectname.linkfilelist -xlinker -rpath -xlinker @executable_path/frameworks -miphoneos-version-min=7.0 -dead_strip -objc -all_load -fobjc-arc -fobjc-link-runtime -llizaruskit -lzbar -framework systemconfiguration -liconv -framework coregraphics -framework coredata -framework uikit -framework foundation -xlinker -dependency_info -xlinker /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/myprojectname_dependency_info.dat -o /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app/myprojectname 6 7 ld: warning: directory not found option '-l/users/rad/documents/documents/archive' . 14 ld: warning: directory not found option '-lreader/lizarus' 15 duplicate symbol _objc_ivar_$_liconnection._responsedata in: 16: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 17 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 18 duplicate symbol _objc_ivar_$_liconnection._timer in: 19: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 20 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 21 duplicate symbol _objc_ivar_$_liconnection._lefttime in: 22: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 23 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 24 duplicate symbol _objc_ivar_$_liconnection._delegate in: 25: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 26 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 27 duplicate symbol _objc_ivar_$_liconnection._connection in: 28: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 29 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 30 duplicate symbol _objc_ivar_$_liconnection._request in: 31: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 32 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 33 duplicate symbol _objc_ivar_$_liconnection._response in: 34: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 35 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 36 duplicate symbol _objc_ivar_$_liconnection._hostname in: 37: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 38 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 39 duplicate symbol _objc_ivar_$_liconnection._contenttype in: 40: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 41 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 42 duplicate symbol _objc_ivar_$_liconnection._timeout in: 43: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 44 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 45 duplicate symbol _objc_class_$_liconnection in: 46: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 47 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 48 duplicate symbol _objc_metaclass_$_liconnection in: 49: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/liconnection.o 50 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(liconnection.o) 51 duplicate symbol _mod in: 52: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/licalendar.o 53 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(licalendar.o) 54 duplicate symbol _objc_class_$_licalendar in: 55: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/licalendar.o 56 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(licalendar.o) 57 duplicate symbol _objc_metaclass_$_licalendar in: 58: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/licalendar.o 59 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(licalendar.o) 60 duplicate symbol _objc_ivar_$_libarcodeviewcontroller.readerview in: 61: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 62 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 63 duplicate symbol _objc_ivar_$_libarcodeviewcontroller.trackingview in: 64: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 65 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 66 duplicate symbol _objc_ivar_$_libarcodeviewcontroller._isqr in: 67: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 68 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 69 duplicate symbol _objc_ivar_$_libarcodeviewcontroller.player in: 70: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 71 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 72 duplicate symbol _objc_ivar_$_libarcodeviewcontroller._delegate in: 73: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 74 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 75 duplicate symbol _objc_ivar_$_libarcodeviewcontroller.soundtype in: 76: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 77 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 78 duplicate symbol _objc_ivar_$_libarcodeviewcontroller.soundname in: 79: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 80 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 81 duplicate symbol _objc_ivar_$_libarcodeviewcontroller._canceltitle in: 82: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 83 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 84 duplicate symbol _objc_class_$_libarcodeviewcontroller in: 85: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 86 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 87 duplicate symbol _objc_metaclass_$_libarcodeviewcontroller in: 88: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/libarcodeviewcontroller.o 89 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(libarcodeviewcontroller.o) 90 duplicate symbol _objc_ivar_$_litextfield._keyboardmode in: 91: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 92 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 93 duplicate symbol _objc_ivar_$_litextfield._errormessage in: 94: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 95 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 96 duplicate symbol _objc_ivar_$_litextfield._required in: 97: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 98 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 99 duplicate symbol _objc_ivar_$_litextfield._maxlength in: 100: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 101 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 102 duplicate symbol _objc_class_$_litextfield in: 103: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 104 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 105 duplicate symbol _objc_metaclass_$_litextfield in: 106: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litextfield.o 107 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litextfield.o) 108 duplicate symbol _objc_ivar_$_litrackingview._isqr in: 109: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litrackingview.o 110 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litrackingview.o) 111 duplicate symbol _objc_class_$_litrackingview in: 112: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litrackingview.o 113 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litrackingview.o) 114 duplicate symbol _objc_metaclass_$_litrackingview in: 115: /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/intermediates/myprojectname.build/debug-iphoneos/myprojectname.build/objects-normal/armv7/litrackingview.o 116 /users/rad/documents/git repo/ios-ap/ios main project/lizarus/liblizaruskit.a(litrackingview.o) 117 duplicate symbol _zbar_parse_config in: 118 matches in 1 file
and second 1 is:
generatedsymfile /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app.dsym /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app/myprojectname cd "/users/rad/documents/git repo/ios-ap/ios main project" export path="/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/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/dsymutil /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app/myprojectname -o /users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app.dsym error: cannot parse debug map "/users/rad/library/developer/xcode/deriveddata/myprojectname-hkppcarpbiarhyaklpydovlxcodl/build/products/debug-iphoneos/myprojectname.app/myprojectname": no such file or director
i read codes , try understandt them have no idea. when include wrong file or add bad import saw error have no idea. 1 can me this?
check framework search paths in build settings. error due path errors. may changed path of items. check first.
Comments
Post a Comment