xcode collect2: ld returned 1 exit status - how to resolve?

Posted by Remover on Stack Overflow See other posts from Stack Overflow or by Remover
Published on 2010-05-12T21:55:46Z Indexed on 2010/05/12 22:14 UTC
Read the original article Hit count: 258

From what I have read this is supposed to be when the linker (not exactly sure how that works) can't find a symbol. the symbol in question is: SCNetworkReachabilityCreateWithAddress as can be seen from the full error message below.

  • the thing is that the correct framework is added to my target.
  • xcode recognises the symbol OK, i.e. there is no error message in the .m file.
  • the .m file is added to the correct target so I'm not at all sure what to do.

Any ideas please?

"SCNetworkReachabilityCreateWithAddress", referenced from:

-[AppWelcomeVC viewDidLoad] in AppWelcomeVC.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

© Stack Overflow or respective owner

Related posts about iphone

Related posts about linker