Xcode ‘duplicate symbol’ error while building with static library
Question: I have an Xcode 4.1 project that has a static library attached to it. That library handles my Twitter methods and it includes another static library, namely libOAuth.a. On building the app I keep getting “duplicate symbol” error. I build and run my app on 3.2 or 4.1 simulator without errors. When I build the very the same code for a device – for an iPhone 4GS or an iPad – I am getting the errors. I am sure nothing is duplicated. It seams that there are two different architectures (armv6, armv7) in the library and the Xcode can’t resolve them correctly. What is your experience?
Continue reading Xcode ‘duplicate symbol’ error while building with static library