Open chickenorbeef opened 10 years ago
It means you have the same code in there twice.
John - thanks. I'll have to figure out a way to find duplicate code in my project. Any good tips on how to do this efficiently? I don't think I've run into this problem before.
Did you do a clean build?
Sent from my iPhone
On Jul 31, 2014, at 9:29 AM, Ryanalam notifications@github.com wrote:
John - thanks. I'll have to figure out a way to find duplicate code in my project. Any good tips on how to do this efficiently? I don't think I've run into this problem before.
— Reply to this email directly or view it on GitHub.
Hey CEWendel - I just tried building the SWTableViewCell project on its own straight out of the box. After cleaning it in Xcode, the build is still failing. What am I failing to do? Maybe there's something obvious I'm missing. Thanks for any tips.
Alright, I Cmd+Option+Shift+K'd the SWTableViewCell project and it was able to run independently without giving me the error I've described above. I still can't get it to run within my preexisting project though. Is there something special I need to do to import it properly?
When you installed the podfile, did you see this?
$(inherited)
flag, orI had a similar issue and added $(inherited) to a new line in my Target's -> Build Settings -> Linking -> Other Linker Flags section to get it running.
Never seen this before, I get the issue right after pasting the SWTableViewCell group into my preexisting project.
duplicate symbol _main in: /Users/ryan/Library/Developer/Xcode/DerivedData/test-ehcdylpgtwqrghbxnandnnxnwxbl/Build/Intermediates/test.build/Debug-iphoneos/test.build/Objects-normal/arm64/main-B1ABE6FAF51C168C.o /Users/ryan/Library/Developer/Xcode/DerivedData/test-ehcdylpgtwqrghbxnandnnxnwxbl/Build/Intermediates/test.build/Debug-iphoneos/test.build/Objects-normal/arm64/main-CA1A75F0BFAFE69F.o
ld: 1 duplicate symbol for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)