LRGooglePlusClient icon indicating copy to clipboard operation
LRGooglePlusClient copied to clipboard

Not able to build application

Open kamarshad opened this issue 10 years ago • 4 comments

Hello @liviur

I am using this library in my iOS application and using it through the cocoa pods (pod 'LRGooglePlusClient', '~> 1.1'). Once I tried to build the application and it is getting failed with error 'google-plus-ios-sdk/GooglePlus.h file not found'. I am not able to understand how to fix this issue.

Any help would be highly appreciated.

Thanks

kamarshad avatar Sep 02 '15 19:09 kamarshad

Hey @kamarshad ,

Cocoapods won't let me push the updated spec (TL;DR - won't let me push it with the way the Google plus subspec is built) or I'm missing something.

I will take a look later. However - in the meanwhile you can manually do the change i did for release 1.2.0 that solved that issue (change the imports manually)

Sorry for the bother

liviur avatar Sep 02 '15 19:09 liviur

Ok Thanks @liviur changed the imports manually

kamarshad avatar Sep 03 '15 05:09 kamarshad

Hi @liviur,

I have taken over an IOS project from another company. I am already experienced the same issue as @kamarshad but I am also not experienced in IOS development as much as you. Can you give me a little bit more details about this workaround to overcome this issue and to be able to compile my project.

Thanks and Regards.

AtillaBilgic avatar Sep 20 '15 19:09 AtillaBilgic

Hi Atilla - Please notes the following commit: https://github.com/liviur/LRGooglePlusClient/commit/c2a14dce0db7b86b9f297b5af796647f7327b33d The removal of the relevant ifdefs are what's needed.

Liviu

liviur avatar Sep 21 '15 00:09 liviur