Play-games-plugin-for-unity: <GoogleSignIn/GIDSignIn.h> added but "GIDSignIn.h file not found" still remain

Created on 1 Mar 2016  路  6Comments  路  Source: playgameservices/play-games-plugin-for-unity

I have experimented all solutions from previous issues but can't solve problem.
Please help!
error

iOS

Most helpful comment

This could be that the postprocessing of the pbxproject file did not complete successfully. You can check the Unity console log for this.

Make sure you are:

  1. opening the .xcworkspace file.
  2. OTHER_LDFLAGS in build settings include $(inherited)
  3. HEADER_SEARCH_PATHS in build settings include $(inherited)
  4. OTHER_CFLAGS in build settings include $(inherited)
  5. ENABLE_BITCODE in build settings is set to NO
  6. Libraries/Plugins/iOS/GPGSAppController.mm (or Libraries/GPGSAppController.mm) has compiler flags that include -fobjc-arc

All 6 comments

袠褋锌褉邪胁褜 :) 薪邪 褝褌芯 懈 斜褍写械褌 褌械斜械 褋褔邪褋褌褜械

2016-03-28 12 30 03

This could be that the postprocessing of the pbxproject file did not complete successfully. You can check the Unity console log for this.

Make sure you are:

  1. opening the .xcworkspace file.
  2. OTHER_LDFLAGS in build settings include $(inherited)
  3. HEADER_SEARCH_PATHS in build settings include $(inherited)
  4. OTHER_CFLAGS in build settings include $(inherited)
  5. ENABLE_BITCODE in build settings is set to NO
  6. Libraries/Plugins/iOS/GPGSAppController.mm (or Libraries/GPGSAppController.mm) has compiler flags that include -fobjc-arc

this needs to be a sticky; ran into this again and the checklist fixed it for me.

thanks.

This seems to come back every time "append" from the Unity build is no longer an option. After the checklist failed me, I tried @integer222's fix this time, but got "clang error: unsupported option --ObjC"

Thanks @claywilkinson
your check list worked for me.

Hello @claywilkinson,

If you don't mind explaining more detail, I'll be much appreciated!

I'm curious about your no. 6 checklist.

  1. Libraries/Plugins/iOS/GPGSAppController.mm (or Libraries/GPGSAppController.mm) has compiler flags that include -fobjc-arc
  • Where should I add the flags (-fobjc-arc) actually?
  • And, what is actually means (-fobjc-arc)?

Thanks,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcus13345 picture marcus13345  路  3Comments

brentbartlett picture brentbartlett  路  5Comments

EspectroDK picture EspectroDK  路  5Comments

SQuirkster picture SQuirkster  路  3Comments

parkJeongOck picture parkJeongOck  路  4Comments