ios - lexical or Preprocessor issue GAITrackedViewController.h not found when running unit tests -


i having problem google analytics library, added library using cocoapods , works fine when run application however, when run unit tests file gaitrackedviewcontroller.h not found. compiler highlights error lexical or preprocessor issue.

i have retried reinstall library couple of times, have looked @ these threads , more google analytics not found , gaitrackedviewcontroller.h not found , still can't seem solution problem.

i using objective-c , xcode version 8.3.2

you can @ firebase analytics. better ga.

cocoapod: pod 'firebase/core'

appdelegate:

@import firebase; 

didfinishlaunchingwithoptions:

[firapp configure]; 

uiviewcontroller

[firanalytics logeventwithname:kfireventselectcontent                         parameters:@{                                      kfirparameteritemid:[nsstring stringwithformat:@"id-hvc"],                                      kfirparameteritemname:@"events",                                      kfirparametercontenttype:@"screen"                                      }]; 

do not forget add cocoapod code: source 'https://github.com/cocoapods/specs.git'


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -