google Analytics 을 하다 보니 이러한 에러가 나왔따.


Undefined symbols for architecture i386:
  "_CFHostCreateWithName", referenced from:
      -[GANTCPSocket connect:port:] in libGoogleAnalytics.a(GANTCPSocket.o)
  "_CFStreamCreatePairWithSocketToCFHost", referenced from:
      -[GANTCPSocket connect:port:] in libGoogleAnalytics.a(GANTCPSocket.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Resolution

Google Analytics lib depends on CFNetwork.framework, so add reference to the CFNetwork.framework and compile your project.

결국은 CFNetwork.framework을 추가 하지 않은 에러.. ㅎ
잘 확인해보지도 않고 막 카피해서 붙여 넣으니... 이런..
 

Posted by 예배하는 프로그래머

댓글을 달아 주세요