clang: error: linker command failed with exit code 1, only when testing on device
        Posted  
        
            by 
                woutr_be
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by woutr_be
        
        
        
        Published on 2012-06-08T04:36:49Z
        Indexed on 
            2012/06/08
            4:40 UTC
        
        
        Read the original article
        Hit count: 470
        
I was just about to test my app on a device when I ran into this problem, I'm getting this Linker Error. I've already checked all my compile sources and Build Phases, but there's no sign of my importing things twice.
ld: duplicate symbol _calculateNextSearchPage in /Users/wouter/Sites/test/FastPdfKit.embeddedframework/FastPdfKit.framework/FastPdfKit(FastPdfKit) and /Users/wouter/Sites/test/FastPdfKit.embeddedframework/FastPdfKit.framework/FastPdfKit(FastPdfKit) for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
This only happens when testing on a device, not in the simulator.
© Stack Overflow or respective owner