Google/Analytics.h file not found when adding to AppDelegate

前端 未结 8 1610
迷失自我
迷失自我 2020-12-30 04:06

I am trying to integrate Google Analytics in my ios project using Cocoapods. However, after following this for the steps till adding configuration file to my project, when i

8条回答
  •  不知归路
    2020-12-30 04:41

    Swift 3

    With version 3.17.0 (installed using pod 'GoogleAnalytics' in Podfile):

    1. Open yourproject.xcworkspace instead of yourproject.xcodeproj
    2. Use #import in the bridging header file

    Edit: Per jeremy piednoel's comment you may also need

    #import 
    #import 
    

提交回复
热议问题