How to use Google Analytics for iOS via cocoapods

前端 未结 2 1755
小蘑菇
小蘑菇 2020-12-19 09:02

In my bridging header, I infinitely get \" not found\"

I followed Google\'s own tutorial: https://developers.google.com/analytics/devguides

2条回答
  •  悲哀的现实
    2020-12-19 09:19

    Found some help here (by Matthew Bradshaw): Use of unresolved identifier GGLContext and GAI

    Seems that cocoapods incorrectly installed, or set the build settings incorrectly (or something strange).

    Following his advice, I started from scratch, pod install'd, created the bridging header and imported each individual file (and not ), then pointed build settings at the bridging header!

    Voila, the bridging header is no longer complaining about not being able to find files! Nice!

提交回复
热议问题