├── Ellifit ├── Assets.xcassets │ ├── Contents.json │ ├── header_image.imageset │ │ ├── header_image.png │ │ └── Contents.json │ ├── AccentColor.colorset │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── ContentView.swift ├── GoogleSignInButton.swift ├── EllifitApp.swift ├── LoginView.swift ├── Info.plist ├── AuthenticationViewModel.swift └── HomeView.swift ├── README.md ├── Ellifit.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved └── project.pbxproj ├── LICENSE ├── codemagic.yaml └── .gitignore /Ellifit/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Ellifit/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Ellifit/Assets.xcassets/header_image.imageset/header_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rudrankriyam/Ellifit/HEAD/Ellifit/Assets.xcassets/header_image.imageset/header_image.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Ellifit 2 | 3 | This repository contains the final example project for [Google Sign-In & Firebase Authentication Using SwiftUI](https://blog.codemagic.io/google-sign-in-firebase-authentication-using-swift/) 4 | -------------------------------------------------------------------------------- /Ellifit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Ellifit/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Ellifit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ellifit/Assets.xcassets/header_image.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "header_image.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Ellifit/ContentView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ContentView.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 02/05/21. 6 | // 7 | 8 | import SwiftUI 9 | 10 | struct ContentView: View { 11 | @EnvironmentObject var viewModel: AuthenticationViewModel 12 | 13 | var body: some View { 14 | switch viewModel.state { 15 | case .signedIn: HomeView() 16 | case .signedOut: LoginView() 17 | } 18 | } 19 | } 20 | 21 | struct ContentView_Previews: PreviewProvider { 22 | static var previews: some View { 23 | ContentView() 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Ellifit/GoogleSignInButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GoogleSignInButton.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 21/12/21. 6 | // 7 | 8 | import SwiftUI 9 | import GoogleSignIn 10 | 11 | struct GoogleSignInButton: UIViewRepresentable { 12 | @Environment(\.colorScheme) var colorScheme 13 | 14 | private var button = GIDSignInButton() 15 | 16 | func makeUIView(context: Context) -> GIDSignInButton { 17 | button.colorScheme = colorScheme == .dark ? .dark : .light 18 | return button 19 | } 20 | 21 | func updateUIView(_ uiView: UIViewType, context: Context) { 22 | button.colorScheme = colorScheme == .dark ? .dark : .light 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Ellifit/EllifitApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // EllifitApp.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 02/05/21. 6 | // 7 | 8 | import SwiftUI 9 | import Firebase 10 | import GoogleSignIn 11 | 12 | @main 13 | struct EllifitApp: App { 14 | @StateObject var viewModel = AuthenticationViewModel() 15 | 16 | init() { 17 | setupAuthentication() 18 | } 19 | 20 | var body: some Scene { 21 | WindowGroup { 22 | ContentView() 23 | .environmentObject(viewModel) 24 | } 25 | } 26 | } 27 | 28 | extension EllifitApp { 29 | private func setupAuthentication() { 30 | FirebaseApp.configure() 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Rudrank Riyam 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Ellifit/LoginView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // LoginView.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 05/05/21. 6 | // 7 | 8 | import SwiftUI 9 | 10 | struct LoginView: View { 11 | 12 | // 1 13 | @EnvironmentObject var viewModel: AuthenticationViewModel 14 | 15 | var body: some View { 16 | VStack { 17 | Spacer() 18 | 19 | // 2 20 | Image("header_image") 21 | .resizable() 22 | .aspectRatio(contentMode: .fit) 23 | 24 | Text("Welcome to Ellifit!") 25 | .fontWeight(.black) 26 | .foregroundColor(Color(.systemIndigo)) 27 | .font(.largeTitle) 28 | .multilineTextAlignment(.center) 29 | 30 | Text("Empower your elliptical workouts by tracking every move.") 31 | .fontWeight(.light) 32 | .multilineTextAlignment(.center) 33 | .padding() 34 | 35 | Spacer() 36 | 37 | // 3 38 | GoogleSignInButton() 39 | .padding() 40 | .onTapGesture { 41 | viewModel.signIn() 42 | } 43 | } 44 | } 45 | } 46 | 47 | struct LoginView_Previews: PreviewProvider { 48 | static var previews: some View { 49 | LoginView() 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /codemagic.yaml: -------------------------------------------------------------------------------- 1 | workflows: 2 | ios-workflow: 3 | name: iOS Workflow 4 | environment: 5 | groups: 6 | - firebase 7 | vars: 8 | XCODE_PROJECT: "Ellifit.xcodeproj" 9 | XCODE_SCHEME: "Ellifit" 10 | BUNDLE_ID: "com.rudrankriyam.Ellifit" 11 | xcode: latest 12 | cocoapods: default 13 | triggering: 14 | events: 15 | - push 16 | - tag 17 | - pull_request 18 | branch_patterns: 19 | - pattern: 'develop' 20 | include: true 21 | source: true 22 | scripts: 23 | - name: Decode Google Service file 24 | script: | 25 | echo $IOS_SECRET_FIREBASE | base64 --decode > $FCI_BUILD_DIR/Ellifit/GoogleService-Info.plist 26 | - name: Increment build number 27 | script: | 28 | #!/bin/sh 29 | set -e 30 | set -x 31 | cd $FCI_BUILD_DIR 32 | agvtool new-version -all $(($BUILD_NUMBER + 1)) 33 | - name: Build project 34 | script: | 35 | xcodebuild build -project "$XCODE_PROJECT" -scheme "$XCODE_SCHEME" CODE_SIGN_INDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO 36 | -------------------------------------------------------------------------------- /Ellifit/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleURLTypes 20 | 21 | 22 | CFBundleTypeRole 23 | Editor 24 | CFBundleURLSchemes 25 | 26 | REVERSE_CLIEND_ID 27 | 28 | 29 | 30 | CFBundleVersion 31 | 1 32 | LSRequiresIPhoneOS 33 | 34 | UIApplicationSceneManifest 35 | 36 | UIApplicationSupportsMultipleScenes 37 | 38 | 39 | UIApplicationSupportsIndirectInputEvents 40 | 41 | UILaunchScreen 42 | 43 | UIRequiredDeviceCapabilities 44 | 45 | armv7 46 | 47 | UISupportedInterfaceOrientations 48 | 49 | UIInterfaceOrientationPortrait 50 | UIInterfaceOrientationLandscapeLeft 51 | UIInterfaceOrientationLandscapeRight 52 | 53 | UISupportedInterfaceOrientations~ipad 54 | 55 | UIInterfaceOrientationPortrait 56 | UIInterfaceOrientationPortraitUpsideDown 57 | UIInterfaceOrientationLandscapeLeft 58 | UIInterfaceOrientationLandscapeRight 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /Ellifit/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Ellifit/AuthenticationViewModel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AuthenticationViewModel.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 05/05/21. 6 | // 7 | 8 | import Foundation 9 | import Firebase 10 | import GoogleSignIn 11 | 12 | class AuthenticationViewModel: ObservableObject { 13 | enum SignInState { 14 | case signedIn 15 | case signedOut 16 | } 17 | 18 | @Published var state: SignInState = .signedOut 19 | 20 | func signIn() { 21 | // 1 22 | if GIDSignIn.sharedInstance.hasPreviousSignIn() { 23 | GIDSignIn.sharedInstance.restorePreviousSignIn { [unowned self] user, error in 24 | authenticateUser(for: user, with: error) 25 | } 26 | } else { 27 | // 2 28 | guard let clientID = FirebaseApp.app()?.options.clientID else { return } 29 | 30 | // 3 31 | let configuration = GIDConfiguration(clientID: clientID) 32 | 33 | // 4 34 | guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene else { return } 35 | guard let rootViewController = windowScene.windows.first?.rootViewController else { return } 36 | 37 | // 5 38 | GIDSignIn.sharedInstance.signIn(with: configuration, presenting: rootViewController) { [unowned self] user, error in 39 | authenticateUser(for: user, with: error) 40 | } 41 | } 42 | } 43 | 44 | private func authenticateUser(for user: GIDGoogleUser?, with error: Error?) { 45 | // 1 46 | if let error = error { 47 | print(error.localizedDescription) 48 | return 49 | } 50 | 51 | // 2 52 | guard let authentication = user?.authentication, let idToken = authentication.idToken else { return } 53 | 54 | let credential = GoogleAuthProvider.credential(withIDToken: idToken, accessToken: authentication.accessToken) 55 | 56 | // 3 57 | Auth.auth().signIn(with: credential) { [unowned self] (_, error) in 58 | if let error = error { 59 | print(error.localizedDescription) 60 | } else { 61 | state = .signedIn 62 | } 63 | } 64 | } 65 | 66 | func signOut() { 67 | // 1 68 | GIDSignIn.sharedInstance.signOut() 69 | 70 | do { 71 | // 2 72 | try Auth.auth().signOut() 73 | 74 | state = .signedOut 75 | } catch { 76 | print(error.localizedDescription) 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /Ellifit/HomeView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HomeView.swift 3 | // Ellifit 4 | // 5 | // Created by Rudrank Riyam on 05/05/21. 6 | // 7 | 8 | import SwiftUI 9 | import GoogleSignIn 10 | 11 | struct HomeView: View { 12 | // 1 13 | @EnvironmentObject var viewModel: AuthenticationViewModel 14 | 15 | // 2 16 | private let user = GIDSignIn.sharedInstance.currentUser 17 | 18 | var body: some View { 19 | NavigationView { 20 | VStack { 21 | HStack { 22 | // 3 23 | NetworkImage(url: user?.profile?.imageURL(withDimension: 200)) 24 | .aspectRatio(contentMode: .fit) 25 | .frame(width: 100, height: 100, alignment: .center) 26 | .cornerRadius(8) 27 | 28 | VStack(alignment: .leading) { 29 | Text(user?.profile?.name ?? "") 30 | .font(.headline) 31 | 32 | Text(user?.profile?.email ?? "") 33 | .font(.subheadline) 34 | } 35 | 36 | Spacer() 37 | } 38 | .padding() 39 | .frame(maxWidth: .infinity) 40 | .background(Color(.secondarySystemBackground)) 41 | .cornerRadius(12) 42 | .padding() 43 | 44 | Spacer() 45 | 46 | // 4 47 | Button(action: viewModel.signOut) { 48 | Text("Sign out") 49 | .foregroundColor(.white) 50 | .padding() 51 | .frame(maxWidth: .infinity) 52 | .background(Color(.systemIndigo)) 53 | .cornerRadius(12) 54 | .padding() 55 | } 56 | } 57 | .navigationTitle("Ellifit") 58 | } 59 | .navigationViewStyle(StackNavigationViewStyle()) 60 | } 61 | } 62 | 63 | /// A generic view which is helpful for showing images from the network. 64 | struct NetworkImage: View { 65 | let url: URL? 66 | 67 | var body: some View { 68 | if let url = url, 69 | let data = try? Data(contentsOf: url), 70 | let uiImage = UIImage(data: data) { 71 | Image(uiImage: uiImage) 72 | .resizable() 73 | .aspectRatio(contentMode: .fit) 74 | } else { 75 | Image(systemName: "person.circle.fill") 76 | .resizable() 77 | .aspectRatio(contentMode: .fit) 78 | } 79 | } 80 | } 81 | 82 | struct HomeView_Previews: PreviewProvider { 83 | static var previews: some View { 84 | HomeView() 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## User settings 6 | xcuserdata/ 7 | 8 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) 9 | *.xcscmblueprint 10 | *.xccheckout 11 | 12 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) 13 | build/ 14 | DerivedData/ 15 | *.moved-aside 16 | *.pbxuser 17 | !default.pbxuser 18 | *.mode1v3 19 | !default.mode1v3 20 | *.mode2v3 21 | !default.mode2v3 22 | *.perspectivev3 23 | !default.perspectivev3 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | 28 | ## App packaging 29 | *.ipa 30 | *.dSYM.zip 31 | *.dSYM 32 | 33 | ## Playgrounds 34 | timeline.xctimeline 35 | playground.xcworkspace 36 | 37 | # Swift Package Manager 38 | # 39 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 40 | # Packages/ 41 | # Package.pins 42 | # Package.resolved 43 | # *.xcodeproj 44 | # 45 | # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata 46 | # hence it is not needed unless you have added a package configuration file to your project 47 | # .swiftpm 48 | 49 | .build/ 50 | 51 | # CocoaPods 52 | # 53 | # We recommend against adding the Pods directory to your .gitignore. However 54 | # you should judge for yourself, the pros and cons are mentioned at: 55 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 56 | # 57 | Pods/ 58 | # 59 | # Add this line if you want to avoid checking in source code from the Xcode workspace 60 | # *.xcworkspace 61 | 62 | # Carthage 63 | # 64 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 65 | # Carthage/Checkouts 66 | 67 | Carthage/Build/ 68 | 69 | # Accio dependency management 70 | Dependencies/ 71 | .accio/ 72 | 73 | # fastlane 74 | # 75 | # It is recommended to not store the screenshots in the git repo. 76 | # Instead, use fastlane to re-generate the screenshots whenever they are needed. 77 | # For more information about the recommended setup visit: 78 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 79 | 80 | fastlane/report.xml 81 | fastlane/Preview.html 82 | fastlane/screenshots/**/*.png 83 | fastlane/test_output 84 | 85 | # Code Injection 86 | # 87 | # After new code Injection tools there's a generated folder /iOSInjectionProject 88 | # https://github.com/johnno1962/injectionforxcode 89 | 90 | iOSInjectionProject/ 91 | 92 | GoogleService-Info.plist 93 | -------------------------------------------------------------------------------- /Ellifit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "object": { 3 | "pins": [ 4 | { 5 | "package": "abseil", 6 | "repositoryURL": "https://github.com/firebase/abseil-cpp-SwiftPM.git", 7 | "state": { 8 | "branch": null, 9 | "revision": "fffc3c2729be5747390ad02d5100291a0d9ad26a", 10 | "version": "0.20200225.4" 11 | } 12 | }, 13 | { 14 | "package": "AppAuth", 15 | "repositoryURL": "https://github.com/openid/AppAuth-iOS.git", 16 | "state": { 17 | "branch": null, 18 | "revision": "01131d68346c8ae552961c768d583c715fbe1410", 19 | "version": "1.4.0" 20 | } 21 | }, 22 | { 23 | "package": "BoringSSL-GRPC", 24 | "repositoryURL": "https://github.com/firebase/boringssl-SwiftPM.git", 25 | "state": { 26 | "branch": null, 27 | "revision": "734a8247442fde37df4364c21f6a0085b6a36728", 28 | "version": "0.7.2" 29 | } 30 | }, 31 | { 32 | "package": "Firebase", 33 | "repositoryURL": "https://github.com/firebase/firebase-ios-sdk", 34 | "state": { 35 | "branch": "master", 36 | "revision": "480178b0871217c5f4fd3dd3c3a309c78c1d5c4c", 37 | "version": null 38 | } 39 | }, 40 | { 41 | "package": "GoogleAppMeasurement", 42 | "repositoryURL": "https://github.com/google/GoogleAppMeasurement.git", 43 | "state": { 44 | "branch": null, 45 | "revision": "9b2f6aca5b4685c45f9f5481f19bee8e7982c538", 46 | "version": "8.9.1" 47 | } 48 | }, 49 | { 50 | "package": "GoogleDataTransport", 51 | "repositoryURL": "https://github.com/google/GoogleDataTransport.git", 52 | "state": { 53 | "branch": null, 54 | "revision": "15ccdfd25ac55b9239b82809531ff26605e7556e", 55 | "version": "9.1.2" 56 | } 57 | }, 58 | { 59 | "package": "GoogleSignIn", 60 | "repositoryURL": "https://github.com/google/GoogleSignIn-iOS", 61 | "state": { 62 | "branch": "main", 63 | "revision": "60ca2bfd218ccb194a746a79b41d9d50eb7e3af0", 64 | "version": null 65 | } 66 | }, 67 | { 68 | "package": "GoogleUtilities", 69 | "repositoryURL": "https://github.com/google/GoogleUtilities.git", 70 | "state": { 71 | "branch": null, 72 | "revision": "797005ad8a1f0614063933e2fa010a5d13cb09d0", 73 | "version": "7.6.0" 74 | } 75 | }, 76 | { 77 | "package": "gRPC", 78 | "repositoryURL": "https://github.com/firebase/grpc-SwiftPM.git", 79 | "state": { 80 | "branch": null, 81 | "revision": "fb405dd2c7901485f7e158b24e3a0a47e4efd8b5", 82 | "version": "1.28.4" 83 | } 84 | }, 85 | { 86 | "package": "GTMSessionFetcher", 87 | "repositoryURL": "https://github.com/google/gtm-session-fetcher.git", 88 | "state": { 89 | "branch": null, 90 | "revision": "bc6a19702ac76ac4e488b68148710eb815f9bc56", 91 | "version": "1.7.0" 92 | } 93 | }, 94 | { 95 | "package": "GTMAppAuth", 96 | "repositoryURL": "https://github.com/google/GTMAppAuth.git", 97 | "state": { 98 | "branch": null, 99 | "revision": "40f4103fb52109032c05599a0c39ad43edbdf80a", 100 | "version": "1.2.2" 101 | } 102 | }, 103 | { 104 | "package": "leveldb", 105 | "repositoryURL": "https://github.com/firebase/leveldb.git", 106 | "state": { 107 | "branch": null, 108 | "revision": "0706abcc6b0bd9cedfbb015ba840e4a780b5159b", 109 | "version": "1.22.2" 110 | } 111 | }, 112 | { 113 | "package": "nanopb", 114 | "repositoryURL": "https://github.com/firebase/nanopb.git", 115 | "state": { 116 | "branch": null, 117 | "revision": "7ee9ef9f627d85cbe1b8c4f49a3ed26eed216c77", 118 | "version": "2.30908.0" 119 | } 120 | }, 121 | { 122 | "package": "Promises", 123 | "repositoryURL": "https://github.com/google/promises.git", 124 | "state": { 125 | "branch": null, 126 | "revision": "611337c330350c9c1823ad6d671e7f936af5ee13", 127 | "version": "2.0.0" 128 | } 129 | }, 130 | { 131 | "package": "SwiftProtobuf", 132 | "repositoryURL": "https://github.com/apple/swift-protobuf.git", 133 | "state": { 134 | "branch": null, 135 | "revision": "7e2c5f3cbbeea68e004915e3a8961e20bd11d824", 136 | "version": "1.18.0" 137 | } 138 | } 139 | ] 140 | }, 141 | "version": 1 142 | } 143 | -------------------------------------------------------------------------------- /Ellifit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 52; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0A88A0DA263E62DC00EEAF6E /* EllifitApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A88A0D9263E62DC00EEAF6E /* EllifitApp.swift */; }; 11 | 0A88A0DC263E62DC00EEAF6E /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A88A0DB263E62DC00EEAF6E /* ContentView.swift */; }; 12 | 0A88A0DE263E62DD00EEAF6E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A88A0DD263E62DD00EEAF6E /* Assets.xcassets */; }; 13 | 0A88A0E1263E62DD00EEAF6E /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0A88A0E0263E62DD00EEAF6E /* Preview Assets.xcassets */; }; 14 | 0AA34D4726428EE600C12462 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA34D4626428EE600C12462 /* HomeView.swift */; }; 15 | 0AA34D4926428F1100C12462 /* LoginView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA34D4826428F1100C12462 /* LoginView.swift */; }; 16 | 0AA34D4B26428F5700C12462 /* AuthenticationViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AA34D4A26428F5700C12462 /* AuthenticationViewModel.swift */; }; 17 | 0AFA49762771F1C600678C18 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 0AFA49752771F1C600678C18 /* GoogleService-Info.plist */; }; 18 | 0AFA49792771F52100678C18 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 0AFA49782771F52100678C18 /* FirebaseAuth */; }; 19 | 0AFA497C2771F55D00678C18 /* GoogleSignIn in Frameworks */ = {isa = PBXBuildFile; productRef = 0AFA497B2771F55D00678C18 /* GoogleSignIn */; }; 20 | 0AFA497E277205DD00678C18 /* GoogleSignInButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AFA497D277205DD00678C18 /* GoogleSignInButton.swift */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXFileReference section */ 24 | 0A88A0D6263E62DC00EEAF6E /* Ellifit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Ellifit.app; sourceTree = BUILT_PRODUCTS_DIR; }; 25 | 0A88A0D9263E62DC00EEAF6E /* EllifitApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EllifitApp.swift; sourceTree = ""; }; 26 | 0A88A0DB263E62DC00EEAF6E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 27 | 0A88A0DD263E62DD00EEAF6E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 28 | 0A88A0E0263E62DD00EEAF6E /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 29 | 0A88A0E2263E62DD00EEAF6E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 30 | 0AA34D4626428EE600C12462 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = ""; }; 31 | 0AA34D4826428F1100C12462 /* LoginView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginView.swift; sourceTree = ""; }; 32 | 0AA34D4A26428F5700C12462 /* AuthenticationViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthenticationViewModel.swift; sourceTree = ""; }; 33 | 0AFA49752771F1C600678C18 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 34 | 0AFA497D277205DD00678C18 /* GoogleSignInButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoogleSignInButton.swift; sourceTree = ""; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 0A88A0D3263E62DC00EEAF6E /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | 0AFA49792771F52100678C18 /* FirebaseAuth in Frameworks */, 43 | 0AFA497C2771F55D00678C18 /* GoogleSignIn in Frameworks */, 44 | ); 45 | runOnlyForDeploymentPostprocessing = 0; 46 | }; 47 | /* End PBXFrameworksBuildPhase section */ 48 | 49 | /* Begin PBXGroup section */ 50 | 0A88A0CD263E62DC00EEAF6E = { 51 | isa = PBXGroup; 52 | children = ( 53 | 0A88A0D8263E62DC00EEAF6E /* Ellifit */, 54 | 0A88A0D7263E62DC00EEAF6E /* Products */, 55 | ); 56 | sourceTree = ""; 57 | }; 58 | 0A88A0D7263E62DC00EEAF6E /* Products */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 0A88A0D6263E62DC00EEAF6E /* Ellifit.app */, 62 | ); 63 | name = Products; 64 | sourceTree = ""; 65 | }; 66 | 0A88A0D8263E62DC00EEAF6E /* Ellifit */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 0A88A0D9263E62DC00EEAF6E /* EllifitApp.swift */, 70 | 0AA34D4626428EE600C12462 /* HomeView.swift */, 71 | 0A88A0DB263E62DC00EEAF6E /* ContentView.swift */, 72 | 0AA34D4826428F1100C12462 /* LoginView.swift */, 73 | 0AFA497D277205DD00678C18 /* GoogleSignInButton.swift */, 74 | 0AFA49752771F1C600678C18 /* GoogleService-Info.plist */, 75 | 0AA34D4A26428F5700C12462 /* AuthenticationViewModel.swift */, 76 | 0A88A0DD263E62DD00EEAF6E /* Assets.xcassets */, 77 | 0A88A0E2263E62DD00EEAF6E /* Info.plist */, 78 | 0A88A0DF263E62DD00EEAF6E /* Preview Content */, 79 | ); 80 | path = Ellifit; 81 | sourceTree = ""; 82 | }; 83 | 0A88A0DF263E62DD00EEAF6E /* Preview Content */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 0A88A0E0263E62DD00EEAF6E /* Preview Assets.xcassets */, 87 | ); 88 | path = "Preview Content"; 89 | sourceTree = ""; 90 | }; 91 | /* End PBXGroup section */ 92 | 93 | /* Begin PBXNativeTarget section */ 94 | 0A88A0D5263E62DC00EEAF6E /* Ellifit */ = { 95 | isa = PBXNativeTarget; 96 | buildConfigurationList = 0A88A0E5263E62DD00EEAF6E /* Build configuration list for PBXNativeTarget "Ellifit" */; 97 | buildPhases = ( 98 | 0A88A0D2263E62DC00EEAF6E /* Sources */, 99 | 0A88A0D3263E62DC00EEAF6E /* Frameworks */, 100 | 0A88A0D4263E62DC00EEAF6E /* Resources */, 101 | ); 102 | buildRules = ( 103 | ); 104 | dependencies = ( 105 | ); 106 | name = Ellifit; 107 | packageProductDependencies = ( 108 | 0AFA49782771F52100678C18 /* FirebaseAuth */, 109 | 0AFA497B2771F55D00678C18 /* GoogleSignIn */, 110 | ); 111 | productName = Ellifit; 112 | productReference = 0A88A0D6263E62DC00EEAF6E /* Ellifit.app */; 113 | productType = "com.apple.product-type.application"; 114 | }; 115 | /* End PBXNativeTarget section */ 116 | 117 | /* Begin PBXProject section */ 118 | 0A88A0CE263E62DC00EEAF6E /* Project object */ = { 119 | isa = PBXProject; 120 | attributes = { 121 | LastSwiftUpdateCheck = 1250; 122 | LastUpgradeCheck = 1250; 123 | TargetAttributes = { 124 | 0A88A0D5263E62DC00EEAF6E = { 125 | CreatedOnToolsVersion = 12.5; 126 | }; 127 | }; 128 | }; 129 | buildConfigurationList = 0A88A0D1263E62DC00EEAF6E /* Build configuration list for PBXProject "Ellifit" */; 130 | compatibilityVersion = "Xcode 9.3"; 131 | developmentRegion = en; 132 | hasScannedForEncodings = 0; 133 | knownRegions = ( 134 | en, 135 | Base, 136 | ); 137 | mainGroup = 0A88A0CD263E62DC00EEAF6E; 138 | packageReferences = ( 139 | 0AFA49772771F52100678C18 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, 140 | 0AFA497A2771F55D00678C18 /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */, 141 | ); 142 | productRefGroup = 0A88A0D7263E62DC00EEAF6E /* Products */; 143 | projectDirPath = ""; 144 | projectRoot = ""; 145 | targets = ( 146 | 0A88A0D5263E62DC00EEAF6E /* Ellifit */, 147 | ); 148 | }; 149 | /* End PBXProject section */ 150 | 151 | /* Begin PBXResourcesBuildPhase section */ 152 | 0A88A0D4263E62DC00EEAF6E /* Resources */ = { 153 | isa = PBXResourcesBuildPhase; 154 | buildActionMask = 2147483647; 155 | files = ( 156 | 0A88A0E1263E62DD00EEAF6E /* Preview Assets.xcassets in Resources */, 157 | 0A88A0DE263E62DD00EEAF6E /* Assets.xcassets in Resources */, 158 | 0AFA49762771F1C600678C18 /* GoogleService-Info.plist in Resources */, 159 | ); 160 | runOnlyForDeploymentPostprocessing = 0; 161 | }; 162 | /* End PBXResourcesBuildPhase section */ 163 | 164 | /* Begin PBXSourcesBuildPhase section */ 165 | 0A88A0D2263E62DC00EEAF6E /* Sources */ = { 166 | isa = PBXSourcesBuildPhase; 167 | buildActionMask = 2147483647; 168 | files = ( 169 | 0AA34D4726428EE600C12462 /* HomeView.swift in Sources */, 170 | 0AA34D4B26428F5700C12462 /* AuthenticationViewModel.swift in Sources */, 171 | 0A88A0DC263E62DC00EEAF6E /* ContentView.swift in Sources */, 172 | 0AA34D4926428F1100C12462 /* LoginView.swift in Sources */, 173 | 0AFA497E277205DD00678C18 /* GoogleSignInButton.swift in Sources */, 174 | 0A88A0DA263E62DC00EEAF6E /* EllifitApp.swift in Sources */, 175 | ); 176 | runOnlyForDeploymentPostprocessing = 0; 177 | }; 178 | /* End PBXSourcesBuildPhase section */ 179 | 180 | /* Begin XCBuildConfiguration section */ 181 | 0A88A0E3263E62DD00EEAF6E /* Debug */ = { 182 | isa = XCBuildConfiguration; 183 | buildSettings = { 184 | ALWAYS_SEARCH_USER_PATHS = NO; 185 | CLANG_ANALYZER_NONNULL = YES; 186 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 187 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 188 | CLANG_CXX_LIBRARY = "libc++"; 189 | CLANG_ENABLE_MODULES = YES; 190 | CLANG_ENABLE_OBJC_ARC = YES; 191 | CLANG_ENABLE_OBJC_WEAK = YES; 192 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 193 | CLANG_WARN_BOOL_CONVERSION = YES; 194 | CLANG_WARN_COMMA = YES; 195 | CLANG_WARN_CONSTANT_CONVERSION = YES; 196 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 197 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 198 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 199 | CLANG_WARN_EMPTY_BODY = YES; 200 | CLANG_WARN_ENUM_CONVERSION = YES; 201 | CLANG_WARN_INFINITE_RECURSION = YES; 202 | CLANG_WARN_INT_CONVERSION = YES; 203 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 204 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 205 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 206 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 207 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 208 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 209 | CLANG_WARN_STRICT_PROTOTYPES = YES; 210 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 211 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 212 | CLANG_WARN_UNREACHABLE_CODE = YES; 213 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 214 | COPY_PHASE_STRIP = NO; 215 | DEBUG_INFORMATION_FORMAT = dwarf; 216 | ENABLE_STRICT_OBJC_MSGSEND = YES; 217 | ENABLE_TESTABILITY = YES; 218 | GCC_C_LANGUAGE_STANDARD = gnu11; 219 | GCC_DYNAMIC_NO_PIC = NO; 220 | GCC_NO_COMMON_BLOCKS = YES; 221 | GCC_OPTIMIZATION_LEVEL = 0; 222 | GCC_PREPROCESSOR_DEFINITIONS = ( 223 | "DEBUG=1", 224 | "$(inherited)", 225 | ); 226 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 227 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 228 | GCC_WARN_UNDECLARED_SELECTOR = YES; 229 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 230 | GCC_WARN_UNUSED_FUNCTION = YES; 231 | GCC_WARN_UNUSED_VARIABLE = YES; 232 | IPHONEOS_DEPLOYMENT_TARGET = 14.0; 233 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 234 | MTL_FAST_MATH = YES; 235 | ONLY_ACTIVE_ARCH = YES; 236 | SDKROOT = iphoneos; 237 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 238 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 239 | }; 240 | name = Debug; 241 | }; 242 | 0A88A0E4263E62DD00EEAF6E /* Release */ = { 243 | isa = XCBuildConfiguration; 244 | buildSettings = { 245 | ALWAYS_SEARCH_USER_PATHS = NO; 246 | CLANG_ANALYZER_NONNULL = YES; 247 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 248 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 249 | CLANG_CXX_LIBRARY = "libc++"; 250 | CLANG_ENABLE_MODULES = YES; 251 | CLANG_ENABLE_OBJC_ARC = YES; 252 | CLANG_ENABLE_OBJC_WEAK = YES; 253 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 254 | CLANG_WARN_BOOL_CONVERSION = YES; 255 | CLANG_WARN_COMMA = YES; 256 | CLANG_WARN_CONSTANT_CONVERSION = YES; 257 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 258 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 259 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 260 | CLANG_WARN_EMPTY_BODY = YES; 261 | CLANG_WARN_ENUM_CONVERSION = YES; 262 | CLANG_WARN_INFINITE_RECURSION = YES; 263 | CLANG_WARN_INT_CONVERSION = YES; 264 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 265 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 266 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 267 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 268 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 269 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 270 | CLANG_WARN_STRICT_PROTOTYPES = YES; 271 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 272 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 273 | CLANG_WARN_UNREACHABLE_CODE = YES; 274 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 275 | COPY_PHASE_STRIP = NO; 276 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 277 | ENABLE_NS_ASSERTIONS = NO; 278 | ENABLE_STRICT_OBJC_MSGSEND = YES; 279 | GCC_C_LANGUAGE_STANDARD = gnu11; 280 | GCC_NO_COMMON_BLOCKS = YES; 281 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 282 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 283 | GCC_WARN_UNDECLARED_SELECTOR = YES; 284 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 285 | GCC_WARN_UNUSED_FUNCTION = YES; 286 | GCC_WARN_UNUSED_VARIABLE = YES; 287 | IPHONEOS_DEPLOYMENT_TARGET = 14.0; 288 | MTL_ENABLE_DEBUG_INFO = NO; 289 | MTL_FAST_MATH = YES; 290 | SDKROOT = iphoneos; 291 | SWIFT_COMPILATION_MODE = wholemodule; 292 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 293 | VALIDATE_PRODUCT = YES; 294 | }; 295 | name = Release; 296 | }; 297 | 0A88A0E6263E62DD00EEAF6E /* Debug */ = { 298 | isa = XCBuildConfiguration; 299 | buildSettings = { 300 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 301 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 302 | CODE_SIGN_STYLE = Automatic; 303 | DEVELOPMENT_ASSET_PATHS = "\"Ellifit/Preview Content\""; 304 | DEVELOPMENT_TEAM = YQZQG7N4WG; 305 | ENABLE_PREVIEWS = YES; 306 | INFOPLIST_FILE = Ellifit/Info.plist; 307 | IPHONEOS_DEPLOYMENT_TARGET = 14.0; 308 | LD_RUNPATH_SEARCH_PATHS = ( 309 | "$(inherited)", 310 | "@executable_path/Frameworks", 311 | ); 312 | PRODUCT_BUNDLE_IDENTIFIER = com.rudrankriyam.Ellifit; 313 | PRODUCT_NAME = "$(TARGET_NAME)"; 314 | SWIFT_VERSION = 5.0; 315 | TARGETED_DEVICE_FAMILY = "1,2"; 316 | }; 317 | name = Debug; 318 | }; 319 | 0A88A0E7263E62DD00EEAF6E /* Release */ = { 320 | isa = XCBuildConfiguration; 321 | buildSettings = { 322 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 323 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 324 | CODE_SIGN_STYLE = Automatic; 325 | DEVELOPMENT_ASSET_PATHS = "\"Ellifit/Preview Content\""; 326 | DEVELOPMENT_TEAM = YQZQG7N4WG; 327 | ENABLE_PREVIEWS = YES; 328 | INFOPLIST_FILE = Ellifit/Info.plist; 329 | IPHONEOS_DEPLOYMENT_TARGET = 14.0; 330 | LD_RUNPATH_SEARCH_PATHS = ( 331 | "$(inherited)", 332 | "@executable_path/Frameworks", 333 | ); 334 | PRODUCT_BUNDLE_IDENTIFIER = com.rudrankriyam.Ellifit; 335 | PRODUCT_NAME = "$(TARGET_NAME)"; 336 | SWIFT_VERSION = 5.0; 337 | TARGETED_DEVICE_FAMILY = "1,2"; 338 | }; 339 | name = Release; 340 | }; 341 | /* End XCBuildConfiguration section */ 342 | 343 | /* Begin XCConfigurationList section */ 344 | 0A88A0D1263E62DC00EEAF6E /* Build configuration list for PBXProject "Ellifit" */ = { 345 | isa = XCConfigurationList; 346 | buildConfigurations = ( 347 | 0A88A0E3263E62DD00EEAF6E /* Debug */, 348 | 0A88A0E4263E62DD00EEAF6E /* Release */, 349 | ); 350 | defaultConfigurationIsVisible = 0; 351 | defaultConfigurationName = Release; 352 | }; 353 | 0A88A0E5263E62DD00EEAF6E /* Build configuration list for PBXNativeTarget "Ellifit" */ = { 354 | isa = XCConfigurationList; 355 | buildConfigurations = ( 356 | 0A88A0E6263E62DD00EEAF6E /* Debug */, 357 | 0A88A0E7263E62DD00EEAF6E /* Release */, 358 | ); 359 | defaultConfigurationIsVisible = 0; 360 | defaultConfigurationName = Release; 361 | }; 362 | /* End XCConfigurationList section */ 363 | 364 | /* Begin XCRemoteSwiftPackageReference section */ 365 | 0AFA49772771F52100678C18 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { 366 | isa = XCRemoteSwiftPackageReference; 367 | repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; 368 | requirement = { 369 | branch = master; 370 | kind = branch; 371 | }; 372 | }; 373 | 0AFA497A2771F55D00678C18 /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */ = { 374 | isa = XCRemoteSwiftPackageReference; 375 | repositoryURL = "https://github.com/google/GoogleSignIn-iOS"; 376 | requirement = { 377 | branch = main; 378 | kind = branch; 379 | }; 380 | }; 381 | /* End XCRemoteSwiftPackageReference section */ 382 | 383 | /* Begin XCSwiftPackageProductDependency section */ 384 | 0AFA49782771F52100678C18 /* FirebaseAuth */ = { 385 | isa = XCSwiftPackageProductDependency; 386 | package = 0AFA49772771F52100678C18 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; 387 | productName = FirebaseAuth; 388 | }; 389 | 0AFA497B2771F55D00678C18 /* GoogleSignIn */ = { 390 | isa = XCSwiftPackageProductDependency; 391 | package = 0AFA497A2771F55D00678C18 /* XCRemoteSwiftPackageReference "GoogleSignIn-iOS" */; 392 | productName = GoogleSignIn; 393 | }; 394 | /* End XCSwiftPackageProductDependency section */ 395 | }; 396 | rootObject = 0A88A0CE263E62DC00EEAF6E /* Project object */; 397 | } 398 | --------------------------------------------------------------------------------