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

ERROR: Google play services on IOS

Discussion in 'iOS and tvOS' started by Smaika, Nov 15, 2015.

  1. Smaika

    Smaika

    Joined:
    Apr 28, 2014
    Posts:
    14
    Am new to IOS development so take things easy with me

    ERROR: GPGSAppController.mm GIDSignIn.h File not found error

    I am using Google Play Game Service for leaderboard and achievements and every thing is working fine in android but when I build to IOS and try to run my project to an IOS device I keep getting this error and I couldn't find a solution to it for hours now. I tried to deleted every thing related to Google Play service (After creating a back up of course) and the app installed and worked ok except it was a bit laggy but that is a another issue. So am sure the causing to the problem is Google Play Service but I have no clue how to fix it Again am new to Xcode and IOS development in general and even Mac. I also get this message after building the project in unity if it can help



    TO FINISH CONFIGURING THE EXPORTED XCODE PROJECT 1. Add these frameworks: AddressBook.framework AssetsLibrary.framework CoreData.framework CoreTelephony.framework CoreText.framework Security.framework libc++.dylib libz.dylib 2. Add the following bundles and frameworks from the Google Plus and the Google Play Games C++ SDKs. These can be downloaded from https://developers.google.com/games/services. GoogleOpenSource.framework GooglePlus.bundle GooglePlus.framework GooglePlayGames.bundle gpg.framework Note: Make sure the bundles are copied to application. This can be verified under Build Phases/Copy Bundle Resources. 3. Add the '-ObjC' linker flag. To do this, select the top-level project object, select the 'Unity-iPhone' build target, then go to the Build Settings tab. Search for Other Linker Flags and add the '-ObjC' flag to that list. 4. If you want to run the project in the simulator (as opposed to an actual device, read the notes in the APPENDIX below. Your project is now ready to build and deploy!


    But I have no idea how to do any thing above

    Please if some one can help Help me !!! Any Help is Appreciated
     
    Last edited: Nov 15, 2015
  2. bonestudiosm

    bonestudiosm

    Joined:
    Oct 13, 2021
    Posts:
    7
    Hello my friend, I faced the same problem as yours and I searched for a long time to find a solution and finally found a solution and I created a video explaining the steps but in Arabic, you can follow the steps to solve your problem



    cheers :)