ios폴더로 이동 터미널에 cd ios

ios 폴더 안에 podfile.lock 삭제 

pod install --repo-update 입력

 

clean 한번하고 get 

 

반응형

InvalidOperationException', reason: 'fb000000000 is not registered as a URL scheme. Please add it in your Info.plist'

에러가 뜰시

fb저 코드를 복사 한 후 

 

 

 

flutter - ios 오른쪽 클릭 -flutter - xocde 열기

runner - info - URL Types 클릭

 

 

 

+누른 후 URL Schemes에 오류에있던 fb0000값을 붙여넣으면 끝

 

 

반응형

our app is missing support for the following URL schemes 뜨면서 구글 로그인 안될때 

 

xcode 실행 (ios오른쪽버튼 - flutter - open ios module in xcode)

 

 

 

Runner - GoogleService-Info.plist - REVERSED_CLIENT_ID 값 복사 

 

 

 

 

Runner - Info - url types 열어서 + 추가하기 

 

 

 

 

 

 URL Schemes에 붙여넣기 하면 끝 

 

 

 

 

 

 

반응형

 

ios는 mac os에서 해야함

firebase 프로젝트를 생성하고 ios 클릭

 

 

 

ios번들 id 찾으러 

 

 

 

flutter 프로젝트의 ios폴더 오른쪽 클릭 -> flutter -> open ios module in xocde 클릭

 

 

 

xcode상에서 Runner클릭 ->General에 Bundle Identifier가 번들id이다 원하는이름으로 수정 후 

 

 

 

입력하고 앱등록 클릭

 

 

 

GoogleService-Info.plist을 원하는 위치에 다운받는다 

 

 

 

아까 열은 xcode의 Runner에 오른쪽클릭 -> Add Files to Runner 클릭

 

 

 

저장한위치의 plist파일 선택

 

 

 

 

콘솔에서 이제 다음 을 눌러 한번에 마지막 단계로가서 콘솔이동나오면 끝 

 

 

 

======================================================================

Firebase CLI를 이용하면 이런거 다필요없다 알아서됨

반응형

+ Recent posts