I followed the Google Drive API for iOS Quicstart and created a sample project, everything works ok. But when I did exactly the same thing to an existing project and ran on simulator. On simulator screen it shows:
The operation couldn't be completed. (com.google.HTTPStatus error 401).
In console it shows:
Error data:
{
error = "unauthorized_client";
"error_description" = Unauthorized
}
I searched and didn't find exactly the same error and other kinds of error help information didn't work out. Please give me a clue. Thanks!
The operation couldn't be completed. (com.google.HTTPStatus error 401).
In console it shows:
Error data:
{
error = "unauthorized_client";
"error_description" = Unauthorized
}
I searched and didn't find exactly the same error and other kinds of error help information didn't work out. Please give me a clue. Thanks!