Study


- PodFile 추가 pod 'Firebase/Auth' pod 'Firebase/Firestore' pod 'GoogleSignIn' - Firebase Console에서 Google 추가 - [GoogleService-Info.plist] - [REVERSED_CLIENT_ID]를 URLScheme에 추가 - AppDelegate 코드 추가 import UIKit import Firebase import GoogleSignIn func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return GIDSignIn.sharedInstance.ha..

Archive Distribution에서 발생1. Invalid Bundle contains disallowed nested bundles2. Invalid Bundle contains disallowed file ‘Frameworks’ -> App Extension Target - [Build Phaes] - [Run Script] cd "CONFIGURATIONBUILDDIR/{UNLOCALIZED_RESOURCES_FOLDER_PATH}/"if [[ -d "Frameworks" ]]; then rm -fr Frameworksfi 출처https://stackoverflow.com/questions/25777958/validation-error-invalid-bundle-the-bun..

Repository 만들기 - [New Git Repositories...] 선택 - Create 선택 - 왼쪽 두 번째 메뉴 클릭 - [Respositories] - [New "Project명" Remote..] - [완료] Source Control - commit : 파일 추가 및 변경 내용을 저장하는 작업 - push : 파일 추가 및 변경 내용을 원격 저장소에 저장하는 작업 - pull : 원격 저장소로부터 필요한 파일 다운 + 병합 - Fetch Changes : 원격 저장소로부터 필요한 파일 다운(pull과 달리 병합은 따로) - Refresh file status : 프로젝트 상태를 새로고침 - Cherry-Pick... : 다른 Branch에 있는 commit을 선택하여 내 Branch에..


Firestore Setting - 프로젝트에서 FireStore Database를 추가 - DB 생성 - Cloud Firestore 위치는 아무거나 선택(서버 위치에 따라 속도가 다름) - 컬렉션 추가 - 테이블에 데이터 추가 - Firestore 규칙 (만약 allow read, write if false로 되어 있으면, true로 바꿔 데이터를 읽어올 수 있음) - podfile Firestore Code - import FirebaseFirestore - DB에 선언한 것을 구조체로 선언 - Firebase DB에 들어갈 수 있는 데이터 구조(클래스와 구조체는 들어갈 수 없음) Number String Array Dictionary → 구조체를 Dictionary로 바꾸는 getDic() 함수도..