본문 바로가기

개발도구/iOS - 아이폰 개발

ibGoogleAnalytics.a, missing required architecture x86_64

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_GAI", referenced from:

      objc-class-ref in HackersAppDelegate.o

  "_OBJC_CLASS_$_GAITrackedViewController", referenced from:

      _OBJC_CLASS_$_CmUIViewController in CmUIViewController.o

  "_OBJC_CLASS_$_KalViewController", referenced from:

      objc-class-ref in LearnPlan.o

  "_OBJC_METACLASS_$_GAITrackedViewController", referenced from:

      _OBJC_METACLASS_$_CmUIViewController in CmUIViewController.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


위의 경고 또는 메세지는 libGoogleAnalytics.a, missing required architecture x86_64

You're not doing anything wrong. I'm pretty sure google has not yet provided a arm64 version of their libGoogleAnalyticsServices.a, which is really annoying ...it has been weeks since the public the release of Xcode 5GM.


xcode  - architecture base

$(ARCHS_STANDARD) 

Standard architectures (armv7, arm64)

를 아래와 같이 설정해주면 되네요.


armv7, armv7s