0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Swift】Google認証の実装でCannot find 'GIDConfiguration' in scopeが出る

0
Last updated at Posted at 2022-10-11

事象

下記に従って、iOSでGoogleログインを使用して認証するための実装を行なったが、「Cannot find 'GIDConfiguration' in scope」が表示される
https://firebase.google.com/docs/auth/ios/google-signin?hl=ja

原因

GIDConfigurationを利用するためにGoogleSignInを6.0.0以上にする必要があった。
何も考えずに「pod install」を実行していたが、インストールされたバージョンは5.0.2であった。
参考:https://developers.google.com/identity/sign-in/ios/quick-migration-guide

実施したこと

pod コマンドはライブラリのメタ情報をローカルにキャッシュするため、下記コマンドを実行してキャッシュを更新して、再度pod installを実行。

pod repo update

キャッシュが古いままだと最新のバージョンがインストールされないので注意。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?