objective c - getting Apple Mach-O Linker Error - when tried to build [no error if i clean the project but it reappears again when i tried to built it!] -


using core data, trying create simple dairy application. when trying compile getting error like:

apple mach-o linker error  linker command failed exit code 1 (use -v see invocation) 

to solve this, deleted code , clean code , tried lots of way following link: apple mach-o linker error when compiling device still no solution.

full error follwoing:

d /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/products/debug-iphonesimulator/diaryplularsight.app/diaryplularsight normal x86_64     cd /users/me/desktop/ios/diaryplularsight     export iphoneos_deployment_target=8.4     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.4.sdk -l/users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/products/debug-iphonesimulator -f/users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/products/debug-iphonesimulator -filelist /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/intermediates/diaryplularsight.build/debug-iphonesimulator/diaryplularsight.build/objects-normal/x86_64/diaryplularsight.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.4 -xlinker -dependency_info -xlinker /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/intermediates/diaryplularsight.build/debug-iphonesimulator/diaryplularsight.build/objects-normal/x86_64/diaryplularsight_dependency_info.dat -o /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/products/debug-iphonesimulator/diaryplularsight.app/diaryplularsight  duplicate symbol _diaryentrymoode in:     /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/intermediates/diaryplularsight.build/debug-iphonesimulator/diaryplularsight.build/objects-normal/x86_64/newentryviewcontroller.o     /users/me/library/developer/xcode/deriveddata/diaryplularsight-ghxpecfcxggqophakawbugnhrnic/build/intermediates/diaryplularsight.build/debug-iphonesimulator/diaryplularsight.build/objects-normal/x86_64/diary.o ld: 1 duplicate symbol architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) 

update: added project folder picture enter image description here

check 2 file in compile sources ::: newentryviewcontroller , diary


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -