IOS 6 throw error while using Google OAuth

Over the weekend, I upgraded my version of xcode to the newest version and the latest SDK (iOS 6.0). This morning, when I logged in to take a look at how our application transitioned, I noticed something strange. I get errors like:

uknown type 'GDataOAuthentication' for

 @property (nonatomic, retain, readonly) GDataOAuthAuthentication *authentication; 

in GDataOAuthViewControllerTouch.h

In the latest version, this worked great. Any ideas on what needs to be changed?

+4
source share
1 answer

Try changing the valid architecture from arm7s to arm7. Arm7s is a new architecture for the iPhone 5 and could be a problem causing GData as well as other libraries.

Also does it work on a simulator or phone? Mine is not compiled over the phone on a simulator, so the problem remains.

+2
source

Source: https://habr.com/ru/post/1436055/


All Articles