Apple Mach O Linker Error - ios

Hope you guys know how to fix this one. I probably just need to add a framework to the link binary but I can't really find which one to add.
Ld
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Products/Debug-iphonesimulator/Sum.app/Sum
normal i386
cd /Users/Chrismac/Documents/Sum
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
-L/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Products/Debug-iphonesimulator
-F/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Products/Debug-iphonesimulator
-filelist /Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/Sum.LinkFileList
-Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/Sum_dependency_info.dat -o /Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Products/Debug-iphonesimulator/Sum.app/Sum
duplicate symbol _PressIt in:
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/SecondViewController.o
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/FirstViewController.o
duplicate symbol _push in:
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/SecondViewController.o
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/FirstViewController.o
duplicate symbol _savedData in:
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/SecondViewController.o
/Users/Chrismac/Library/Developer/Xcode/DerivedData/Sum-cyzxwtuyfesisgfvermcafpbmtgv/Build/Intermediates/Sum.build/Debug-iphonesimulator/Sum.build/Objects-normal/i386/FirstViewController.o
ld: 3 duplicate symbols for architecture i386 clang: error: linker
command failed with exit code 1 (use -v to see invocation)

You aren't missing a lib but you have 2 C functions called Pressit, Push and SavedData that conflict!
The duplicated symbols are in FirstViewController & SecondViewController.
Solution:
Don't implement the same functions twice:
If they are equal, move them to a third file and include them only.
If they differ, rename them.

I guess, you might have implemented FirstViewController three times in your project.
Search for FirstViewController throughout out the project and keep only one FirstViewController for project.

Related

Xcode - Importing STTwitter causes Apple Mach-O Linker Error

Exactly what it says on the title. I've downloaded the STTwitter API several times making sure nothing went wrong with my download. I ran my project before importing the library and it runs fine.
I know there is nothing wrong with the STTwitter library because I used it in several projects, but it won't let me create another project with the import.
Ld /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk normal i386
cd /Users/michaelvillar/Desktop/JesusWalk
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -F/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -filelist /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk.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 Foundation -framework UIKit -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk_dependency_info.dat -o /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk
duplicate symbol _STTwitterOSErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOS.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
duplicate symbol _STTwitterAppOnlyErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAppOnly.o
duplicate symbol _STTwitterOAuthErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOAuth.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please, if anyone knows something about importing the library, let me know :)
This pull request may fix the issue: https://github.com/nst/STTwitter/pull/189
Please checkout the very latest version from head.

Apple Mach-O Linked Error

Hi i all i found a lot of answer but didn't get the solution. Here i am posting my error that i am getting. Please help me get rid of this.
Ld /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator/JEDI.app/JEDI normal i386
cd /Applications/XAMPP/xamppfiles/htdocs/bsharp/sites/default/iOS_Development/JEDI
export IPHONEOS_DEPLOYMENT_TARGET=7.0
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -L/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator -F/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator -filelist /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/JEDI.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=7.0 -Xlinker -dependency_info -Xlinker /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/JEDI_dependency_info.dat -o /Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Products/Debug-iphonesimulator/JEDI.app/JEDI
duplicate symbol _IS_ALREADY_LOGIN in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
duplicate symbol _TRUE_CHECK in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
duplicate symbol _FONT_NAME in:
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/CustomCell.o
/Users/Rupesh/Library/Developer/Xcode/DerivedData/JEDI-fptiyjulpownybgfqknfffphqrvl/Build/Intermediates/JEDI.build/Debug-iphonesimulator/JEDI.build/Objects-normal/i386/ViewController.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Your project contains duplicate symbols which means you're trying to compile two identical files which contain the implementation for the same class. Check your project files and eliminate any duplicate .m files (like CustomCell and ViewController)
Maybe _IS_ALREADY_LOGIN, _TRUE_CHECK etc is defined more than once in CustomCell.h/m and ViewController.h/m?

Accidental deletion of a storyboard

guys, I really need someone's help. I am a newbie in iOS development, however everything went fine until I have accidentally deleted an entire Main.storyboard file instead of a single view. I have this file in my trash bin and I have tried to put it back but now the project is not compiling and throws this error instead:
Ld /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Products/Debug-iphonesimulator/Test111.app/Test111 normal i386
cd /Users/Sergio/Projects/Test111
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Products/Debug-iphonesimulator -F/Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Products/Debug-iphonesimulator -filelist /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/Test111.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework CoreLocation -framework MapKit -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/Test111_dependency_info.dat -o /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Products/Debug-iphonesimulator/Test111.app/Test111
duplicate symbol _spacing in:
/Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/ChatViewController.o
/Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/AllMessagesViewController.o
ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What can I do to revert everything back?
Maybe you can try to delete the DerivedData folder related to your project.
Open your terminal, and type:
rm -Rf ~/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn
After that, rebuild your project and try again.
Ok, I have figured this out on my own. There was some problem with two files - ChatViewController.m and AllMessagesViewController.m as you can see from the error log. Something has messed up there with the "spacing" variable when the storyboard file was deleted. So I have just deleted one of the conflicting files and rebuilt the project.
Learn to read logs.

