elringus / unity-google-drive

Google Drive SDK for Unity game engine

Home Page:https://forum.unity.com/threads/515360

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing AppAuth.h with playservices updated

Midget4567 opened this issue · comments

Hello,

I am having an issue with "missing AppAuth.h" error in xcode related to the project. I understand this was fixed in another thread stating that if you update playservicesresolver it would resolve the appauth.h file. I have updated playservicesresolver but the error still exists.

The playservicesresolver folder just disappears when adding it into my project, other posts have mentioned it is now included in the ExternalDependancyManager folder. I see the podfile inside of my build project. What am i missing? Do I need cocoapods installed on my mac for it to work?

Thanks

I actually figured it out, it was a fundamental failure to understand what cocoapods is and how to use it. For anyone else who is as ignorant as me, here was the solution. I wasn't having any luck installing cocoapods on my mac because of a bunch of random errors in the terminal.

First I downloaded HomeBrew on my mac that automatically fixed the errors I was having. Then I used homebrew to install cocoapods in the terminal with 'brew install cocoapods'.
Then I followed this link roughly https://stackoverflow.com/questions/20755044/how-do-i-install-cocoapods for the pod installation process in the xcode project folder.

There was an error at the install stage, to remove this error I removed the '~> 1.2.0' code from inside the autogenerated podfile, then the installation worked correctly. Then I had to open the .workspace file instead of the xcode proj file.

Finally the error went away. Hope it helps!