Search code examples
xcodebuildboxgameanalytics

Why can the AppDelegate file not see the GameAnalytics file?


I'm trying to add the GameAnalytics SDK to my project (a game), dragged the framework file onto the project, but when I import it I get an error saying that the file GameAnalytics/GameAnalytics.h is not found How can I fix that problem?


Solution

  • Import framework to your target:

    Build Phases > Embed Frameworks + <Your Framework>
    

    I hope it is works.

    Enjoy.