Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

GooglePlus/GooglePlus.h file not found - GPGSAppController.mm --- XCODE

Discussion in 'iOS and tvOS' started by VAN-D00M, Jan 29, 2015.

  1. VAN-D00M

    VAN-D00M

    Joined:
    Dec 24, 2013
    Posts:
    44
    Hi

    Built the project into Xcode and can't build the Xcode project without getting this error

    GooglePlus/GooglePlus.h file not found in the file GPGSAppController.mm. (Didn't see that one coming).


    Everything is set up properly in unity, uses google play services. Spent hours on this and have no idea how to fix it.
    I followed a link on one forum to download this folder 'google-plus-ios-sdk-1.5.1'. I have no idea what to do with it though.


    Can anyone help me please. Really am stuck.


    Thanks
     
    davidguaita likes this.
  2. jtbentley

    jtbentley

    Joined:
    Jun 30, 2009
    Posts:
    1,397
    I just had this problem too. I had to unpack the google plus and google play games sdk's on OSX, rather than on PC or files were missing.

    Secondly, I had to add -ObjC to the Build Settings > Linking > Other Linker Flags xcode settings. Actually, I went on a bit of a chase before I realised this was all listed in the ios_instructions file in the Unity plugin..

     
    Last edited: Feb 6, 2015
  3. davidguaita

    davidguaita

    Joined:
    Apr 20, 2013
    Posts:
    6
    You saved my day. I was having this problem with the Google+ and other iOS libraries and that seem to become broken after going through a PC. Don't know what's exactly the problem, but downloading again the libraries and replacing them fix it.