ld: 35 duplicate symbols for architecture i386 using Cocoapods

I just started using cocoapods and can't figure out what the heck is going on. I've installed a library for a ViewController and keep getting the following errors:
Ld /Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Products/Debug-iphonesimulator/AMSlideMenu.app/AMSlideMenu normal i386
cd "/Users/dominikandrzejczuk/AMSlideMenu/AMSlideMenuDemo-with Storyboard"
export IPHONEOS_DEPLOYMENT_TARGET=6.0
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Products/Debug-iphonesimulator -F/Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Products/Debug-iphonesimulator -filelist /Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Intermediates/AMSlideMenu.build/Debug-iphonesimulator/AMSlideMenu.build/Objects-normal/i386/AMSlideMenu.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework CoreGraphics -framework UIKit -framework Foundation -lPods-AMSlideMenu -Xlinker -dependency_info -Xlinker /Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Intermediates/AMSlideMenu.build/Debug-iphonesimulator/AMSlideMenu.build/Objects-normal/i386/AMSlideMenu_dependency_info.dat -o /Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Products/Debug-iphonesimulator/AMSlideMenu.app/AMSlideMenu
duplicate symbol _OBJC_METACLASS_$_AMSlideMenuContentSegue in:
/Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Intermediates/AMSlideMenu.build/Debug-iphonesimulator/AMSlideMenu.build/Objects-normal/i386/AMSlideMenuContentSegue.o
/Users/dominikandrzejczuk/Library/Developer/Xcode/DerivedData/AMSlideMenu-eqdwyqtxcitqwzavvophqeeuqgyn/Build/Products/Debug-iphonesimulator/libPods-AMSlideMenu.a(AMSlideMenuContentSegue.o)
ld: 35 duplicate symbols for architecture i386
wclang: error: linker command failed with exit code 1 (use -v to see invocation)
I've tried removing the Library path in build settings, I've tried reinstalling a pod install and pretty much every other option recommended on the web.
I have no idea where to go from here...

After importing another library getting below error in ios

I am new to i phone programming.Can any one tell me what is meaning of this below error.I have create custom static universal library and importing in project and in other linker flag i have added -ObjC.Its working fine. After that i have added one more library file which client given after adding that file if run project its showing below error.I have searched in google i didnt get any solution for this issues.So Please tell me how to slove this issues.
Ld /Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Products/Debug-iphonesimulator/EsloverAlipay.app/EsloverAlipay normal i386
cd /Users/racitsolutionspvtltd/Desktop/EsloverAlipay
export IPHONEOS_DEPLOYMENT_TARGET=7.1
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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Products/Debug-iphonesimulator -L/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay -L/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay -F/Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Products/Debug-iphonesimulator -filelist /Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Intermediates/EsloverAlipay.build/Debug-iphonesimulator/EsloverAlipay.build/Objects-normal/i386/EsloverAlipay.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework CFNetwork -framework SystemConfiguration -lssl -lEsloverloginsdkalipay -framework CoreGraphics -framework UIKit /Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a /Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a /Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlipayRsaLib.a -framework Foundation -lcrypto -Xlinker -dependency_info -Xlinker /Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Intermediates/EsloverAlipay.build/Debug-iphonesimulator/EsloverAlipay.build/Objects-normal/i386/EsloverAlipay_dependency_info.dat -o /Users/racitsolutionspvtltd/Library/Developer/Xcode/DerivedData/EsloverAlipay-dzdjgbqpdlhzpndnscpqaxomafeg/Build/Products/Debug-iphonesimulator/EsloverAlipay.app/EsloverAlipay
duplicate symbol _OBJC_IVAR_$_AlixPaylib._target in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(AlixPaylib.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(AlixPaylib.o)
duplicate symbol _OBJC_IVAR_$_AlixPaylib._seletor in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(AlixPaylib.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(AlixPaylib.o)
duplicate symbol _OBJC_IVAR_$_AlixPaylib._installType in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(AlixPaylib.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(AlixPaylib.o)
duplicate symbol _OBJC_IVAR_$_AlixPaylib._serverUrl in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(AlixPaylib.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(AlixPaylib.o)
duplicate symbol _k_DefaultModel in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(ALPToastView.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(ALPToastView.o)
duplicate symbol _OBJC_METACLASS_$_ALPToastView in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(ALPToastView.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(ALPToastView.o)
duplicate symbol _OBJC_IVAR_$_Alipay_Reachability.reachabilityRef in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(Reachability.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(Reachability.o)
duplicate symbol _OBJC_IVAR_$_Alipay_Reachability.localWiFiRef in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(Reachability.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(Reachability.o)
duplicate symbol _OBJC_CLASS_$_Alipay_Reachability in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(Reachability.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(Reachability.o)
duplicate symbol _OBJC_METACLASS_$_Alipay_Reachability in:
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib.a(Reachability.o)
/Users/racitsolutionspvtltd/Desktop/EsloverAlipay/EsloverAlipay/alipay/AlixPaylib_arc.a(Reachability.o)
ld: 116 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Seems like you're importing the same (virtually) library - one ARC, one NON ARC. Remove one of them

Resources