[ Error ]
[ 문제 - No type or protocol named 'GIDSignInDelegate' ]
Google Sign In을 구현한 유니티 프로젝트를 빌드한 Xcode의 빌드 과정에서 다음과 같은 오류가 발생하였다 .
/Users/yeodaehyeon/Build2/A/Libraries/Plugins/iOS/GoogleSignIn/GoogleSignIn.h:18:17 No type or protocol named 'GIDSignInDelegate'
[ 원인 ]
https://developers.google.com/identity/sign-in/ios/release?hl=ko
=>Google의 출시노트 문서를 확인해보자
=>5.0.0 버전에서 해당 메서드가 대체됨을 볼 수 있다 .아래문제도 5.0.0 버전부터 바뀐 것들로 인한 문제로 생긴 것들이다 .
[ 해결 ]
https://github.com/googlesamples/google-signin-unity/issues/102
=>나의 Podfile을 살펴보자 . GoogleSignIn이 4.0.2 버전 이상으로 명시되어 있다 .
=>다음과 같이 5.0.0 이하로 변경해준다 . 이후 xcworkspace를 다시 생성해준다 .
혹은 GoogleSignInDependencies.xml 을 바꿔줄수도 있다 .
=>Assets - GoogleSignIn-Editor - GoogleSignInDependencies.xml 로 이동해준다.
=>원본
=>변경후 다시 빌드를 진행한다 .
출처
https://github.com/googlesamples/google-signin-unity/issues/102
'IOS' 카테고리의 다른 글
[ IOS ] Error - CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core" (0) | 2023.07.07 |
---|---|
[ IOS ] AppLovin과 Firebase 동시사용시 프로젝트 설정하기 (0) | 2023.07.05 |
[ IOS ] Error - xcrun: error: SDK "iphoneos" cannot be located (0) | 2023.07.04 |
[ 코코아팟 설치하기 ] (0) | 2023.07.04 |
[ IOS ]소스트리에서 암호를 계속 요구하는 경우 (0) | 2023.06.29 |