_objc_class_$_firanalytics", referenced from unity
というようなリンカエラー。
Unity-iPhone.xcodeprojの方でビルドしようとしたいたんですが、pod installしてUnity-iPhone.xcworkspaceを生成して、そっちでビルドすればOKというとこまではわかった。
しかし、pod installをしようとすると、
Firebase pod install - pod 'Firebase/Analytics' - Required a higher minimum deployment target Specs satisfying the `Firebase/Analytics (= 4.1.0)` dependency were found, but they required a higher minimum deployment target.
というエラーがでる。
Podfileの
platform :ios, '6.0'
を
platform :ios, '7.0'
にすることで解決した。が、何で解決したのか、よくわかっていない。