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을 추가 하지 않은 에러.. ㅎ
잘 확인해보지도 않고 막 카피해서 붙여 넣으니... 이런..
'개발도구 > iOS - 아이폰 개발' 카테고리의 다른 글
[아이폰] push error - Domain=NSCocoaErrorDomain Code=3000 (0) | 2012.02.29 |
---|---|
[아이폰] Developer/usr/bin/clang failed with exit code 1 error (0) | 2012.02.28 |
[아이폰] CopyPNG error - Support.xcplugin/Contents/Resources/copypng failed with exit code 1 (0) | 2012.02.28 |
[아이폰] xcode cannot run using the selected device (0) | 2012.02.28 |
[아이폰] Google analytics 어플에 구글분석기 달기 (0) | 2012.02.28 |