swordray / ruby-china-ios

Ruby China app for iOS
https://itunes.apple.com/cn/app/id999870130?ls=1&mt=8
MIT License
159 stars 31 forks source link

我在安装的时候报Undefined symbols for architecture x86_64 错误 #1

Closed HanTsing closed 6 years ago

HanTsing commented 9 years ago

我pod install完成后, 运行报下面的错误

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_GAI", referenced from:
      __TMaCSo3GAI in Helper.o
  "_kGAIHitType", referenced from:
      __TZFC9RubyChina6Helper9trackViewfMS0_FPSs9AnyObject_T_ in Helper.o
  "_kGAIScreenName", referenced from:
      __TZFC9RubyChina6Helper9trackViewfMS0_FPSs9AnyObject_T_ in Helper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
swordray commented 9 years ago

应该是 GoogleAnalytics 报错

可以尝试:

如果还是不行的话可以把 GoogleAnalytics 相关的代码都注释掉