Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GIDSignIn.h file not found Xcode

Discussion in 'iOS and tvOS' started by tonio1206, Mar 6, 2016.

  1. tonio1206

    tonio1206

    Joined:
    Apr 14, 2014
    Posts:
    4
    Hi,
    I am trying to build my ios game on Xcode but each time I build it I get the error GIDSignIn.h file not found. I used Unity 5.3. to develop my game. I am using the Google Play Services which I think is the problem. I have imported the GoogleSignIn, UnityAds and GoogleOpenSource frameworks to Xcode.
    Do any of you know a solution?
    thanks
     
  2. tonio1206

    tonio1206

    Joined:
    Apr 14, 2014
    Posts:
    4
    Does anyone know a solution?
     
  3. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It's likely that include paths have been set up incorrectly.
     
  4. v2k

    v2k

    Joined:
    Mar 16, 2012
    Posts:
    15
  5. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Could you submit a bug and attach a small reproduction project? Could you post the id of the new bug here? Thanks.
     
  6. mgrillo

    mgrillo

    Joined:
    May 11, 2015
    Posts:
    1
    Hi, if you're still experiencing these problems, try the following:

    In unity open the file:

    Assets/GoogleplayGames/Editor/Podfile.txt

    And add the following lines:

    pod 'GoogleSignIn', '~>3.0.0'
    pod 'GoogleAppUtilities', '~>1.1.0'
    pod 'GoogleAuthUtilities', '~>2.0.0'
    pod 'GoogleNetworkingUtilities', '~>1.2.0'
    pod GooglePlayGames', '~>5.1.1'
    pod 'GooglePlusOpenSource', '~>1.7.1'
    pod 'GoogleSymbolUtilities', '~>1.1.0'
    pod 'GoogleUtilities', '~>1.3.0'

    Somehow the last update added newer versions of pods that breaks the compilation, maybe after a couple of updates you won't have to use this hack.
     
  7. UDN_3b9dee39-3d59-439c-99f1-8ce6cd3a2e1a

    UDN_3b9dee39-3d59-439c-99f1-8ce6cd3a2e1a

    Joined:
    Jun 17, 2016
    Posts:
    2
    Still no fix to this? I've used every different type of pod I can, changed dependencies, done it all, and nothing works. Unity? Anything?
     
  8. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Hi,
    No bug report with attached project has been submitted for the issue thus we can't be sure about what's happening. It seems that one of your native plugins is incorrectly set up though. Please contact plugin vendor.
     
  9. appmonkey36

    appmonkey36

    Joined:
    Nov 26, 2016
    Posts:
    4
    I have the same issue, here is my screenshot > please help! Any experts here? I build xcode project from unity and then build the project with "bitcode" disabled and "Module C" enabled > is there a way to get this files that are missing? I installed Cocoapods from terminal and it successfully installed.

    My screenshot

    Screen Shot 2017-01-30 at 02.51.26.png
     
  10. vanshika1012

    vanshika1012

    Joined:
    Sep 18, 2014
    Posts:
    48
    Same Bug.. Any solution anyone.
     
  11. NextUnity

    NextUnity

    Joined:
    May 7, 2014
    Posts:
    2
    @vanshika1012 I don't know did you solve it yet. I just encounter it and fixed it by. Expect it could help you.
    i use x-code : 8.2.1
    * Download below libs then adds to project:
    1. Google Sign In sdk (4.0).
    2. Google plus.
    3. gpg-ccp-skd.
    * x-code setting: Addd Other Object linker ( -Objectc), Bitcode ( No)
    * Add more framework :
    1. AddressBook.Framework.
    2. AssetLibraly.Framwork.
    3. Security.Framwork.
    4. AdSuport.Framwork
    5. libz
    Good luck.
     
  12. Rascal007

    Rascal007

    Joined:
    Jun 22, 2019
    Posts:
    1
     
    DanilLetov likes this.
  13. manirana94

    manirana94

    Joined:
    Apr 16, 2018
    Posts:
    7
    Salma175 likes this.