diff --git a/.github/workflows/appcheck.yml b/.github/workflows/appcheck.yml new file mode 100644 index 00000000..e1db0f5a --- /dev/null +++ b/.github/workflows/appcheck.yml @@ -0,0 +1,41 @@ +on: + pull_request: + paths: + - 'appcheck/**' + - '.github/workflows/appcheck.yml' +name: App Check +jobs: + swift-build: + name: Swift build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build Swift snippets + run: | + cd appcheck + xcodebuild -project AppCheckSnippets.xcodeproj clean build -scheme AppCheckSnippetsSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} + objc-build: + name: ObjC build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build ObjC snippets + run: | + cd appcheck + xcodebuild -project AppCheckSnippets.xcodeproj clean build -scheme AppCheckSnippetsObjC -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index f32d8aba..644f018c 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -10,15 +10,16 @@ jobs: runs-on: macOS-latest strategy: matrix: - destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11'] + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] steps: - name: Checkout uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify - name: Build Swift snippets run: | cp .github/GoogleService-Info-CI.plist firoptions/FiroptionConfiguration/GoogleService-Info.plist cd firoptions - pod install --repo-update - xcodebuild -workspace FiroptionConfiguration.xcworkspace clean build -scheme FiroptionConfiguration -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO + xcodebuild -project FiroptionConfiguration.xcodeproj clean build -scheme FiroptionConfiguration -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions env: destination: ${{ matrix.destination }} diff --git a/.github/workflows/crashlytics.yml b/.github/workflows/crashlytics.yml new file mode 100644 index 00000000..4c3b982e --- /dev/null +++ b/.github/workflows/crashlytics.yml @@ -0,0 +1,41 @@ +on: + pull_request: + paths: + - 'crashlytics/**' + - '.github/workflows/crashlytics.yml' +name: Crashlytics +jobs: + swift-build: + name: Swift build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build Swift snippets + run: | + cd crashlytics + xcodebuild -project CrashlyticsExample.xcodeproj clean build -scheme CrashlyticsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} + objc-build: + name: ObjC build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build ObjC snippets + run: | + cd crashlytics + xcodebuild -project CrashlyticsExample.xcodeproj clean build -scheme CrashlyticsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml new file mode 100644 index 00000000..fe3f424c --- /dev/null +++ b/.github/workflows/database.yml @@ -0,0 +1,24 @@ +on: + pull_request: + paths: + - 'database/**' + - '.github/workflows/database.yml' +name: Database +jobs: + swift-build: + name: Build combined snippets + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build snippets + run: | + cd database + xcodebuild -project DatabaseReference.xcodeproj clean build -scheme DatabaseReference -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/firestore.yml b/.github/workflows/firestore.yml index 30b3e1ed..37d9f810 100644 --- a/.github/workflows/firestore.yml +++ b/.github/workflows/firestore.yml @@ -10,16 +10,17 @@ jobs: runs-on: macOS-latest strategy: matrix: - destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11'] + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] steps: - name: Checkout uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify - name: Build Swift snippets run: | cp .github/GoogleService-Info-CI.plist firestore/swift/firestore-smoketest/GoogleService-Info.plist cd firestore/swift - pod install --repo-update - xcodebuild -workspace firestore-smoketest.xcworkspace clean build -scheme firestore-smoketest -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO + xcodebuild -project firestore-smoketest.xcodeproj clean build -scheme firestore-smoketest -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions env: destination: ${{ matrix.destination }} objc-build: @@ -27,15 +28,16 @@ jobs: runs-on: macOS-latest strategy: matrix: - destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11'] + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] steps: - name: Checkout uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify - name: Build ObjC snippets run: | cp .github/GoogleService-Info-CI.plist firestore/objc/GoogleService-Info.plist cd firestore/objc - pod install --repo-update - xcodebuild -workspace firestore-smoketest-objc.xcworkspace clean build -scheme firestore-smoketest-objc -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO + xcodebuild -project firestore-smoketest-objc.xcodeproj clean build -scheme firestore-smoketest-objc -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions env: destination: ${{ matrix.destination }} diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.yml new file mode 100644 index 00000000..fe0cd5e3 --- /dev/null +++ b/.github/workflows/functions.yml @@ -0,0 +1,41 @@ +on: + pull_request: + paths: + - 'functions/**' + - '.github/workflows/functions.yml' +name: Functions +jobs: + swift-build: + name: Swift build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build Swift snippets + run: | + cd functions + xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} + objc-build: + name: ObjC build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build ObjC snippets + run: | + cd functions + xcodebuild -project FunctionsExample.xcodeproj clean build -scheme FunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/installations.yml b/.github/workflows/installations.yml index 368fd7a8..8286a823 100644 --- a/.github/workflows/installations.yml +++ b/.github/workflows/installations.yml @@ -10,14 +10,15 @@ jobs: runs-on: macOS-latest strategy: matrix: - destination: ['platform=iOS Simulator,OS=latest,name=iPhone 11'] + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] steps: - name: Checkout uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify - name: Build Swift snippets run: | cd installations/ - pod install --repo-update - xcodebuild -workspace InstallationsSnippets.xcworkspace clean build -scheme InstallationsSnippets -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO + xcodebuild -project InstallationsSnippets.xcodeproj clean build -scheme InstallationsSnippets -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions env: destination: ${{ matrix.destination }} \ No newline at end of file diff --git a/.github/workflows/ml-functions.yml b/.github/workflows/ml-functions.yml new file mode 100644 index 00000000..f28a921d --- /dev/null +++ b/.github/workflows/ml-functions.yml @@ -0,0 +1,41 @@ +on: + pull_request: + paths: + - 'ml-functions/**' + - '.github/workflows/ml-functions.yml' +name: Functions (ML) +jobs: + swift-build: + name: Swift build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build Swift snippets + run: | + cd ml-functions + xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExampleSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} + objc-build: + name: ObjC build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build ObjC snippets + run: | + cd ml-functions + xcodebuild -project MLFunctionsExample.xcodeproj clean build -scheme MLFunctionsExample -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/storage.yml b/.github/workflows/storage.yml new file mode 100644 index 00000000..73949ab2 --- /dev/null +++ b/.github/workflows/storage.yml @@ -0,0 +1,43 @@ +on: + pull_request: + paths: + - 'storage/**' + - '.github/workflows/storage.yml' +name: Storage +jobs: + swift-build: + name: Swift build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build Swift snippets + run: | + sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer + cd storage + xcodebuild -project StorageReference.xcodeproj clean build -scheme StorageReferenceSwift -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} + objc-build: + name: ObjC build + runs-on: macOS-latest + strategy: + matrix: + destination: ['platform=iOS Simulator,OS=latest,name=iPhone 16'] + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify + - name: Build ObjC snippets + run: | + sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer + cd storage + xcodebuild -project StorageReference.xcodeproj clean build -scheme StorageReference -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions + env: + destination: ${{ matrix.destination }} diff --git a/.github/workflows/vertexai.yml b/.github/workflows/vertexai.yml index f5757908..30b61ab6 100644 --- a/.github/workflows/vertexai.yml +++ b/.github/workflows/vertexai.yml @@ -14,9 +14,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@master + - name: Install deps + run: brew install xcbeautify - name: Build Swift snippets run: | cd vertexai - xcodebuild -project VertexAISnippets.xcodeproj -scheme VertexAISnippets clean build -destination "${destination}" CODE_SIGNING_REQUIRED=NO + xcodebuild -project VertexAISnippets.xcodeproj -scheme VertexAISnippets clean build -destination "${destination}" CODE_SIGNING_REQUIRED=NO | xcbeautify --renderer github-actions env: destination: ${{ matrix.destination }} diff --git a/appcheck/AppCheckSnippets.xcodeproj/project.pbxproj b/appcheck/AppCheckSnippets.xcodeproj/project.pbxproj index 0322fab4..319930a4 100644 --- a/appcheck/AppCheckSnippets.xcodeproj/project.pbxproj +++ b/appcheck/AppCheckSnippets.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -24,6 +24,10 @@ 4265C3BC26AF775A00BD1DB2 /* AppAttestProviderFactories.m in Sources */ = {isa = PBXBuildFile; fileRef = 4265C3BB26AF775A00BD1DB2 /* AppAttestProviderFactories.m */; }; 4265C3BE26AF7A6600BD1DB2 /* YourCustomAppCheckProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4265C3BD26AF7A6600BD1DB2 /* YourCustomAppCheckProvider.swift */; }; 4265C3C026AF7A7E00BD1DB2 /* YourCustomAppCheckProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 4265C3BF26AF7A7E00BD1DB2 /* YourCustomAppCheckProvider.m */; }; + 8D7726082D2874A100537A0B /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726072D2874A100537A0B /* FirebaseAppCheck */; }; + 8D77260A2D2874A100537A0B /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726092D2874A100537A0B /* FirebaseCore */; }; + 8D77260D2D2874BA00537A0B /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 8D77260C2D2874BA00537A0B /* FirebaseAppCheck */; }; + 8D77260F2D2874BA00537A0B /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D77260E2D2874BA00537A0B /* FirebaseCore */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -58,6 +62,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D77260A2D2874A100537A0B /* FirebaseCore in Frameworks */, + 8D7726082D2874A100537A0B /* FirebaseAppCheck in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -65,19 +71,14 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D77260F2D2874BA00537A0B /* FirebaseCore in Frameworks */, + 8D77260D2D2874BA00537A0B /* FirebaseAppCheck in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 37860BEBF061B43F7FE74ABB /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; 4265C38826AF71E100BD1DB2 /* Products */ = { isa = PBXGroup; children = ( @@ -128,11 +129,18 @@ children = ( 4265C38926AF71E100BD1DB2 /* AppCheckSnippetsObjC */, 4265C3A626AF723800BD1DB2 /* AppCheckSnippetsSwift */, + 8D77260B2D2874BA00537A0B /* Frameworks */, 4265C38826AF71E100BD1DB2 /* Products */, - 37860BEBF061B43F7FE74ABB /* Pods */, ); sourceTree = ""; }; + 8D77260B2D2874BA00537A0B /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -196,6 +204,9 @@ Base, ); mainGroup = 42A83E6D26AF6E5C00097CA3; + packageReferences = ( + 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 4265C38826AF71E100BD1DB2 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -610,6 +621,40 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7726072D2874A100537A0B /* FirebaseAppCheck */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAppCheck; + }; + 8D7726092D2874A100537A0B /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; + 8D77260C2D2874BA00537A0B /* FirebaseAppCheck */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAppCheck; + }; + 8D77260E2D2874BA00537A0B /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726062D2874A100537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 42A83E6E26AF6E5C00097CA3 /* Project object */; } diff --git a/appcheck/Podfile b/appcheck/Podfile deleted file mode 100644 index 17e30745..00000000 --- a/appcheck/Podfile +++ /dev/null @@ -1,20 +0,0 @@ -# Uncomment the next line to define a global platform for your project -platform :ios, '14.0' - -target 'AppCheckSnippetsObjC' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - # Pods for AppCheckSnippetsObjC - pod 'Firebase/AppCheck' - -end - -target 'AppCheckSnippetsSwift' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - # Pods for AppCheckSnippetsSwift - pod 'Firebase/AppCheck' - -end diff --git a/appcheck/Podfile.lock b/appcheck/Podfile.lock deleted file mode 100644 index 8459833a..00000000 --- a/appcheck/Podfile.lock +++ /dev/null @@ -1,60 +0,0 @@ -PODS: - - AppCheckCore (10.18.1): - - GoogleUtilities/Environment (~> 7.11) - - PromisesObjC (~> 2.3) - - Firebase/AppCheck (10.23.1): - - Firebase/CoreOnly - - FirebaseAppCheck (~> 10.23.0) - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - FirebaseAppCheck (10.23.0): - - AppCheckCore (~> 10.18) - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - PromisesObjC (~> 2.1) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - PromisesObjC (2.4.0) - -DEPENDENCIES: - - Firebase/AppCheck - -SPEC REPOS: - trunk: - - AppCheckCore - - Firebase - - FirebaseAppCheck - - FirebaseAppCheckInterop - - FirebaseCore - - FirebaseCoreInternal - - GoogleUtilities - - PromisesObjC - -SPEC CHECKSUMS: - AppCheckCore: d0d4bcb6f90fd9f69958da5350467b79026b38c7 - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseAppCheck: 4bb8047366c2c975583c9eff94235f8f2c5b342d - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - -PODFILE CHECKSUM: 3f5fe9faa57008d6327228db502ed5519ccd4918 - -COCOAPODS: 1.15.2 diff --git a/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj b/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj index 8bda94e4..7c014915 100644 --- a/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj +++ b/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj @@ -3,10 +3,14 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 8D7726132D2876F400537A0B /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726122D2876F400537A0B /* FirebaseCore */; }; + 8D7726152D2876F400537A0B /* FirebaseCrashlytics in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726142D2876F400537A0B /* FirebaseCrashlytics */; }; + 8D7726172D2876FB00537A0B /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726162D2876FB00537A0B /* FirebaseCore */; }; + 8D7726192D2876FB00537A0B /* FirebaseCrashlytics in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7726182D2876FB00537A0B /* FirebaseCrashlytics */; }; 8D8FA34322F4CAB100213E06 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34222F4CAB100213E06 /* AppDelegate.m */; }; 8D8FA34622F4CAB100213E06 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34522F4CAB100213E06 /* ViewController.m */; }; 8D8FA34922F4CAB100213E06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D8FA34722F4CAB100213E06 /* Main.storyboard */; }; @@ -45,6 +49,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7726132D2876F400537A0B /* FirebaseCore in Frameworks */, + 8D7726152D2876F400537A0B /* FirebaseCrashlytics in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -52,19 +58,28 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7726172D2876FB00537A0B /* FirebaseCore in Frameworks */, + 8D7726192D2876FB00537A0B /* FirebaseCrashlytics in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8D7726112D2876F400537A0B /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; 8D8FA33522F4CAB100213E06 = { isa = PBXGroup; children = ( 8D8FA34022F4CAB100213E06 /* CrashlyticsExample */, 8D8FA35C22F4CAF700213E06 /* CrashlyticsExampleSwift */, + 8D7726112D2876F400537A0B /* Frameworks */, 8D8FA33F22F4CAB100213E06 /* Products */, - E21099940C3416ACBB0EB9EC /* Pods */, ); sourceTree = ""; }; @@ -106,13 +121,6 @@ path = CrashlyticsExampleSwift; sourceTree = ""; }; - E21099940C3416ACBB0EB9EC /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -177,6 +185,9 @@ Base, ); mainGroup = 8D8FA33522F4CAB100213E06; + packageReferences = ( + 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8D8FA33F22F4CAB100213E06 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -484,6 +495,40 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7726122D2876F400537A0B /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; + 8D7726142D2876F400537A0B /* FirebaseCrashlytics */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCrashlytics; + }; + 8D7726162D2876FB00537A0B /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; + 8D7726182D2876FB00537A0B /* FirebaseCrashlytics */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7726102D2876EB00537A0B /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCrashlytics; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8D8FA33622F4CAB100213E06 /* Project object */; } diff --git a/crashlytics/Podfile b/crashlytics/Podfile deleted file mode 100644 index 367b5dd1..00000000 --- a/crashlytics/Podfile +++ /dev/null @@ -1,18 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'CrashlyticsExample' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Crashlytics' - -end - -target 'CrashlyticsExampleSwift' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Crashlytics' - -end diff --git a/crashlytics/Podfile.lock b/crashlytics/Podfile.lock deleted file mode 100644 index 4025ee5f..00000000 --- a/crashlytics/Podfile.lock +++ /dev/null @@ -1,99 +0,0 @@ -PODS: - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - Firebase/Crashlytics (10.23.1): - - Firebase/CoreOnly - - FirebaseCrashlytics (~> 10.23.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseCrashlytics (10.23.0): - - FirebaseCore (~> 10.5) - - FirebaseInstallations (~> 10.0) - - FirebaseRemoteConfigInterop (~> 10.23) - - FirebaseSessions (~> 10.5) - - GoogleDataTransport (~> 9.2) - - GoogleUtilities/Environment (~> 7.8) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (~> 2.1) - - FirebaseInstallations (10.23.0): - - FirebaseCore (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - GoogleUtilities/UserDefaults (~> 7.8) - - PromisesObjC (~> 2.1) - - FirebaseRemoteConfigInterop (10.23.0) - - FirebaseSessions (10.23.0): - - FirebaseCore (~> 10.5) - - FirebaseCoreExtension (~> 10.0) - - FirebaseInstallations (~> 10.0) - - GoogleDataTransport (~> 9.2) - - GoogleUtilities/Environment (~> 7.10) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesSwift (~> 2.1) - - GoogleDataTransport (9.4.1): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/UserDefaults (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - nanopb (2.30910.0): - - nanopb/decode (= 2.30910.0) - - nanopb/encode (= 2.30910.0) - - nanopb/decode (2.30910.0) - - nanopb/encode (2.30910.0) - - PromisesObjC (2.4.0) - - PromisesSwift (2.4.0): - - PromisesObjC (= 2.4.0) - -DEPENDENCIES: - - Firebase/Crashlytics - -SPEC REPOS: - trunk: - - Firebase - - FirebaseCore - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseCrashlytics - - FirebaseInstallations - - FirebaseRemoteConfigInterop - - FirebaseSessions - - GoogleDataTransport - - GoogleUtilities - - nanopb - - PromisesObjC - - PromisesSwift - -SPEC CHECKSUMS: - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseCrashlytics: b7aca2d52dd2440257a13741d2909ad80745ac6c - FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35 - FirebaseRemoteConfigInterop: cbc87ffa4932719a7911a08e94510f18f026f5a7 - FirebaseSessions: f06853e30f99fe42aa511014d7ee6c8c319f08a3 - GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - nanopb: 438bc412db1928dac798aa6fd75726007be04262 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 - -PODFILE CHECKSUM: 7d7fc01886b20bf15f0faadc1d61966683471571 - -COCOAPODS: 1.15.2 diff --git a/database/swift.xcodeproj/project.pbxproj b/database/DatabaseReference.xcodeproj/project.pbxproj similarity index 87% rename from database/swift.xcodeproj/project.pbxproj rename to database/DatabaseReference.xcodeproj/project.pbxproj index 1a9f6e34..f4c85ed6 100644 --- a/database/swift.xcodeproj/project.pbxproj +++ b/database/DatabaseReference.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -11,6 +11,8 @@ 8D19B3751EA7D49400451CA7 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D19B3731EA7D49400451CA7 /* ViewController.m */; }; 8D19B3781EA7D4A300451CA7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D19B3761EA7D4A300451CA7 /* AppDelegate.swift */; }; 8D19B3791EA7D4A300451CA7 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D19B3771EA7D4A300451CA7 /* ViewController.swift */; }; + 8D474FD62D28A9CF000B5C38 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 8D474FD52D28A9CF000B5C38 /* FirebaseAuth */; }; + 8D474FD82D28A9CF000B5C38 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = 8D474FD72D28A9CF000B5C38 /* FirebaseDatabase */; }; 8DDD574C1EA6D39D00DD14EB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DDD574A1EA6D39D00DD14EB /* Main.storyboard */; }; 8DDD574E1EA6D39D00DD14EB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DDD574D1EA6D39D00DD14EB /* Assets.xcassets */; }; 8DDD57511EA6D39D00DD14EB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DDD574F1EA6D39D00DD14EB /* LaunchScreen.storyboard */; }; @@ -35,12 +37,21 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D474FD82D28A9CF000B5C38 /* FirebaseDatabase in Frameworks */, + 8D474FD62D28A9CF000B5C38 /* FirebaseAuth in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8D474FD42D28A9CF000B5C38 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; 8D5CA1551EA6D5490024095C /* ObjC */ = { isa = PBXGroup; children = ( @@ -65,8 +76,8 @@ isa = PBXGroup; children = ( 8DDD57451EA6D39D00DD14EB /* DatabaseReference */, + 8D474FD42D28A9CF000B5C38 /* Frameworks */, 8DDD57441EA6D39D00DD14EB /* Products */, - D8F966BF59E6A1509FCBF383 /* Pods */, ); sourceTree = ""; }; @@ -91,13 +102,6 @@ path = DatabaseReference; sourceTree = ""; }; - D8F966BF59E6A1509FCBF383 /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -135,7 +139,7 @@ }; }; }; - buildConfigurationList = 8DDD573E1EA6D39D00DD14EB /* Build configuration list for PBXProject "swift" */; + buildConfigurationList = 8DDD573E1EA6D39D00DD14EB /* Build configuration list for PBXProject "DatabaseReference" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -145,6 +149,9 @@ Base, ); mainGroup = 8DDD573A1EA6D39D00DD14EB; + packageReferences = ( + 8D474FD32D28A9C3000B5C38 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8DDD57441EA6D39D00DD14EB /* Products */; projectDirPath = ""; projectRoot = ""; @@ -291,7 +298,8 @@ IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; @@ -305,7 +313,10 @@ CLANG_ENABLE_MODULES = YES; INFOPLIST_FILE = DatabaseReference/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.DatabaseReference; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = ""; @@ -321,7 +332,10 @@ CLANG_ENABLE_MODULES = YES; INFOPLIST_FILE = DatabaseReference/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.DatabaseReference; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = ""; @@ -332,7 +346,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 8DDD573E1EA6D39D00DD14EB /* Build configuration list for PBXProject "swift" */ = { + 8DDD573E1EA6D39D00DD14EB /* Build configuration list for PBXProject "DatabaseReference" */ = { isa = XCConfigurationList; buildConfigurations = ( 8DDD575E1EA6D39D00DD14EB /* Debug */, @@ -351,6 +365,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D474FD32D28A9C3000B5C38 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D474FD52D28A9CF000B5C38 /* FirebaseAuth */ = { + isa = XCSwiftPackageProductDependency; + package = 8D474FD32D28A9C3000B5C38 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAuth; + }; + 8D474FD72D28A9CF000B5C38 /* FirebaseDatabase */ = { + isa = XCSwiftPackageProductDependency; + package = 8D474FD32D28A9C3000B5C38 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseDatabase; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8DDD573B1EA6D39D00DD14EB /* Project object */; } diff --git a/database/DatabaseReference.xcworkspace/contents.xcworkspacedata b/database/DatabaseReference.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index b4e48b12..00000000 --- a/database/DatabaseReference.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/database/Podfile b/database/Podfile deleted file mode 100644 index 4b798581..00000000 --- a/database/Podfile +++ /dev/null @@ -1,8 +0,0 @@ -# Firebase Database ReferenceCode -use_frameworks! -platform :ios, '15.0' -pod 'Firebase/Database' -pod 'Firebase/Auth' - -target 'DatabaseReference' do -end diff --git a/database/Podfile.lock b/database/Podfile.lock deleted file mode 100644 index e6b5d88f..00000000 --- a/database/Podfile.lock +++ /dev/null @@ -1,92 +0,0 @@ -PODS: - - Firebase/Auth (10.23.1): - - Firebase/CoreOnly - - FirebaseAuth (~> 10.23.0) - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - Firebase/Database (10.23.1): - - Firebase/CoreOnly - - FirebaseDatabase (~> 10.23.0) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseAuth (10.23.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/Environment (~> 7.8) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - RecaptchaInterop (~> 100.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseDatabase (10.23.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - FirebaseSharedSwift (~> 10.0) - - leveldb-library (~> 1.22) - - FirebaseSharedSwift (10.23.0) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Logger - - GoogleUtilities/Network - - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): - - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib" - - GoogleUtilities/Privacy - - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - GTMSessionFetcher/Core (3.3.2) - - leveldb-library (1.22.4) - - PromisesObjC (2.4.0) - - RecaptchaInterop (100.0.0) - -DEPENDENCIES: - - Firebase/Auth - - Firebase/Database - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAppCheckInterop - - FirebaseAuth - - FirebaseCore - - FirebaseCoreInternal - - FirebaseDatabase - - FirebaseSharedSwift - - GoogleUtilities - - GTMSessionFetcher - - leveldb-library - - PromisesObjC - - RecaptchaInterop - -SPEC CHECKSUMS: - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseAuth: 22eb85d3853141de7062bfabc131aa7d6335cade - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseDatabase: 50f243af7bbf3c7d50faf355b963b1502049d5c5 - FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - GTMSessionFetcher: 0e876eea9782ec6462e91ab872711c357322c94f - leveldb-library: 06a69cc7582d64b29424a63e085e683cc188230a - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21 - -PODFILE CHECKSUM: 95de9d338e0f7c83f15f24ace0b99af6e6450cce - -COCOAPODS: 1.15.2 diff --git a/firestore/objc/Podfile b/firestore/objc/Podfile deleted file mode 100644 index f2e737a5..00000000 --- a/firestore/objc/Podfile +++ /dev/null @@ -1,17 +0,0 @@ -# Uncomment the next line to define a global platform for your project -platform :ios, '12.0' - -target 'firestore-smoketest-objc' do - - use_frameworks! - - # Pods for firestore-smoketest - pod 'FirebaseAuth' - pod 'FirebaseFirestore' - - target 'firestore-smoketest-objcTests' do - inherit! :search_paths - # Pods for testing - end - -end diff --git a/firestore/objc/Podfile.lock b/firestore/objc/Podfile.lock deleted file mode 100644 index 05e96f48..00000000 --- a/firestore/objc/Podfile.lock +++ /dev/null @@ -1,1018 +0,0 @@ -PODS: - - abseil/algorithm (1.20240116.1): - - abseil/algorithm/algorithm (= 1.20240116.1) - - abseil/algorithm/container (= 1.20240116.1) - - abseil/algorithm/algorithm (1.20240116.1): - - abseil/base/config - - abseil/algorithm/container (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/nullability - - abseil/meta/type_traits - - abseil/base (1.20240116.1): - - abseil/base/atomic_hook (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/base_internal (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/base/cycleclock_internal (= 1.20240116.1) - - abseil/base/dynamic_annotations (= 1.20240116.1) - - abseil/base/endian (= 1.20240116.1) - - abseil/base/errno_saver (= 1.20240116.1) - - abseil/base/fast_type_id (= 1.20240116.1) - - abseil/base/log_severity (= 1.20240116.1) - - abseil/base/malloc_internal (= 1.20240116.1) - - abseil/base/no_destructor (= 1.20240116.1) - - abseil/base/nullability (= 1.20240116.1) - - abseil/base/prefetch (= 1.20240116.1) - - abseil/base/pretty_function (= 1.20240116.1) - - abseil/base/raw_logging_internal (= 1.20240116.1) - - abseil/base/spinlock_wait (= 1.20240116.1) - - abseil/base/strerror (= 1.20240116.1) - - abseil/base/throw_delegate (= 1.20240116.1) - - abseil/base/atomic_hook (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/base (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/cycleclock_internal - - abseil/base/dynamic_annotations - - abseil/base/log_severity - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/spinlock_wait - - abseil/meta/type_traits - - abseil/base/base_internal (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/base/config (1.20240116.1) - - abseil/base/core_headers (1.20240116.1): - - abseil/base/config - - abseil/base/cycleclock_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/dynamic_annotations (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/errno_saver (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id (1.20240116.1): - - abseil/base/config - - abseil/base/log_severity (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/malloc_internal (1.20240116.1): - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/base/no_destructor (1.20240116.1): - - abseil/base/config - - abseil/base/nullability (1.20240116.1): - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/base/prefetch (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/pretty_function (1.20240116.1) - - abseil/base/raw_logging_internal (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/config - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/log_severity - - abseil/base/spinlock_wait (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/strerror (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/throw_delegate (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/cleanup/cleanup (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/cleanup/cleanup_internal - - abseil/cleanup/cleanup_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/utility/utility - - abseil/container/common (1.20240116.1): - - abseil/meta/type_traits - - abseil/types/optional - - abseil/container/common_policy_traits (1.20240116.1): - - abseil/meta/type_traits - - abseil/container/compressed_tuple (1.20240116.1): - - abseil/utility/utility - - abseil/container/container_memory (1.20240116.1): - - abseil/base/config - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/container/fixed_array (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/throw_delegate - - abseil/container/compressed_tuple - - abseil/memory/memory - - abseil/container/flat_hash_map (1.20240116.1): - - abseil/algorithm/container - - abseil/base/core_headers - - abseil/container/container_memory - - abseil/container/hash_function_defaults - - abseil/container/raw_hash_map - - abseil/memory/memory - - abseil/container/flat_hash_set (1.20240116.1): - - abseil/algorithm/container - - abseil/base/core_headers - - abseil/container/container_memory - - abseil/container/hash_function_defaults - - abseil/container/raw_hash_set - - abseil/memory/memory - - abseil/container/hash_function_defaults (1.20240116.1): - - abseil/base/config - - abseil/hash/hash - - abseil/strings/cord - - abseil/strings/strings - - abseil/container/hash_policy_traits (1.20240116.1): - - abseil/container/common_policy_traits - - abseil/meta/type_traits - - abseil/container/hashtable_debug_hooks (1.20240116.1): - - abseil/base/config - - abseil/container/hashtablez_sampler (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/debugging/stacktrace - - abseil/memory/memory - - abseil/profiling/exponential_biased - - abseil/profiling/sample_recorder - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/utility/utility - - abseil/container/inlined_vector (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/throw_delegate - - abseil/container/inlined_vector_internal - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/container/inlined_vector_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/container/compressed_tuple - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/types/span - - abseil/container/layout (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/debugging/demangle_internal - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/types/span - - abseil/utility/utility - - abseil/container/raw_hash_map (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/throw_delegate - - abseil/container/container_memory - - abseil/container/raw_hash_set - - abseil/container/raw_hash_set (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/endian - - abseil/base/prefetch - - abseil/base/raw_logging_internal - - abseil/container/common - - abseil/container/compressed_tuple - - abseil/container/container_memory - - abseil/container/hash_policy_traits - - abseil/container/hashtable_debug_hooks - - abseil/container/hashtablez_sampler - - abseil/hash/hash - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/utility/utility - - abseil/crc/cpu_detect (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/crc/crc32c (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/prefetch - - abseil/crc/cpu_detect - - abseil/crc/crc_internal - - abseil/crc/non_temporal_memcpy - - abseil/strings/str_format - - abseil/strings/strings - - abseil/crc/crc_cord_state (1.20240116.1): - - abseil/base/config - - abseil/crc/crc32c - - abseil/numeric/bits - - abseil/strings/strings - - abseil/crc/crc_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/prefetch - - abseil/base/raw_logging_internal - - abseil/crc/cpu_detect - - abseil/memory/memory - - abseil/numeric/bits - - abseil/crc/non_temporal_arm_intrinsics (1.20240116.1): - - abseil/base/config - - abseil/crc/non_temporal_memcpy (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/crc/non_temporal_arm_intrinsics - - abseil/debugging/debugging_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/errno_saver - - abseil/base/raw_logging_internal - - abseil/debugging/demangle_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/debugging/stacktrace (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/debugging/debugging_internal - - abseil/debugging/symbolize (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/debugging/debugging_internal - - abseil/debugging/demangle_internal - - abseil/strings/strings - - abseil/flags/commandlineflag (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/flags/commandlineflag_internal - - abseil/strings/strings - - abseil/types/optional - - abseil/flags/commandlineflag_internal (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/flags/config (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/path_util - - abseil/flags/program_name - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/flags/flag (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/config - - abseil/flags/flag_internal - - abseil/flags/reflection - - abseil/strings/strings - - abseil/flags/flag_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/flags/config - - abseil/flags/marshalling - - abseil/flags/reflection - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/utility/utility - - abseil/flags/marshalling (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/log_severity - - abseil/numeric/int128 - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/optional - - abseil/flags/path_util (1.20240116.1): - - abseil/base/config - - abseil/strings/strings - - abseil/flags/private_handle_accessor (1.20240116.1): - - abseil/base/config - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/strings/strings - - abseil/flags/program_name (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/path_util - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/flags/reflection (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/no_destructor - - abseil/container/flat_hash_map - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/flags/config - - abseil/flags/private_handle_accessor - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/functional/any_invocable (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/functional/bind_front (1.20240116.1): - - abseil/base/base_internal - - abseil/container/compressed_tuple - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/functional/function_ref (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/functional/any_invocable - - abseil/meta/type_traits - - abseil/hash/city (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/hash/hash (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/container/fixed_array - - abseil/functional/function_ref - - abseil/hash/city - - abseil/hash/low_level_hash - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/strings/strings - - abseil/types/optional - - abseil/types/variant - - abseil/utility/utility - - abseil/hash/low_level_hash (1.20240116.1): - - abseil/base/config - - abseil/base/endian - - abseil/base/prefetch - - abseil/numeric/int128 - - abseil/memory (1.20240116.1): - - abseil/memory/memory (= 1.20240116.1) - - abseil/memory/memory (1.20240116.1): - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/meta (1.20240116.1): - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/meta/type_traits (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/bits (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/int128 (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/bits - - abseil/numeric/representation (1.20240116.1): - - abseil/base/config - - abseil/profiling/exponential_biased (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/profiling/sample_recorder (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/random/bit_gen_ref (1.20240116.1): - - abseil/base/core_headers - - abseil/base/fast_type_id - - abseil/meta/type_traits - - abseil/random/internal/distribution_caller - - abseil/random/internal/fast_uniform_bits - - abseil/random/random - - abseil/random/distributions (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/random/internal/distribution_caller - - abseil/random/internal/fast_uniform_bits - - abseil/random/internal/fastmath - - abseil/random/internal/generate_real - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/traits - - abseil/random/internal/uniform_helper - - abseil/random/internal/wide_multiply - - abseil/strings/strings - - abseil/random/internal/distribution_caller (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/utility/utility - - abseil/random/internal/fast_uniform_bits (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/random/internal/traits - - abseil/random/internal/fastmath (1.20240116.1): - - abseil/numeric/bits - - abseil/random/internal/generate_real (1.20240116.1): - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/random/internal/fastmath - - abseil/random/internal/traits - - abseil/random/internal/iostream_state_saver (1.20240116.1): - - abseil/meta/type_traits - - abseil/numeric/int128 - - abseil/random/internal/nonsecure_base (1.20240116.1): - - abseil/base/core_headers - - abseil/container/inlined_vector - - abseil/meta/type_traits - - abseil/random/internal/pool_urbg - - abseil/random/internal/salted_seed_seq - - abseil/random/internal/seed_material - - abseil/types/span - - abseil/random/internal/pcg_engine (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/fastmath - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/platform (1.20240116.1): - - abseil/base/config - - abseil/random/internal/pool_urbg (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/random/internal/randen - - abseil/random/internal/seed_material - - abseil/random/internal/traits - - abseil/random/seed_gen_exception - - abseil/types/span - - abseil/random/internal/randen (1.20240116.1): - - abseil/base/raw_logging_internal - - abseil/random/internal/platform - - abseil/random/internal/randen_hwaes - - abseil/random/internal/randen_slow - - abseil/random/internal/randen_engine (1.20240116.1): - - abseil/base/endian - - abseil/meta/type_traits - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/randen - - abseil/random/internal/randen_hwaes (1.20240116.1): - - abseil/base/config - - abseil/random/internal/platform - - abseil/random/internal/randen_hwaes_impl - - abseil/random/internal/randen_hwaes_impl (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/int128 - - abseil/random/internal/platform - - abseil/random/internal/randen_slow (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/numeric/int128 - - abseil/random/internal/platform - - abseil/random/internal/salted_seed_seq (1.20240116.1): - - abseil/container/inlined_vector - - abseil/meta/type_traits - - abseil/random/internal/seed_material - - abseil/types/optional - - abseil/types/span - - abseil/random/internal/seed_material (1.20240116.1): - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/random/internal/fast_uniform_bits - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/random/internal/traits (1.20240116.1): - - abseil/base/config - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/uniform_helper (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/numeric/int128 - - abseil/random/internal/traits - - abseil/random/internal/wide_multiply (1.20240116.1): - - abseil/base/config - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/traits - - abseil/random/random (1.20240116.1): - - abseil/random/distributions - - abseil/random/internal/nonsecure_base - - abseil/random/internal/pcg_engine - - abseil/random/internal/pool_urbg - - abseil/random/internal/randen_engine - - abseil/random/seed_sequences - - abseil/random/seed_gen_exception (1.20240116.1): - - abseil/base/config - - abseil/random/seed_sequences (1.20240116.1): - - abseil/base/config - - abseil/random/internal/pool_urbg - - abseil/random/internal/salted_seed_seq - - abseil/random/internal/seed_material - - abseil/random/seed_gen_exception - - abseil/types/span - - abseil/status/status (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/config - - abseil/base/core_headers - - abseil/base/no_destructor - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/strerror - - abseil/container/inlined_vector - - abseil/debugging/stacktrace - - abseil/debugging/symbolize - - abseil/functional/function_ref - - abseil/memory/memory - - abseil/strings/cord - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/status/statusor (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/meta/type_traits - - abseil/status/status - - abseil/strings/has_ostream_operator - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/variant - - abseil/utility/utility - - abseil/strings/charset (1.20240116.1): - - abseil/base/core_headers - - abseil/strings/string_view - - abseil/strings/cord (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/container/inlined_vector - - abseil/crc/crc32c - - abseil/crc/crc_cord_state - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/strings/cord_internal - - abseil/strings/cordz_functions - - abseil/strings/cordz_info - - abseil/strings/cordz_statistics - - abseil/strings/cordz_update_scope - - abseil/strings/cordz_update_tracker - - abseil/strings/internal - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/strings/cord_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/base/throw_delegate - - abseil/container/compressed_tuple - - abseil/container/container_memory - - abseil/container/inlined_vector - - abseil/container/layout - - abseil/crc/crc_cord_state - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/types/span - - abseil/strings/cordz_functions (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/profiling/exponential_biased - - abseil/strings/cordz_handle (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/synchronization/synchronization - - abseil/strings/cordz_info (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/container/inlined_vector - - abseil/debugging/stacktrace - - abseil/strings/cord_internal - - abseil/strings/cordz_functions - - abseil/strings/cordz_handle - - abseil/strings/cordz_statistics - - abseil/strings/cordz_update_tracker - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/types/span - - abseil/strings/cordz_statistics (1.20240116.1): - - abseil/base/config - - abseil/strings/cordz_update_tracker - - abseil/strings/cordz_update_scope (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/strings/cord_internal - - abseil/strings/cordz_info - - abseil/strings/cordz_update_tracker - - abseil/strings/cordz_update_tracker (1.20240116.1): - - abseil/base/config - - abseil/strings/has_ostream_operator (1.20240116.1): - - abseil/base/config - - abseil/strings/internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/meta/type_traits - - abseil/strings/str_format (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/strings/str_format_internal - - abseil/strings/string_view - - abseil/types/span - - abseil/strings/str_format_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/container/fixed_array - - abseil/container/inlined_vector - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/numeric/representation - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/utility/utility - - abseil/strings/string_view (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/throw_delegate - - abseil/strings/strings (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/throw_delegate - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/strings/charset - - abseil/strings/internal - - abseil/strings/string_view - - abseil/synchronization/graphcycles_internal (1.20240116.1): - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/synchronization/kernel_timeout_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/time/time - - abseil/synchronization/synchronization (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/debugging/stacktrace - - abseil/debugging/symbolize - - abseil/synchronization/graphcycles_internal - - abseil/synchronization/kernel_timeout_internal - - abseil/time/time - - abseil/time (1.20240116.1): - - abseil/time/internal (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/time/internal (1.20240116.1): - - abseil/time/internal/cctz (= 1.20240116.1) - - abseil/time/internal/cctz (1.20240116.1): - - abseil/time/internal/cctz/civil_time (= 1.20240116.1) - - abseil/time/internal/cctz/time_zone (= 1.20240116.1) - - abseil/time/internal/cctz/civil_time (1.20240116.1): - - abseil/base/config - - abseil/time/internal/cctz/time_zone (1.20240116.1): - - abseil/base/config - - abseil/time/internal/cctz/civil_time - - abseil/time/time (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/numeric/int128 - - abseil/strings/strings - - abseil/time/internal/cctz/civil_time - - abseil/time/internal/cctz/time_zone - - abseil/types/optional - - abseil/types (1.20240116.1): - - abseil/types/any (= 1.20240116.1) - - abseil/types/bad_any_cast (= 1.20240116.1) - - abseil/types/bad_any_cast_impl (= 1.20240116.1) - - abseil/types/bad_optional_access (= 1.20240116.1) - - abseil/types/bad_variant_access (= 1.20240116.1) - - abseil/types/compare (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/types/any (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/fast_type_id - - abseil/meta/type_traits - - abseil/types/bad_any_cast - - abseil/utility/utility - - abseil/types/bad_any_cast (1.20240116.1): - - abseil/base/config - - abseil/types/bad_any_cast_impl - - abseil/types/bad_any_cast_impl (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/bad_optional_access (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/bad_variant_access (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/compare (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/types/optional (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/types/bad_optional_access - - abseil/utility/utility - - abseil/types/span (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/throw_delegate - - abseil/meta/type_traits - - abseil/types/variant (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/types/bad_variant_access - - abseil/utility/utility - - abseil/utility/utility (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/meta/type_traits - - BoringSSL-GRPC (0.0.32): - - BoringSSL-GRPC/Implementation (= 0.0.32) - - BoringSSL-GRPC/Interface (= 0.0.32) - - BoringSSL-GRPC/Implementation (0.0.32): - - BoringSSL-GRPC/Interface (= 0.0.32) - - BoringSSL-GRPC/Interface (0.0.32) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseAuth (10.23.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/Environment (~> 7.8) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - RecaptchaInterop (~> 100.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseFirestore (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreExtension (~> 10.0) - - FirebaseFirestoreInternal (~> 10.17) - - FirebaseSharedSwift (~> 10.0) - - FirebaseFirestoreInternal (10.23.0): - - abseil/algorithm (~> 1.20240116.1) - - abseil/base (~> 1.20240116.1) - - abseil/container/flat_hash_map (~> 1.20240116.1) - - abseil/memory (~> 1.20240116.1) - - abseil/meta (~> 1.20240116.1) - - abseil/strings/strings (~> 1.20240116.1) - - abseil/time (~> 1.20240116.1) - - abseil/types (~> 1.20240116.1) - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - "gRPC-C++ (~> 1.62.0)" - - gRPC-Core (~> 1.62.0) - - leveldb-library (~> 1.22) - - nanopb (< 2.30911.0, >= 2.30908.0) - - FirebaseSharedSwift (10.23.0) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Logger - - GoogleUtilities/Network - - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): - - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib" - - GoogleUtilities/Privacy - - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - "gRPC-C++ (1.62.1)": - - "gRPC-C++/Implementation (= 1.62.1)" - - "gRPC-C++/Interface (= 1.62.1)" - - "gRPC-C++/Implementation (1.62.1)": - - abseil/algorithm/container (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/cleanup/cleanup (= 1.20240116.1) - - abseil/container/flat_hash_map (= 1.20240116.1) - - abseil/container/flat_hash_set (= 1.20240116.1) - - abseil/container/inlined_vector (= 1.20240116.1) - - abseil/flags/flag (= 1.20240116.1) - - abseil/flags/marshalling (= 1.20240116.1) - - abseil/functional/any_invocable (= 1.20240116.1) - - abseil/functional/bind_front (= 1.20240116.1) - - abseil/functional/function_ref (= 1.20240116.1) - - abseil/hash/hash (= 1.20240116.1) - - abseil/memory/memory (= 1.20240116.1) - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/random/bit_gen_ref (= 1.20240116.1) - - abseil/random/distributions (= 1.20240116.1) - - abseil/random/random (= 1.20240116.1) - - abseil/status/status (= 1.20240116.1) - - abseil/status/statusor (= 1.20240116.1) - - abseil/strings/cord (= 1.20240116.1) - - abseil/strings/str_format (= 1.20240116.1) - - abseil/strings/strings (= 1.20240116.1) - - abseil/synchronization/synchronization (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/utility/utility (= 1.20240116.1) - - "gRPC-C++/Interface (= 1.62.1)" - - "gRPC-C++/Privacy (= 1.62.1)" - - gRPC-Core (= 1.62.1) - - "gRPC-C++/Interface (1.62.1)" - - "gRPC-C++/Privacy (1.62.1)" - - gRPC-Core (1.62.1): - - gRPC-Core/Implementation (= 1.62.1) - - gRPC-Core/Interface (= 1.62.1) - - gRPC-Core/Implementation (1.62.1): - - abseil/algorithm/container (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/cleanup/cleanup (= 1.20240116.1) - - abseil/container/flat_hash_map (= 1.20240116.1) - - abseil/container/flat_hash_set (= 1.20240116.1) - - abseil/container/inlined_vector (= 1.20240116.1) - - abseil/flags/flag (= 1.20240116.1) - - abseil/flags/marshalling (= 1.20240116.1) - - abseil/functional/any_invocable (= 1.20240116.1) - - abseil/functional/bind_front (= 1.20240116.1) - - abseil/functional/function_ref (= 1.20240116.1) - - abseil/hash/hash (= 1.20240116.1) - - abseil/memory/memory (= 1.20240116.1) - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/random/bit_gen_ref (= 1.20240116.1) - - abseil/random/distributions (= 1.20240116.1) - - abseil/random/random (= 1.20240116.1) - - abseil/status/status (= 1.20240116.1) - - abseil/status/statusor (= 1.20240116.1) - - abseil/strings/cord (= 1.20240116.1) - - abseil/strings/str_format (= 1.20240116.1) - - abseil/strings/strings (= 1.20240116.1) - - abseil/synchronization/synchronization (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/utility/utility (= 1.20240116.1) - - BoringSSL-GRPC (= 0.0.32) - - gRPC-Core/Interface (= 1.62.1) - - gRPC-Core/Privacy (= 1.62.1) - - gRPC-Core/Interface (1.62.1) - - gRPC-Core/Privacy (1.62.1) - - GTMSessionFetcher/Core (3.3.2) - - leveldb-library (1.22.4) - - nanopb (2.30910.0): - - nanopb/decode (= 2.30910.0) - - nanopb/encode (= 2.30910.0) - - nanopb/decode (2.30910.0) - - nanopb/encode (2.30910.0) - - PromisesObjC (2.4.0) - - RecaptchaInterop (100.0.0) - -DEPENDENCIES: - - FirebaseAuth - - FirebaseFirestore - -SPEC REPOS: - trunk: - - abseil - - BoringSSL-GRPC - - FirebaseAppCheckInterop - - FirebaseAuth - - FirebaseCore - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseFirestore - - FirebaseFirestoreInternal - - FirebaseSharedSwift - - GoogleUtilities - - "gRPC-C++" - - gRPC-Core - - GTMSessionFetcher - - leveldb-library - - nanopb - - PromisesObjC - - RecaptchaInterop - -SPEC CHECKSUMS: - abseil: ebec4f56469dd7ce9ab08683c0319a68aa0ad86e - BoringSSL-GRPC: 1e2348957acdbcad360b80a264a90799984b2ba6 - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseAuth: 22eb85d3853141de7062bfabc131aa7d6335cade - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseFirestore: 3478b0580f6c16d895460611b4fcec93955f4717 - FirebaseFirestoreInternal: 627b23f682c1c2aad38ba1345ed3ca6574c5a89c - FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - "gRPC-C++": 12f33a422dcab88dcd0c53e52cd549a929f0f244 - gRPC-Core: 6ec9002832e1e22c5bb8c54994b050b0ee4205c6 - GTMSessionFetcher: 0e876eea9782ec6462e91ab872711c357322c94f - leveldb-library: 06a69cc7582d64b29424a63e085e683cc188230a - nanopb: 438bc412db1928dac798aa6fd75726007be04262 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21 - -PODFILE CHECKSUM: 2c326f47761ecd18d1c150444d24a282c84b433e - -COCOAPODS: 1.15.2 diff --git a/firestore/objc/firestore-smoketest-objc.xcodeproj/project.pbxproj b/firestore/objc/firestore-smoketest-objc.xcodeproj/project.pbxproj index d95a7a0e..2c8e8536 100644 --- a/firestore/objc/firestore-smoketest-objc.xcodeproj/project.pbxproj +++ b/firestore/objc/firestore-smoketest-objc.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -18,6 +18,8 @@ 8D70FC2A1F4CAE1B00C7F603 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D70FC291F4CAE1B00C7F603 /* Assets.xcassets */; }; 8D70FC2D1F4CAE1B00C7F603 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D70FC2B1F4CAE1B00C7F603 /* LaunchScreen.storyboard */; }; 8D70FC381F4CAE1B00C7F603 /* firestore_smoketest_objcTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D70FC371F4CAE1B00C7F603 /* firestore_smoketest_objcTests.m */; }; + 8D79519D2D28ABAD000FD694 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 8D79519C2D28ABAD000FD694 /* FirebaseAuth */; }; + 8D79519F2D28ABAD000FD694 /* FirebaseFirestore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D79519E2D28ABAD000FD694 /* FirebaseFirestore */; }; 8D9644E7260D565A002A46C9 /* FIRSolutionsBundleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D9644E6260D565A002A46C9 /* FIRSolutionsBundleViewController.m */; }; /* End PBXBuildFile section */ @@ -61,6 +63,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D79519D2D28ABAD000FD694 /* FirebaseAuth in Frameworks */, + 8D79519F2D28ABAD000FD694 /* FirebaseFirestore in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -80,8 +84,8 @@ 8D4F2EF1201162EE002ED308 /* GoogleService-Info.plist */, 8D70FC1C1F4CAE1B00C7F603 /* firestore-smoketest-objc */, 8D70FC361F4CAE1B00C7F603 /* firestore-smoketest-objcTests */, + 8D79519B2D28ABAD000FD694 /* Frameworks */, 8D70FC1B1F4CAE1B00C7F603 /* Products */, - F792628F569A18209F7C4E90 /* Pods */, ); sourceTree = ""; }; @@ -135,11 +139,11 @@ path = "firestore-smoketest-objcTests"; sourceTree = ""; }; - F792628F569A18209F7C4E90 /* Pods */ = { + 8D79519B2D28ABAD000FD694 /* Frameworks */ = { isa = PBXGroup; children = ( ); - path = Pods; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ @@ -209,6 +213,9 @@ Base, ); mainGroup = 8D70FC111F4CAE1B00C7F603; + packageReferences = ( + 8D79519A2D28AB9C000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8D70FC1B1F4CAE1B00C7F603 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -408,7 +415,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "firestore-smoketest-objc/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.firebase.firestore-smoketest-objc"; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -419,7 +429,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "firestore-smoketest-objc/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.firebase.firestore-smoketest-objc"; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -430,7 +443,11 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "firestore-smoketest-objcTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.firebase.firestore-smoketest-objcTests"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/firestore-smoketest-objc.app/firestore-smoketest-objc"; @@ -442,7 +459,11 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "firestore-smoketest-objcTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.firebase.firestore-smoketest-objcTests"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/firestore-smoketest-objc.app/firestore-smoketest-objc"; @@ -480,6 +501,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D79519A2D28AB9C000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D79519C2D28ABAD000FD694 /* FirebaseAuth */ = { + isa = XCSwiftPackageProductDependency; + package = 8D79519A2D28AB9C000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAuth; + }; + 8D79519E2D28ABAD000FD694 /* FirebaseFirestore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D79519A2D28AB9C000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFirestore; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8D70FC121F4CAE1B00C7F603 /* Project object */; } diff --git a/firestore/objc/firestore-smoketest-objc/ViewController.m b/firestore/objc/firestore-smoketest-objc/ViewController.m index 00ec009b..977c25d5 100644 --- a/firestore/objc/firestore-smoketest-objc/ViewController.m +++ b/firestore/objc/firestore-smoketest-objc/ViewController.m @@ -1271,24 +1271,114 @@ - (void)averageAggregateQuery { } - (void)multiAggregateCollection { - // [START multi_aggregate_collection] - FIRQuery *query = [self.db collectionWithPath:@"cities"]; - FIRAggregateQuery *aggregateQuery = [query aggregate:@[ - [FIRAggregateField aggregateFieldForCount], - [FIRAggregateField aggregateFieldForSumOfField:@"population"], - [FIRAggregateField aggregateFieldForAverageOfField:@"population"]]]; - [aggregateQuery aggregationWithSource:FIRAggregateSourceServer - completion:^(FIRAggregateQuerySnapshot *snapshot, - NSError *error) { - if (error != nil) { - NSLog(@"Error fetching aggregate: %@", error); - } else { - NSLog(@"Count: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForCount]]); - NSLog(@"Sum: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForSumOfField:@"population"]]); - NSLog(@"Avg: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForAverageOfField:@"population"]]); - } - }]; - // [END multi_aggregate_collection] + // [START multi_aggregate_collection] + FIRQuery *query = [self.db collectionWithPath:@"cities"]; + FIRAggregateQuery *aggregateQuery = [query aggregate:@[ + [FIRAggregateField aggregateFieldForCount], + [FIRAggregateField aggregateFieldForSumOfField:@"population"], + [FIRAggregateField aggregateFieldForAverageOfField:@"population"]]]; + [aggregateQuery aggregationWithSource:FIRAggregateSourceServer + completion:^(FIRAggregateQuerySnapshot *snapshot, + NSError *error) { + if (error != nil) { + NSLog(@"Error fetching aggregate: %@", error); + } else { + NSLog(@"Count: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForCount]]); + NSLog(@"Sum: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForSumOfField:@"population"]]); + NSLog(@"Avg: %@", [snapshot valueForAggregateField:[FIRAggregateField aggregateFieldForAverageOfField:@"population"]]); + } + }]; + // [END multi_aggregate_collection] +} + +- (void)orQuery { + // [START or_query] + FIRCollectionReference *collection = [self.db collectionWithPath:@"cities"]; + FIRQuery *query = [collection queryWhereFilter:[FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"state" isEqualTo:@"CA"], + [FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"capital" isEqualTo:@YES], + [FIRFilter filterWhereField:@"population" isGreaterThanOrEqualTo:@1000000] + ]] + ]]]; + // [END or_query] +} + +- (void)orQueryDisjunctions { + FIRCollectionReference *collection = [self.db collectionWithPath:@"cities"]; + + // [START one_disjunction] + [collection queryWhereField:@"a" isEqualTo:@1]; + // [END one_disjunction] + + // [START two_disjunctions] + [collection queryWhereFilter:[FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" isEqualTo:@1], + [FIRFilter filterWhereField:@"b" isEqualTo:@2] + ]]]; + // [END two_disjunctions] + + // [START four_disjunctions] + [collection queryWhereFilter:[FIRFilter orFilterWithFilters:@[ + [FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" isEqualTo:@1], + [FIRFilter filterWhereField:@"c" isEqualTo:@3] + ]], + [FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" isEqualTo:@1], + [FIRFilter filterWhereField:@"d" isEqualTo:@4] + ]], + [FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"b" isEqualTo:@2], + [FIRFilter filterWhereField:@"c" isEqualTo:@3] + ]], + [FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"b" isEqualTo:@2], + [FIRFilter filterWhereField:@"d" isEqualTo:@4] + ]], + ]]]; + // [END four_disjunctions] + + // [START four_disjunctions_compact] + [collection queryWhereFilter:[FIRFilter andFilterWithFilters:@[ + [FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" isEqualTo:@1], + [FIRFilter filterWhereField:@"b" isEqualTo:@2] + ]], + [FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"c" isEqualTo:@3], + [FIRFilter filterWhereField:@"d" isEqualTo:@4] + ]] + ]]]; + // [END four_disjunctions_compact] + + // [START 20_disjunctions] + [collection queryWhereFilter:[FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" in:@[@1, @2, @3, @4, @5, @6, @7, @8, @9, @10]], + [FIRFilter filterWhereField:@"b" in:@[@1, @2, @3, @4, @5, @6, @7, @8, @9, @10]] + ]]]; + // [END 20_disjunctions] + + // [START 10_disjunctions] + [collection queryWhereFilter:[FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" in: @[@1, @2, @3, @4, @5]], + [FIRFilter orFilterWithFilters:@[ + [FIRFilter filterWhereField:@"b" isEqualTo:@2], + [FIRFilter filterWhereField:@"c" isEqualTo:@3] + ]] + ]]]; + // [END 10_disjunctions] +} + +- (void)illegalDisjunctions { + FIRCollectionReference *collection = [self.db collectionWithPath:@"cities"]; + + // [START 20_disjunctions] + [collection queryWhereFilter:[FIRFilter andFilterWithFilters:@[ + [FIRFilter filterWhereField:@"a" in:@[@1, @2, @3, @4, @5]], + [FIRFilter filterWhereField:@"b" in:@[@1, @2, @3, @4, @5, @6, @7, @8, @9, @10]] + ]]]; + // [END 20_disjunctions] } @end diff --git a/firestore/swift/Podfile b/firestore/swift/Podfile index 4dadbabf..5acf781b 100644 --- a/firestore/swift/Podfile +++ b/firestore/swift/Podfile @@ -1,4 +1,5 @@ -# Uncomment this line to define a global platform for your project +# No longer used since the project migrated to SPM, but this file still exists +# for the GeoFire snippet below. platform :ios, '14.0' target 'firestore-smoketest' do diff --git a/firestore/swift/Podfile.lock b/firestore/swift/Podfile.lock deleted file mode 100644 index bbf21867..00000000 --- a/firestore/swift/Podfile.lock +++ /dev/null @@ -1,1032 +0,0 @@ -PODS: - - abseil/algorithm (1.20240116.1): - - abseil/algorithm/algorithm (= 1.20240116.1) - - abseil/algorithm/container (= 1.20240116.1) - - abseil/algorithm/algorithm (1.20240116.1): - - abseil/base/config - - abseil/algorithm/container (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/nullability - - abseil/meta/type_traits - - abseil/base (1.20240116.1): - - abseil/base/atomic_hook (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/base_internal (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/base/cycleclock_internal (= 1.20240116.1) - - abseil/base/dynamic_annotations (= 1.20240116.1) - - abseil/base/endian (= 1.20240116.1) - - abseil/base/errno_saver (= 1.20240116.1) - - abseil/base/fast_type_id (= 1.20240116.1) - - abseil/base/log_severity (= 1.20240116.1) - - abseil/base/malloc_internal (= 1.20240116.1) - - abseil/base/no_destructor (= 1.20240116.1) - - abseil/base/nullability (= 1.20240116.1) - - abseil/base/prefetch (= 1.20240116.1) - - abseil/base/pretty_function (= 1.20240116.1) - - abseil/base/raw_logging_internal (= 1.20240116.1) - - abseil/base/spinlock_wait (= 1.20240116.1) - - abseil/base/strerror (= 1.20240116.1) - - abseil/base/throw_delegate (= 1.20240116.1) - - abseil/base/atomic_hook (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/base (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/cycleclock_internal - - abseil/base/dynamic_annotations - - abseil/base/log_severity - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/spinlock_wait - - abseil/meta/type_traits - - abseil/base/base_internal (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/base/config (1.20240116.1) - - abseil/base/core_headers (1.20240116.1): - - abseil/base/config - - abseil/base/cycleclock_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/dynamic_annotations (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/errno_saver (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id (1.20240116.1): - - abseil/base/config - - abseil/base/log_severity (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/malloc_internal (1.20240116.1): - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/base/no_destructor (1.20240116.1): - - abseil/base/config - - abseil/base/nullability (1.20240116.1): - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/base/prefetch (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/pretty_function (1.20240116.1) - - abseil/base/raw_logging_internal (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/config - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/log_severity - - abseil/base/spinlock_wait (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/strerror (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/errno_saver - - abseil/base/throw_delegate (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/cleanup/cleanup (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/cleanup/cleanup_internal - - abseil/cleanup/cleanup_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/utility/utility - - abseil/container/common (1.20240116.1): - - abseil/meta/type_traits - - abseil/types/optional - - abseil/container/common_policy_traits (1.20240116.1): - - abseil/meta/type_traits - - abseil/container/compressed_tuple (1.20240116.1): - - abseil/utility/utility - - abseil/container/container_memory (1.20240116.1): - - abseil/base/config - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/container/fixed_array (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/throw_delegate - - abseil/container/compressed_tuple - - abseil/memory/memory - - abseil/container/flat_hash_map (1.20240116.1): - - abseil/algorithm/container - - abseil/base/core_headers - - abseil/container/container_memory - - abseil/container/hash_function_defaults - - abseil/container/raw_hash_map - - abseil/memory/memory - - abseil/container/flat_hash_set (1.20240116.1): - - abseil/algorithm/container - - abseil/base/core_headers - - abseil/container/container_memory - - abseil/container/hash_function_defaults - - abseil/container/raw_hash_set - - abseil/memory/memory - - abseil/container/hash_function_defaults (1.20240116.1): - - abseil/base/config - - abseil/hash/hash - - abseil/strings/cord - - abseil/strings/strings - - abseil/container/hash_policy_traits (1.20240116.1): - - abseil/container/common_policy_traits - - abseil/meta/type_traits - - abseil/container/hashtable_debug_hooks (1.20240116.1): - - abseil/base/config - - abseil/container/hashtablez_sampler (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/debugging/stacktrace - - abseil/memory/memory - - abseil/profiling/exponential_biased - - abseil/profiling/sample_recorder - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/utility/utility - - abseil/container/inlined_vector (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/throw_delegate - - abseil/container/inlined_vector_internal - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/container/inlined_vector_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/container/compressed_tuple - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/types/span - - abseil/container/layout (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/debugging/demangle_internal - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/types/span - - abseil/utility/utility - - abseil/container/raw_hash_map (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/throw_delegate - - abseil/container/container_memory - - abseil/container/raw_hash_set - - abseil/container/raw_hash_set (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/endian - - abseil/base/prefetch - - abseil/base/raw_logging_internal - - abseil/container/common - - abseil/container/compressed_tuple - - abseil/container/container_memory - - abseil/container/hash_policy_traits - - abseil/container/hashtable_debug_hooks - - abseil/container/hashtablez_sampler - - abseil/hash/hash - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/utility/utility - - abseil/crc/cpu_detect (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/crc/crc32c (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/prefetch - - abseil/crc/cpu_detect - - abseil/crc/crc_internal - - abseil/crc/non_temporal_memcpy - - abseil/strings/str_format - - abseil/strings/strings - - abseil/crc/crc_cord_state (1.20240116.1): - - abseil/base/config - - abseil/crc/crc32c - - abseil/numeric/bits - - abseil/strings/strings - - abseil/crc/crc_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/prefetch - - abseil/base/raw_logging_internal - - abseil/crc/cpu_detect - - abseil/memory/memory - - abseil/numeric/bits - - abseil/crc/non_temporal_arm_intrinsics (1.20240116.1): - - abseil/base/config - - abseil/crc/non_temporal_memcpy (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/crc/non_temporal_arm_intrinsics - - abseil/debugging/debugging_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/errno_saver - - abseil/base/raw_logging_internal - - abseil/debugging/demangle_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/debugging/stacktrace (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/debugging/debugging_internal - - abseil/debugging/symbolize (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/debugging/debugging_internal - - abseil/debugging/demangle_internal - - abseil/strings/strings - - abseil/flags/commandlineflag (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/flags/commandlineflag_internal - - abseil/strings/strings - - abseil/types/optional - - abseil/flags/commandlineflag_internal (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/flags/config (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/path_util - - abseil/flags/program_name - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/flags/flag (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/config - - abseil/flags/flag_internal - - abseil/flags/reflection - - abseil/strings/strings - - abseil/flags/flag_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/flags/config - - abseil/flags/marshalling - - abseil/flags/reflection - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/utility/utility - - abseil/flags/marshalling (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/log_severity - - abseil/numeric/int128 - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/optional - - abseil/flags/path_util (1.20240116.1): - - abseil/base/config - - abseil/strings/strings - - abseil/flags/private_handle_accessor (1.20240116.1): - - abseil/base/config - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/strings/strings - - abseil/flags/program_name (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/flags/path_util - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/flags/reflection (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/no_destructor - - abseil/container/flat_hash_map - - abseil/flags/commandlineflag - - abseil/flags/commandlineflag_internal - - abseil/flags/config - - abseil/flags/private_handle_accessor - - abseil/strings/strings - - abseil/synchronization/synchronization - - abseil/functional/any_invocable (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/functional/bind_front (1.20240116.1): - - abseil/base/base_internal - - abseil/container/compressed_tuple - - abseil/meta/type_traits - - abseil/utility/utility - - abseil/functional/function_ref (1.20240116.1): - - abseil/base/base_internal - - abseil/base/core_headers - - abseil/functional/any_invocable - - abseil/meta/type_traits - - abseil/hash/city (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/hash/hash (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/container/fixed_array - - abseil/functional/function_ref - - abseil/hash/city - - abseil/hash/low_level_hash - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/strings/strings - - abseil/types/optional - - abseil/types/variant - - abseil/utility/utility - - abseil/hash/low_level_hash (1.20240116.1): - - abseil/base/config - - abseil/base/endian - - abseil/base/prefetch - - abseil/numeric/int128 - - abseil/memory (1.20240116.1): - - abseil/memory/memory (= 1.20240116.1) - - abseil/memory/memory (1.20240116.1): - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/meta (1.20240116.1): - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/meta/type_traits (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/bits (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/int128 (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/bits - - abseil/numeric/representation (1.20240116.1): - - abseil/base/config - - abseil/profiling/exponential_biased (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/profiling/sample_recorder (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/random/bit_gen_ref (1.20240116.1): - - abseil/base/core_headers - - abseil/base/fast_type_id - - abseil/meta/type_traits - - abseil/random/internal/distribution_caller - - abseil/random/internal/fast_uniform_bits - - abseil/random/random - - abseil/random/distributions (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/random/internal/distribution_caller - - abseil/random/internal/fast_uniform_bits - - abseil/random/internal/fastmath - - abseil/random/internal/generate_real - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/traits - - abseil/random/internal/uniform_helper - - abseil/random/internal/wide_multiply - - abseil/strings/strings - - abseil/random/internal/distribution_caller (1.20240116.1): - - abseil/base/config - - abseil/base/fast_type_id - - abseil/utility/utility - - abseil/random/internal/fast_uniform_bits (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/random/internal/traits - - abseil/random/internal/fastmath (1.20240116.1): - - abseil/numeric/bits - - abseil/random/internal/generate_real (1.20240116.1): - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/random/internal/fastmath - - abseil/random/internal/traits - - abseil/random/internal/iostream_state_saver (1.20240116.1): - - abseil/meta/type_traits - - abseil/numeric/int128 - - abseil/random/internal/nonsecure_base (1.20240116.1): - - abseil/base/core_headers - - abseil/container/inlined_vector - - abseil/meta/type_traits - - abseil/random/internal/pool_urbg - - abseil/random/internal/salted_seed_seq - - abseil/random/internal/seed_material - - abseil/types/span - - abseil/random/internal/pcg_engine (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/fastmath - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/platform (1.20240116.1): - - abseil/base/config - - abseil/random/internal/pool_urbg (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/random/internal/randen - - abseil/random/internal/seed_material - - abseil/random/internal/traits - - abseil/random/seed_gen_exception - - abseil/types/span - - abseil/random/internal/randen (1.20240116.1): - - abseil/base/raw_logging_internal - - abseil/random/internal/platform - - abseil/random/internal/randen_hwaes - - abseil/random/internal/randen_slow - - abseil/random/internal/randen_engine (1.20240116.1): - - abseil/base/endian - - abseil/meta/type_traits - - abseil/random/internal/iostream_state_saver - - abseil/random/internal/randen - - abseil/random/internal/randen_hwaes (1.20240116.1): - - abseil/base/config - - abseil/random/internal/platform - - abseil/random/internal/randen_hwaes_impl - - abseil/random/internal/randen_hwaes_impl (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/numeric/int128 - - abseil/random/internal/platform - - abseil/random/internal/randen_slow (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/numeric/int128 - - abseil/random/internal/platform - - abseil/random/internal/salted_seed_seq (1.20240116.1): - - abseil/container/inlined_vector - - abseil/meta/type_traits - - abseil/random/internal/seed_material - - abseil/types/optional - - abseil/types/span - - abseil/random/internal/seed_material (1.20240116.1): - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/raw_logging_internal - - abseil/random/internal/fast_uniform_bits - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/random/internal/traits (1.20240116.1): - - abseil/base/config - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/uniform_helper (1.20240116.1): - - abseil/base/config - - abseil/meta/type_traits - - abseil/numeric/int128 - - abseil/random/internal/traits - - abseil/random/internal/wide_multiply (1.20240116.1): - - abseil/base/config - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/random/internal/traits - - abseil/random/random (1.20240116.1): - - abseil/random/distributions - - abseil/random/internal/nonsecure_base - - abseil/random/internal/pcg_engine - - abseil/random/internal/pool_urbg - - abseil/random/internal/randen_engine - - abseil/random/seed_sequences - - abseil/random/seed_gen_exception (1.20240116.1): - - abseil/base/config - - abseil/random/seed_sequences (1.20240116.1): - - abseil/base/config - - abseil/random/internal/pool_urbg - - abseil/random/internal/salted_seed_seq - - abseil/random/internal/seed_material - - abseil/random/seed_gen_exception - - abseil/types/span - - abseil/status/status (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/config - - abseil/base/core_headers - - abseil/base/no_destructor - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/strerror - - abseil/container/inlined_vector - - abseil/debugging/stacktrace - - abseil/debugging/symbolize - - abseil/functional/function_ref - - abseil/memory/memory - - abseil/strings/cord - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/status/statusor (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/meta/type_traits - - abseil/status/status - - abseil/strings/has_ostream_operator - - abseil/strings/str_format - - abseil/strings/strings - - abseil/types/variant - - abseil/utility/utility - - abseil/strings/charset (1.20240116.1): - - abseil/base/core_headers - - abseil/strings/string_view - - abseil/strings/cord (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/container/inlined_vector - - abseil/crc/crc32c - - abseil/crc/crc_cord_state - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/strings/cord_internal - - abseil/strings/cordz_functions - - abseil/strings/cordz_info - - abseil/strings/cordz_statistics - - abseil/strings/cordz_update_scope - - abseil/strings/cordz_update_tracker - - abseil/strings/internal - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/strings/cord_internal (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/base/throw_delegate - - abseil/container/compressed_tuple - - abseil/container/container_memory - - abseil/container/inlined_vector - - abseil/container/layout - - abseil/crc/crc_cord_state - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/strings/strings - - abseil/types/span - - abseil/strings/cordz_functions (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/profiling/exponential_biased - - abseil/strings/cordz_handle (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/synchronization/synchronization - - abseil/strings/cordz_info (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/container/inlined_vector - - abseil/debugging/stacktrace - - abseil/strings/cord_internal - - abseil/strings/cordz_functions - - abseil/strings/cordz_handle - - abseil/strings/cordz_statistics - - abseil/strings/cordz_update_tracker - - abseil/synchronization/synchronization - - abseil/time/time - - abseil/types/span - - abseil/strings/cordz_statistics (1.20240116.1): - - abseil/base/config - - abseil/strings/cordz_update_tracker - - abseil/strings/cordz_update_scope (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/strings/cord_internal - - abseil/strings/cordz_info - - abseil/strings/cordz_update_tracker - - abseil/strings/cordz_update_tracker (1.20240116.1): - - abseil/base/config - - abseil/strings/has_ostream_operator (1.20240116.1): - - abseil/base/config - - abseil/strings/internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/raw_logging_internal - - abseil/meta/type_traits - - abseil/strings/str_format (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/strings/str_format_internal - - abseil/strings/string_view - - abseil/types/span - - abseil/strings/str_format_internal (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/container/fixed_array - - abseil/container/inlined_vector - - abseil/functional/function_ref - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/numeric/representation - - abseil/strings/strings - - abseil/types/optional - - abseil/types/span - - abseil/utility/utility - - abseil/strings/string_view (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/throw_delegate - - abseil/strings/strings (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/endian - - abseil/base/nullability - - abseil/base/raw_logging_internal - - abseil/base/throw_delegate - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/numeric/bits - - abseil/numeric/int128 - - abseil/strings/charset - - abseil/strings/internal - - abseil/strings/string_view - - abseil/synchronization/graphcycles_internal (1.20240116.1): - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/synchronization/kernel_timeout_internal (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/time/time - - abseil/synchronization/synchronization (1.20240116.1): - - abseil/base/atomic_hook - - abseil/base/base - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/dynamic_annotations - - abseil/base/malloc_internal - - abseil/base/raw_logging_internal - - abseil/debugging/stacktrace - - abseil/debugging/symbolize - - abseil/synchronization/graphcycles_internal - - abseil/synchronization/kernel_timeout_internal - - abseil/time/time - - abseil/time (1.20240116.1): - - abseil/time/internal (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/time/internal (1.20240116.1): - - abseil/time/internal/cctz (= 1.20240116.1) - - abseil/time/internal/cctz (1.20240116.1): - - abseil/time/internal/cctz/civil_time (= 1.20240116.1) - - abseil/time/internal/cctz/time_zone (= 1.20240116.1) - - abseil/time/internal/cctz/civil_time (1.20240116.1): - - abseil/base/config - - abseil/time/internal/cctz/time_zone (1.20240116.1): - - abseil/base/config - - abseil/time/internal/cctz/civil_time - - abseil/time/time (1.20240116.1): - - abseil/base/base - - abseil/base/config - - abseil/base/core_headers - - abseil/base/raw_logging_internal - - abseil/numeric/int128 - - abseil/strings/strings - - abseil/time/internal/cctz/civil_time - - abseil/time/internal/cctz/time_zone - - abseil/types/optional - - abseil/types (1.20240116.1): - - abseil/types/any (= 1.20240116.1) - - abseil/types/bad_any_cast (= 1.20240116.1) - - abseil/types/bad_any_cast_impl (= 1.20240116.1) - - abseil/types/bad_optional_access (= 1.20240116.1) - - abseil/types/bad_variant_access (= 1.20240116.1) - - abseil/types/compare (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/types/any (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/base/fast_type_id - - abseil/meta/type_traits - - abseil/types/bad_any_cast - - abseil/utility/utility - - abseil/types/bad_any_cast (1.20240116.1): - - abseil/base/config - - abseil/types/bad_any_cast_impl - - abseil/types/bad_any_cast_impl (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/bad_optional_access (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/bad_variant_access (1.20240116.1): - - abseil/base/config - - abseil/base/raw_logging_internal - - abseil/types/compare (1.20240116.1): - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/types/optional (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/base/nullability - - abseil/memory/memory - - abseil/meta/type_traits - - abseil/types/bad_optional_access - - abseil/utility/utility - - abseil/types/span (1.20240116.1): - - abseil/algorithm/algorithm - - abseil/base/core_headers - - abseil/base/nullability - - abseil/base/throw_delegate - - abseil/meta/type_traits - - abseil/types/variant (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/base/core_headers - - abseil/meta/type_traits - - abseil/types/bad_variant_access - - abseil/utility/utility - - abseil/utility/utility (1.20240116.1): - - abseil/base/base_internal - - abseil/base/config - - abseil/meta/type_traits - - BoringSSL-GRPC (0.0.32): - - BoringSSL-GRPC/Implementation (= 0.0.32) - - BoringSSL-GRPC/Interface (= 0.0.32) - - BoringSSL-GRPC/Implementation (0.0.32): - - BoringSSL-GRPC/Interface (= 0.0.32) - - BoringSSL-GRPC/Interface (0.0.32) - - Firebase/Auth (10.23.1): - - Firebase/CoreOnly - - FirebaseAuth (~> 10.23.0) - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - Firebase/Firestore (10.23.1): - - Firebase/CoreOnly - - FirebaseFirestore (~> 10.23.0) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseAuth (10.23.0): - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - - GoogleUtilities/Environment (~> 7.8) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - RecaptchaInterop (~> 100.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseFirestore (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreExtension (~> 10.0) - - FirebaseFirestoreInternal (~> 10.17) - - FirebaseSharedSwift (~> 10.0) - - FirebaseFirestoreInternal (10.23.0): - - abseil/algorithm (~> 1.20240116.1) - - abseil/base (~> 1.20240116.1) - - abseil/container/flat_hash_map (~> 1.20240116.1) - - abseil/memory (~> 1.20240116.1) - - abseil/meta (~> 1.20240116.1) - - abseil/strings/strings (~> 1.20240116.1) - - abseil/time (~> 1.20240116.1) - - abseil/types (~> 1.20240116.1) - - FirebaseAppCheckInterop (~> 10.17) - - FirebaseCore (~> 10.0) - - "gRPC-C++ (~> 1.62.0)" - - gRPC-Core (~> 1.62.0) - - leveldb-library (~> 1.22) - - nanopb (< 2.30911.0, >= 2.30908.0) - - FirebaseSharedSwift (10.23.0) - - GeoFire/Utils (5.0.0) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Logger - - GoogleUtilities/Network - - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): - - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib" - - GoogleUtilities/Privacy - - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - "gRPC-C++ (1.62.1)": - - "gRPC-C++/Implementation (= 1.62.1)" - - "gRPC-C++/Interface (= 1.62.1)" - - "gRPC-C++/Implementation (1.62.1)": - - abseil/algorithm/container (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/cleanup/cleanup (= 1.20240116.1) - - abseil/container/flat_hash_map (= 1.20240116.1) - - abseil/container/flat_hash_set (= 1.20240116.1) - - abseil/container/inlined_vector (= 1.20240116.1) - - abseil/flags/flag (= 1.20240116.1) - - abseil/flags/marshalling (= 1.20240116.1) - - abseil/functional/any_invocable (= 1.20240116.1) - - abseil/functional/bind_front (= 1.20240116.1) - - abseil/functional/function_ref (= 1.20240116.1) - - abseil/hash/hash (= 1.20240116.1) - - abseil/memory/memory (= 1.20240116.1) - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/random/bit_gen_ref (= 1.20240116.1) - - abseil/random/distributions (= 1.20240116.1) - - abseil/random/random (= 1.20240116.1) - - abseil/status/status (= 1.20240116.1) - - abseil/status/statusor (= 1.20240116.1) - - abseil/strings/cord (= 1.20240116.1) - - abseil/strings/str_format (= 1.20240116.1) - - abseil/strings/strings (= 1.20240116.1) - - abseil/synchronization/synchronization (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/utility/utility (= 1.20240116.1) - - "gRPC-C++/Interface (= 1.62.1)" - - "gRPC-C++/Privacy (= 1.62.1)" - - gRPC-Core (= 1.62.1) - - "gRPC-C++/Interface (1.62.1)" - - "gRPC-C++/Privacy (1.62.1)" - - gRPC-Core (1.62.1): - - gRPC-Core/Implementation (= 1.62.1) - - gRPC-Core/Interface (= 1.62.1) - - gRPC-Core/Implementation (1.62.1): - - abseil/algorithm/container (= 1.20240116.1) - - abseil/base/base (= 1.20240116.1) - - abseil/base/config (= 1.20240116.1) - - abseil/base/core_headers (= 1.20240116.1) - - abseil/cleanup/cleanup (= 1.20240116.1) - - abseil/container/flat_hash_map (= 1.20240116.1) - - abseil/container/flat_hash_set (= 1.20240116.1) - - abseil/container/inlined_vector (= 1.20240116.1) - - abseil/flags/flag (= 1.20240116.1) - - abseil/flags/marshalling (= 1.20240116.1) - - abseil/functional/any_invocable (= 1.20240116.1) - - abseil/functional/bind_front (= 1.20240116.1) - - abseil/functional/function_ref (= 1.20240116.1) - - abseil/hash/hash (= 1.20240116.1) - - abseil/memory/memory (= 1.20240116.1) - - abseil/meta/type_traits (= 1.20240116.1) - - abseil/random/bit_gen_ref (= 1.20240116.1) - - abseil/random/distributions (= 1.20240116.1) - - abseil/random/random (= 1.20240116.1) - - abseil/status/status (= 1.20240116.1) - - abseil/status/statusor (= 1.20240116.1) - - abseil/strings/cord (= 1.20240116.1) - - abseil/strings/str_format (= 1.20240116.1) - - abseil/strings/strings (= 1.20240116.1) - - abseil/synchronization/synchronization (= 1.20240116.1) - - abseil/time/time (= 1.20240116.1) - - abseil/types/optional (= 1.20240116.1) - - abseil/types/span (= 1.20240116.1) - - abseil/types/variant (= 1.20240116.1) - - abseil/utility/utility (= 1.20240116.1) - - BoringSSL-GRPC (= 0.0.32) - - gRPC-Core/Interface (= 1.62.1) - - gRPC-Core/Privacy (= 1.62.1) - - gRPC-Core/Interface (1.62.1) - - gRPC-Core/Privacy (1.62.1) - - GTMSessionFetcher/Core (3.3.2) - - leveldb-library (1.22.4) - - nanopb (2.30910.0): - - nanopb/decode (= 2.30910.0) - - nanopb/encode (= 2.30910.0) - - nanopb/decode (2.30910.0) - - nanopb/encode (2.30910.0) - - PromisesObjC (2.4.0) - - RecaptchaInterop (100.0.0) - -DEPENDENCIES: - - Firebase/Auth - - Firebase/Firestore - - GeoFire/Utils - -SPEC REPOS: - trunk: - - abseil - - BoringSSL-GRPC - - Firebase - - FirebaseAppCheckInterop - - FirebaseAuth - - FirebaseCore - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseFirestore - - FirebaseFirestoreInternal - - FirebaseSharedSwift - - GeoFire - - GoogleUtilities - - "gRPC-C++" - - gRPC-Core - - GTMSessionFetcher - - leveldb-library - - nanopb - - PromisesObjC - - RecaptchaInterop - -SPEC CHECKSUMS: - abseil: ebec4f56469dd7ce9ab08683c0319a68aa0ad86e - BoringSSL-GRPC: 1e2348957acdbcad360b80a264a90799984b2ba6 - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseAuth: 22eb85d3853141de7062bfabc131aa7d6335cade - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseFirestore: 3478b0580f6c16d895460611b4fcec93955f4717 - FirebaseFirestoreInternal: 627b23f682c1c2aad38ba1345ed3ca6574c5a89c - FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 - GeoFire: a579ffdcdcf6fe74ef9efd7f887d4082598d6d1f - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - "gRPC-C++": 12f33a422dcab88dcd0c53e52cd549a929f0f244 - gRPC-Core: 6ec9002832e1e22c5bb8c54994b050b0ee4205c6 - GTMSessionFetcher: 0e876eea9782ec6462e91ab872711c357322c94f - leveldb-library: 06a69cc7582d64b29424a63e085e683cc188230a - nanopb: 438bc412db1928dac798aa6fd75726007be04262 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - RecaptchaInterop: 7d1a4a01a6b2cb1610a47ef3f85f0c411434cb21 - -PODFILE CHECKSUM: 22731d7869838987cae87634f5c8630ddc505b09 - -COCOAPODS: 1.15.2 diff --git a/firestore/swift/firestore-smoketest.xcodeproj/project.pbxproj b/firestore/swift/firestore-smoketest.xcodeproj/project.pbxproj index 8367394b..ea360fd5 100644 --- a/firestore/swift/firestore-smoketest.xcodeproj/project.pbxproj +++ b/firestore/swift/firestore-smoketest.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -17,6 +17,9 @@ 3EABFB2D1E254C8F00F4BBED /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3EABFB2B1E254C8F00F4BBED /* LaunchScreen.storyboard */; }; 3EABFB381E254C8F00F4BBED /* firestore_smoketestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EABFB371E254C8F00F4BBED /* firestore_smoketestTests.swift */; }; 3EABFB431E254C8F00F4BBED /* firestore_smoketestUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EABFB421E254C8F00F4BBED /* firestore_smoketestUITests.swift */; }; + 8D7951A32D28AC82000FD694 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951A22D28AC82000FD694 /* FirebaseAuth */; }; + 8D7951A52D28AC82000FD694 /* FirebaseFirestore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951A42D28AC82000FD694 /* FirebaseFirestore */; }; + 8D7951A82D28ADBE000FD694 /* GeoFireUtils in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951A72D28ADBE000FD694 /* GeoFireUtils */; }; 8D864B17260D3947008E85B3 /* SolutionBundles.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D864B16260D3947008E85B3 /* SolutionBundles.swift */; }; 8D864B35260D55C1008E85B3 /* SolutionGeoPointViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DFC116F258A2B8E00D080CB /* SolutionGeoPointViewController.swift */; }; 8DA9B4AB201165C800EC29CD /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8DA9B4AA201165C800EC29CD /* GoogleService-Info.plist */; }; @@ -66,6 +69,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951A32D28AC82000FD694 /* FirebaseAuth in Frameworks */, + 8D7951A82D28ADBE000FD694 /* GeoFireUtils in Frameworks */, + 8D7951A52D28AC82000FD694 /* FirebaseFirestore in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -92,8 +98,8 @@ 3EABFB211E254C8F00F4BBED /* firestore-smoketest */, 3EABFB361E254C8F00F4BBED /* firestore-smoketestTests */, 3EABFB411E254C8F00F4BBED /* firestore-smoketestUITests */, + 8D7951A12D28AC82000FD694 /* Frameworks */, 3EABFB201E254C8F00F4BBED /* Products */, - 89B479BF7A6DFFF64734BB51 /* Pods */, ); sourceTree = ""; }; @@ -144,11 +150,11 @@ path = "firestore-smoketestUITests"; sourceTree = ""; }; - 89B479BF7A6DFFF64734BB51 /* Pods */ = { + 8D7951A12D28AC82000FD694 /* Frameworks */ = { isa = PBXGroup; children = ( ); - path = Pods; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ @@ -213,8 +219,9 @@ 3EABFB171E254C8E00F4BBED /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 1000; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Firebase; TargetAttributes = { 3EABFB1E1E254C8E00F4BBED = { @@ -238,14 +245,17 @@ }; buildConfigurationList = 3EABFB1A1E254C8E00F4BBED /* Build configuration list for PBXProject "firestore-smoketest" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); mainGroup = 3EABFB161E254C8E00F4BBED; + packageReferences = ( + 8D7951A02D28AC75000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + 8D7951A62D28ADAE000FD694 /* XCRemoteSwiftPackageReference "geofire-objc" */, + ); productRefGroup = 3EABFB201E254C8F00F4BBED /* Products */; projectDirPath = ""; projectRoot = ""; @@ -375,6 +385,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -386,6 +397,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -400,7 +412,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -434,6 +446,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -445,6 +458,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -453,10 +467,11 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -469,7 +484,10 @@ "GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64]" = YES; INFOPLIST_FILE = "firestore-smoketest/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketest"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -484,7 +502,10 @@ "GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64]" = YES; INFOPLIST_FILE = "firestore-smoketest/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketest"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -495,10 +516,13 @@ 3EABFB4B1E254C8F00F4BBED /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "firestore-smoketestTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketestTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -509,10 +533,13 @@ 3EABFB4C1E254C8F00F4BBED /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = "firestore-smoketestTests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketestTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -523,9 +550,12 @@ 3EABFB4E1E254C8F00F4BBED /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "firestore-smoketestUITests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketestUITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -536,9 +566,12 @@ 3EABFB4F1E254C8F00F4BBED /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; INFOPLIST_FILE = "firestore-smoketestUITests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.firestore-smoketestUITests"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; @@ -586,6 +619,43 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951A02D28AC75000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; + 8D7951A62D28ADAE000FD694 /* XCRemoteSwiftPackageReference "geofire-objc" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/geofire-objc"; + requirement = { + branch = master; + kind = branch; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951A22D28AC82000FD694 /* FirebaseAuth */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A02D28AC75000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAuth; + }; + 8D7951A42D28AC82000FD694 /* FirebaseFirestore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A02D28AC75000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFirestore; + }; + 8D7951A72D28ADBE000FD694 /* GeoFireUtils */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A62D28ADAE000FD694 /* XCRemoteSwiftPackageReference "geofire-objc" */; + productName = GeoFireUtils; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 3EABFB171E254C8E00F4BBED /* Project object */; } diff --git a/firestore/swift/firestore-smoketest/SolutionGeoPointViewController.swift b/firestore/swift/firestore-smoketest/SolutionGeoPointViewController.swift index 0866c12b..963f3f78 100644 --- a/firestore/swift/firestore-smoketest/SolutionGeoPointViewController.swift +++ b/firestore/swift/firestore-smoketest/SolutionGeoPointViewController.swift @@ -18,7 +18,7 @@ import UIKit import FirebaseCore import FirebaseFirestore -import GeoFire +import GeoFireUtils import CoreLocation class SolutionGeoPointController: UIViewController { diff --git a/firestore/swift/firestore-smoketest/ViewController.swift b/firestore/swift/firestore-smoketest/ViewController.swift index 436d870c..7b9171d4 100644 --- a/firestore/swift/firestore-smoketest/ViewController.swift +++ b/firestore/swift/firestore-smoketest/ViewController.swift @@ -1352,6 +1352,97 @@ class ViewController: UIViewController { } // [END multi_aggregate_collection] } + + private func orQuery() { + // [START or_query] + let query = db.collection("cities").whereFilter(Filter.andFilter([ + Filter.whereField("state", isEqualTo: "CA"), + Filter.orFilter([ + Filter.whereField("capital", isEqualTo: true), + Filter.whereField("population", isGreaterOrEqualTo: 1000000) + ]) + ])) + // [END or_query] + } + + private func orQueryDisjunctions() { + let collection = db.collection("cities") + + // [START one_disjunction] + collection.whereField("a", isEqualTo: 1) + // [END one_disjunction] + + // [START two_disjunctions] + collection.whereFilter(Filter.orFilter([ + Filter.whereField("a", isEqualTo: 1), + Filter.whereField("b", isEqualTo: 2) + ])) + // [END two_disjunctions] + + // [START four_disjunctions] + collection.whereFilter(Filter.orFilter([ + Filter.andFilter([ + Filter.whereField("a", isEqualTo: 1), + Filter.whereField("c", isEqualTo: 3) + ]), + Filter.andFilter([ + Filter.whereField("a", isEqualTo: 1), + Filter.whereField("d", isEqualTo: 4) + ]), + Filter.andFilter([ + Filter.whereField("b", isEqualTo: 2), + Filter.whereField("c", isEqualTo: 3) + ]), + Filter.andFilter([ + Filter.whereField("b", isEqualTo: 2), + Filter.whereField("d", isEqualTo: 4) + ]) + ])) + // [END four_disjunctions] + + // [START four_disjunctions_compact] + collection.whereFilter(Filter.andFilter([ + Filter.orFilter([ + Filter.whereField("a", isEqualTo: 1), + Filter.whereField("b", isEqualTo: 2) + ]), + Filter.orFilter([ + Filter.whereField("c", isEqualTo: 3), + Filter.whereField("d", isEqualTo: 4) + ]), + ])) + // [END four_disjunctions_compact] + + // [START 20_disjunctions] + collection.whereFilter(Filter.orFilter([ + Filter.whereField("a", in: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]), + Filter.whereField("b", in: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) + ])) + // [END 20_disjunctions] + + // [START 10_disjunctions] + collection.whereFilter(Filter.andFilter([ + Filter.whereField("a", in: [1, 2, 3, 4, 5]), + Filter.orFilter([ + Filter.whereField("b", isEqualTo: 2), + Filter.whereField("c", isEqualTo: 3) + ]) + ])) + // [END 10_disjunctions] + } + + // This method crashes, so don't include it in the smoketest. + func illegalDisjunctions() { + let collection = db.collection("cities") + + // [START 50_disjunctions] + collection.whereFilter(Filter.andFilter([ + Filter.whereField("a", in: [1, 2, 3, 4, 5]), + Filter.whereField("b", in: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) + ])) + // [END 50_disjunctions] + } + } // [START codable_struct] diff --git a/firoptions/FiroptionConfiguration.xcodeproj/project.pbxproj b/firoptions/FiroptionConfiguration.xcodeproj/project.pbxproj index 1572b257..6c7323c0 100644 --- a/firoptions/FiroptionConfiguration.xcodeproj/project.pbxproj +++ b/firoptions/FiroptionConfiguration.xcodeproj/project.pbxproj @@ -3,10 +3,16 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 8D7951AC2D28AF88000FD694 /* FirebaseAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951AB2D28AF88000FD694 /* FirebaseAnalytics */; }; + 8D7951AE2D28AF88000FD694 /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951AD2D28AF88000FD694 /* FirebaseCore */; }; + 8D7951B02D28AF88000FD694 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951AF2D28AF88000FD694 /* FirebaseDatabase */; }; + 8D7951B22D28AFF4000FD694 /* FirebaseAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951B12D28AFF4000FD694 /* FirebaseAnalytics */; }; + 8D7951B42D28AFF4000FD694 /* FirebaseCore in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951B32D28AFF4000FD694 /* FirebaseCore */; }; + 8D7951B62D28B003000FD694 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951B52D28B003000FD694 /* FirebaseDatabase */; }; 8DFC20162410844B004392AD /* AnalyticsHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DFC20152410844B004392AD /* AnalyticsHelper.m */; }; A19F764427EDED14002DE108 /* ISImpressionData.m in Sources */ = {isa = PBXBuildFile; fileRef = A19F764027EDED14002DE108 /* ISImpressionData.m */; }; A19F764527EDED14002DE108 /* MAAd.m in Sources */ = {isa = PBXBuildFile; fileRef = A19F764327EDED14002DE108 /* MAAd.m */; }; @@ -51,6 +57,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951B02D28AF88000FD694 /* FirebaseDatabase in Frameworks */, + 8D7951AE2D28AF88000FD694 /* FirebaseCore in Frameworks */, + 8D7951AC2D28AF88000FD694 /* FirebaseAnalytics in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -58,17 +67,20 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951B62D28B003000FD694 /* FirebaseDatabase in Frameworks */, + 8D7951B42D28AFF4000FD694 /* FirebaseCore in Frameworks */, + 8D7951B22D28AFF4000FD694 /* FirebaseAnalytics in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 868938E40019DC0FEF0F5F30 /* Pods */ = { + 8D7951AA2D28AF88000FD694 /* Frameworks */ = { isa = PBXGroup; children = ( ); - path = Pods; + name = Frameworks; sourceTree = ""; }; EFEC9D561E01BF310021BDF9 = { @@ -76,8 +88,8 @@ children = ( EFEC9D9B1E01EEB60021BDF9 /* Dev */, EFEC9D611E01BF310021BDF9 /* FiroptionConfiguration */, + 8D7951AA2D28AF88000FD694 /* Frameworks */, EFEC9D601E01BF310021BDF9 /* Products */, - 868938E40019DC0FEF0F5F30 /* Pods */, ); sourceTree = ""; }; @@ -163,8 +175,9 @@ EFEC9D571E01BF310021BDF9 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0820; - LastUpgradeCheck = 1130; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Google; TargetAttributes = { EFEC9D5E1E01BF310021BDF9 = { @@ -189,6 +202,9 @@ Base, ); mainGroup = EFEC9D561E01BF310021BDF9; + packageReferences = ( + 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = EFEC9D601E01BF310021BDF9 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -293,6 +309,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -303,6 +320,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -317,7 +335,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.2; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -351,6 +369,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -361,6 +380,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -369,10 +389,11 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.2; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -385,7 +406,10 @@ CLANG_ENABLE_MODULES = YES; DEVELOPMENT_TEAM = EQHXZ8M8AV; INFOPLIST_FILE = FiroptionConfiguration/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.devrel.FiroptionConfiguration; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "FiroptionConfiguration/FiroptionConfiguration-Bridging-Header.h"; @@ -401,7 +425,10 @@ CLANG_ENABLE_MODULES = YES; DEVELOPMENT_TEAM = EQHXZ8M8AV; INFOPLIST_FILE = FiroptionConfiguration/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.devrel.FiroptionConfiguration; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "FiroptionConfiguration/FiroptionConfiguration-Bridging-Header.h"; @@ -415,7 +442,10 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = EQHXZ8M8AV; INFOPLIST_FILE = "$(SRCROOT)/FiroptionConfiguration/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.devrel.FiroptionConfigurationDev; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.2; @@ -428,7 +458,10 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; DEVELOPMENT_TEAM = EQHXZ8M8AV; INFOPLIST_FILE = "$(SRCROOT)/FiroptionConfiguration/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.devrel.FiroptionConfigurationDev; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.2; @@ -466,6 +499,50 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951AB2D28AF88000FD694 /* FirebaseAnalytics */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAnalytics; + }; + 8D7951AD2D28AF88000FD694 /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; + 8D7951AF2D28AF88000FD694 /* FirebaseDatabase */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseDatabase; + }; + 8D7951B12D28AFF4000FD694 /* FirebaseAnalytics */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseAnalytics; + }; + 8D7951B32D28AFF4000FD694 /* FirebaseCore */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseCore; + }; + 8D7951B52D28B003000FD694 /* FirebaseDatabase */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951A92D28AF6D000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseDatabase; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = EFEC9D571E01BF310021BDF9 /* Project object */; } diff --git a/firoptions/FiroptionConfiguration/AppDelegate.swift b/firoptions/FiroptionConfiguration/AppDelegate.swift index b3e1e5fc..1311dfcc 100644 --- a/firoptions/FiroptionConfiguration/AppDelegate.swift +++ b/firoptions/FiroptionConfiguration/AppDelegate.swift @@ -15,7 +15,8 @@ // import UIKit -import Firebase +import FirebaseCore +import FirebaseDatabase @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { @@ -53,11 +54,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // The other options are not mandatory, but may be required // for specific Firebase products. secondaryOptions.bundleID = "com.google.firebase.devrel.FiroptionConfiguration" - secondaryOptions.trackingID = "UA-12345678-1" secondaryOptions.clientID = "27992087142-ola6qe637ulk8780vl8mo5vogegkm23n.apps.googleusercontent.com" secondaryOptions.databaseURL = "https://myproject.firebaseio.com" secondaryOptions.storageBucket = "myproject.appspot.com" - secondaryOptions.androidClientID = "12345.apps.googleusercontent.com" secondaryOptions.deepLinkURLScheme = "myapp://" secondaryOptions.storageBucket = "projectid-12345.appspot.com" secondaryOptions.appGroupID = nil diff --git a/firoptions/Podfile b/firoptions/Podfile deleted file mode 100644 index a062e3de..00000000 --- a/firoptions/Podfile +++ /dev/null @@ -1,13 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'FiroptionConfiguration' do - # Comment the next line if you're not using Swift and don't want to use dynamic frameworks - use_frameworks! - - # Pods for FiroptionConfiguration - pod 'Firebase/Analytics' - pod 'Firebase/Core' - pod 'Firebase/Database' - -end diff --git a/firoptions/Podfile.lock b/firoptions/Podfile.lock deleted file mode 100644 index c31144a1..00000000 --- a/firoptions/Podfile.lock +++ /dev/null @@ -1,148 +0,0 @@ -PODS: - - Firebase/Analytics (9.6.0): - - Firebase/Core - - Firebase/Core (9.6.0): - - Firebase/CoreOnly - - FirebaseAnalytics (~> 9.6.0) - - Firebase/CoreOnly (9.6.0): - - FirebaseCore (= 9.6.0) - - Firebase/Database (9.6.0): - - Firebase/CoreOnly - - FirebaseDatabase (~> 9.6.0) - - FirebaseAnalytics (9.6.0): - - FirebaseAnalytics/AdIdSupport (= 9.6.0) - - FirebaseCore (~> 9.0) - - FirebaseInstallations (~> 9.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.7) - - GoogleUtilities/MethodSwizzler (~> 7.7) - - GoogleUtilities/Network (~> 7.7) - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseAnalytics/AdIdSupport (9.6.0): - - FirebaseCore (~> 9.0) - - FirebaseInstallations (~> 9.0) - - GoogleAppMeasurement (= 9.6.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.7) - - GoogleUtilities/MethodSwizzler (~> 7.7) - - GoogleUtilities/Network (~> 7.7) - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCore (9.6.0): - - FirebaseCoreDiagnostics (~> 9.0) - - FirebaseCoreInternal (~> 9.0) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - FirebaseCoreDiagnostics (9.6.0): - - GoogleDataTransport (< 10.0.0, >= 9.1.4) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCoreInternal (9.6.0): - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - FirebaseDatabase (9.6.0): - - FirebaseCore (~> 9.0) - - leveldb-library (~> 1.22) - - FirebaseInstallations (9.6.0): - - FirebaseCore (~> 9.0) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/UserDefaults (~> 7.7) - - PromisesObjC (~> 2.1) - - GoogleAppMeasurement (9.6.0): - - GoogleAppMeasurement/AdIdSupport (= 9.6.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.7) - - GoogleUtilities/MethodSwizzler (~> 7.7) - - GoogleUtilities/Network (~> 7.7) - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleAppMeasurement/AdIdSupport (9.6.0): - - GoogleAppMeasurement/WithoutAdIdSupport (= 9.6.0) - - GoogleUtilities/AppDelegateSwizzler (~> 7.7) - - GoogleUtilities/MethodSwizzler (~> 7.7) - - GoogleUtilities/Network (~> 7.7) - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleAppMeasurement/WithoutAdIdSupport (9.6.0): - - GoogleUtilities/AppDelegateSwizzler (~> 7.7) - - GoogleUtilities/MethodSwizzler (~> 7.7) - - GoogleUtilities/Network (~> 7.7) - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - nanopb (< 2.30910.0, >= 2.30908.0) - - GoogleDataTransport (9.4.1): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/AppDelegateSwizzler (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Logger - - GoogleUtilities/Network - - GoogleUtilities/Privacy - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - GoogleUtilities/MethodSwizzler (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - GoogleUtilities/Network (7.13.0): - - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib" - - GoogleUtilities/Privacy - - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/Reachability (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - GoogleUtilities/UserDefaults (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - leveldb-library (1.22.1) - - nanopb (2.30909.1): - - nanopb/decode (= 2.30909.1) - - nanopb/encode (= 2.30909.1) - - nanopb/decode (2.30909.1) - - nanopb/encode (2.30909.1) - - PromisesObjC (2.4.0) - -DEPENDENCIES: - - Firebase/Analytics - - Firebase/Core - - Firebase/Database - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAnalytics - - FirebaseCore - - FirebaseCoreDiagnostics - - FirebaseCoreInternal - - FirebaseDatabase - - FirebaseInstallations - - GoogleAppMeasurement - - GoogleDataTransport - - GoogleUtilities - - leveldb-library - - nanopb - - PromisesObjC - -SPEC CHECKSUMS: - Firebase: 5ae8b7cf8efce559a653aef0ad95bab3f427c351 - FirebaseAnalytics: 89ad762c6c3852a685794174757e2c60a36b6a82 - FirebaseCore: 2082fffcd855f95f883c0a1641133eb9bbe76d40 - FirebaseCoreDiagnostics: 99a495094b10a57eeb3ae8efa1665700ad0bdaa6 - FirebaseCoreInternal: bca76517fe1ed381e989f5e7d8abb0da8d85bed3 - FirebaseDatabase: 3de19e533a73d45e25917b46aafe1dd344ec8119 - FirebaseInstallations: 0a115432c4e223c5ab20b0dbbe4cbefa793a0e8e - GoogleAppMeasurement: 6de2b1a69e4326eb82ee05d138f6a5cb7311bcb1 - GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729 - nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - -PODFILE CHECKSUM: 637f4cec311becce3d9f62d24448342df688ce41 - -COCOAPODS: 1.15.2 diff --git a/functions/FunctionsExample.xcodeproj/project.pbxproj b/functions/FunctionsExample.xcodeproj/project.pbxproj index 54bcb58e..207b4f35 100644 --- a/functions/FunctionsExample.xcodeproj/project.pbxproj +++ b/functions/FunctionsExample.xcodeproj/project.pbxproj @@ -3,10 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 8D7951BA2D28B078000FD694 /* FirebaseFunctions in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951B92D28B078000FD694 /* FirebaseFunctions */; }; + 8D7951BC2D28B0C4000FD694 /* FirebaseFunctions in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951BB2D28B0C4000FD694 /* FirebaseFunctions */; }; 8D8FA34322F4CAB100213E06 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34222F4CAB100213E06 /* AppDelegate.m */; }; 8D8FA34622F4CAB100213E06 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34522F4CAB100213E06 /* ViewController.m */; }; 8D8FA34922F4CAB100213E06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D8FA34722F4CAB100213E06 /* Main.storyboard */; }; @@ -45,6 +47,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951BC2D28B0C4000FD694 /* FirebaseFunctions in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -52,17 +55,26 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951BA2D28B078000FD694 /* FirebaseFunctions in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8D7951B82D28B078000FD694 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; 8D8FA33522F4CAB100213E06 = { isa = PBXGroup; children = ( 8D8FA34022F4CAB100213E06 /* FunctionsExample */, 8D8FA35C22F4CAF700213E06 /* FunctionsExampleSwift */, + 8D7951B82D28B078000FD694 /* Frameworks */, 8D8FA33F22F4CAB100213E06 /* Products */, ); sourceTree = ""; @@ -148,8 +160,9 @@ 8D8FA33622F4CAB100213E06 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1020; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Firebase; TargetAttributes = { 8D8FA33D22F4CAB100213E06 = { @@ -169,6 +182,9 @@ Base, ); mainGroup = 8D8FA33522F4CAB100213E06; + packageReferences = ( + 8D7951B72D28B070000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8D8FA33F22F4CAB100213E06 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -286,6 +302,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -297,6 +314,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -345,6 +363,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -356,6 +375,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -368,6 +388,7 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; VALIDATE_PRODUCT = YES; }; name = Release; @@ -473,6 +494,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951B72D28B070000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951B92D28B078000FD694 /* FirebaseFunctions */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951B72D28B070000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFunctions; + }; + 8D7951BB2D28B0C4000FD694 /* FirebaseFunctions */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951B72D28B070000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFunctions; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8D8FA33622F4CAB100213E06 /* Project object */; } diff --git a/functions/FunctionsExampleSwift/ViewController.swift b/functions/FunctionsExampleSwift/ViewController.swift index 39b41284..0a0c6c25 100644 --- a/functions/FunctionsExampleSwift/ViewController.swift +++ b/functions/FunctionsExampleSwift/ViewController.swift @@ -26,7 +26,7 @@ class ViewController: UIViewController { func emulatorSettings() { // [START functions_emulator_connect] - Functions.functions().useFunctionsEmulator(origin: "http://127.0.0.1:5001") + Functions.functions().useEmulator(withHost: "localhost", port: 5001) // [END functions_emulator_connect] } diff --git a/functions/Podfile b/functions/Podfile deleted file mode 100644 index 070ed351..00000000 --- a/functions/Podfile +++ /dev/null @@ -1,18 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'FunctionsExample' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Functions' - -end - -target 'FunctionsExampleSwift' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Functions' - -end diff --git a/functions/Podfile.lock b/functions/Podfile.lock deleted file mode 100644 index 03a2b111..00000000 --- a/functions/Podfile.lock +++ /dev/null @@ -1,73 +0,0 @@ -PODS: - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - Firebase/Functions (10.23.1): - - Firebase/CoreOnly - - FirebaseFunctions (~> 10.23.0) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseAuthInterop (10.23.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseFunctions (10.23.0): - - FirebaseAppCheckInterop (~> 10.10) - - FirebaseAuthInterop (~> 10.0) - - FirebaseCore (~> 10.0) - - FirebaseCoreExtension (~> 10.0) - - FirebaseMessagingInterop (~> 10.0) - - FirebaseSharedSwift (~> 10.0) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - FirebaseMessagingInterop (10.23.0) - - FirebaseSharedSwift (10.23.0) - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GTMSessionFetcher/Core (3.3.2) - - PromisesObjC (2.4.0) - -DEPENDENCIES: - - Firebase/Functions - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAppCheckInterop - - FirebaseAuthInterop - - FirebaseCore - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseFunctions - - FirebaseMessagingInterop - - FirebaseSharedSwift - - GoogleUtilities - - GTMSessionFetcher - - PromisesObjC - -SPEC CHECKSUMS: - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseAuthInterop: a458e398bb1e9b71b9b42d46e54acc666b021d0f - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseFunctions: cded4f8bab16758f92060133c73c9e9b0747c056 - FirebaseMessagingInterop: 4e285daa3ec0522b06c11a675d0c8b952c304689 - FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - GTMSessionFetcher: 0e876eea9782ec6462e91ab872711c357322c94f - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - -PODFILE CHECKSUM: 0bf21181414ed35c7e5fc96da7dd0f72b77e7b34 - -COCOAPODS: 1.15.2 diff --git a/inappmessaging/FIAMReference/FIAMReference.xcodeproj/project.pbxproj b/inappmessaging/FIAMReference/FIAMReference.xcodeproj/project.pbxproj index 7d111c20..0003f2ea 100644 --- a/inappmessaging/FIAMReference/FIAMReference.xcodeproj/project.pbxproj +++ b/inappmessaging/FIAMReference/FIAMReference.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -20,12 +20,11 @@ 3E64A7C32294513E003EE93A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3E64A7C12294513E003EE93A /* LaunchScreen.storyboard */; }; 3E64A7C9229456A3003EE93A /* CardActionFiamDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E64A7C8229456A3003EE93A /* CardActionFiamDelegate.swift */; }; 3E64A7D522946983003EE93A /* CardActionFiamDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E64A7D422946983003EE93A /* CardActionFiamDelegate.m */; }; - 7B57A0C81AD819D38114C0DA /* Pods_FIAMReferenceSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5CB090B898D1808D8BFB45E /* Pods_FIAMReferenceSwift.framework */; }; - 9DC7047D28AC0715DA8758B9 /* Pods_FIAMReference.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0F31B861CDBF9DB7CD403440 /* Pods_FIAMReference.framework */; }; + 8D7951C02D2C8885000FD694 /* FirebaseInAppMessaging-Beta in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951BF2D2C8885000FD694 /* FirebaseInAppMessaging-Beta */; }; + 8D7951C22D2C888E000FD694 /* FirebaseInAppMessaging-Beta in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951C12D2C888E000FD694 /* FirebaseInAppMessaging-Beta */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 0F31B861CDBF9DB7CD403440 /* Pods_FIAMReference.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FIAMReference.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 3E64A798229376BB003EE93A /* FIAMReference.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FIAMReference.app; sourceTree = BUILT_PRODUCTS_DIR; }; 3E64A79B229376BB003EE93A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 3E64A79C229376BB003EE93A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -46,11 +45,6 @@ 3E64A7C8229456A3003EE93A /* CardActionFiamDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CardActionFiamDelegate.swift; sourceTree = ""; }; 3E64A7D322946983003EE93A /* CardActionFiamDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CardActionFiamDelegate.h; sourceTree = ""; }; 3E64A7D422946983003EE93A /* CardActionFiamDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CardActionFiamDelegate.m; sourceTree = ""; }; - 60DA3A39F9552E8B37AD597C /* Pods-FIAMReferenceSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FIAMReferenceSwift.release.xcconfig"; path = "Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift.release.xcconfig"; sourceTree = ""; }; - 8D026225BF1D8381A23B9CDD /* Pods-FIAMReferenceSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FIAMReferenceSwift.debug.xcconfig"; path = "Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift.debug.xcconfig"; sourceTree = ""; }; - 9E2817EDB630021664AEF7F0 /* Pods-FIAMReference.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FIAMReference.release.xcconfig"; path = "Target Support Files/Pods-FIAMReference/Pods-FIAMReference.release.xcconfig"; sourceTree = ""; }; - B20FEECC6333640D763A6374 /* Pods-FIAMReference.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FIAMReference.debug.xcconfig"; path = "Target Support Files/Pods-FIAMReference/Pods-FIAMReference.debug.xcconfig"; sourceTree = ""; }; - F5CB090B898D1808D8BFB45E /* Pods_FIAMReferenceSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FIAMReferenceSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -58,7 +52,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 9DC7047D28AC0715DA8758B9 /* Pods_FIAMReference.framework in Frameworks */, + 8D7951C02D2C8885000FD694 /* FirebaseInAppMessaging-Beta in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -66,7 +60,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 7B57A0C81AD819D38114C0DA /* Pods_FIAMReferenceSwift.framework in Frameworks */, + 8D7951C22D2C888E000FD694 /* FirebaseInAppMessaging-Beta in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -79,8 +73,6 @@ 3E64A79A229376BB003EE93A /* FIAMReference */, 3E64A7B72294513E003EE93A /* FIAMReferenceSwift */, 3E64A799229376BB003EE93A /* Products */, - CE6E66E48A82916264FE3F5B /* Pods */, - A53E5F3D908E32CBF3BBB4EC /* Frameworks */, ); sourceTree = ""; }; @@ -125,27 +117,6 @@ path = FIAMReferenceSwift; sourceTree = ""; }; - A53E5F3D908E32CBF3BBB4EC /* Frameworks */ = { - isa = PBXGroup; - children = ( - 0F31B861CDBF9DB7CD403440 /* Pods_FIAMReference.framework */, - F5CB090B898D1808D8BFB45E /* Pods_FIAMReferenceSwift.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - CE6E66E48A82916264FE3F5B /* Pods */ = { - isa = PBXGroup; - children = ( - B20FEECC6333640D763A6374 /* Pods-FIAMReference.debug.xcconfig */, - 9E2817EDB630021664AEF7F0 /* Pods-FIAMReference.release.xcconfig */, - 8D026225BF1D8381A23B9CDD /* Pods-FIAMReferenceSwift.debug.xcconfig */, - 60DA3A39F9552E8B37AD597C /* Pods-FIAMReferenceSwift.release.xcconfig */, - ); - name = Pods; - path = ../Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -153,12 +124,9 @@ isa = PBXNativeTarget; buildConfigurationList = 3E64A7AE229376BC003EE93A /* Build configuration list for PBXNativeTarget "FIAMReference" */; buildPhases = ( - 46E292585FA315EF59F64499 /* [CP] Check Pods Manifest.lock */, 3E64A794229376BB003EE93A /* Sources */, 3E64A795229376BB003EE93A /* Frameworks */, 3E64A796229376BB003EE93A /* Resources */, - 65339EA2723DC26D2F6AB3B9 /* [CP] Embed Pods Frameworks */, - C7965CB691942633E444DB3C /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -173,12 +141,9 @@ isa = PBXNativeTarget; buildConfigurationList = 3E64A7C72294513E003EE93A /* Build configuration list for PBXNativeTarget "FIAMReferenceSwift" */; buildPhases = ( - BBF5C5D44E878689104526D9 /* [CP] Check Pods Manifest.lock */, 3E64A7B22294513E003EE93A /* Sources */, 3E64A7B32294513E003EE93A /* Frameworks */, 3E64A7B42294513E003EE93A /* Resources */, - C45D95F46F4377C48D861896 /* [CP] Embed Pods Frameworks */, - 771EE35B3102DD3769ED7A38 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -195,8 +160,9 @@ 3E64A790229376BB003EE93A /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1000; - LastUpgradeCheck = 1000; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Google; TargetAttributes = { 3E64A797229376BB003EE93A = { @@ -216,6 +182,9 @@ Base, ); mainGroup = 3E64A78F229376BB003EE93A; + packageReferences = ( + 8D7951BD2D2C887B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 3E64A799229376BB003EE93A /* Products */; projectDirPath = ""; projectRoot = ""; @@ -249,121 +218,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 46E292585FA315EF59F64499 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-FIAMReference-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - 65339EA2723DC26D2F6AB3B9 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 771EE35B3102DD3769ED7A38 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - BBF5C5D44E878689104526D9 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-FIAMReferenceSwift-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - C45D95F46F4377C48D861896 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FIAMReferenceSwift/Pods-FIAMReferenceSwift-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - C7965CB691942633E444DB3C /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FIAMReference/Pods-FIAMReference-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 3E64A794229376BB003EE93A /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -450,6 +304,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -461,6 +316,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -475,7 +331,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -509,6 +365,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -520,6 +377,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -528,17 +386,17 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; VALIDATE_PRODUCT = YES; }; name = Release; }; 3E64A7AF229376BC003EE93A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B20FEECC6333640D763A6374 /* Pods-FIAMReference.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -555,7 +413,6 @@ }; 3E64A7B0229376BC003EE93A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 9E2817EDB630021664AEF7F0 /* Pods-FIAMReference.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -572,7 +429,6 @@ }; 3E64A7C52294513E003EE93A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8D026225BF1D8381A23B9CDD /* Pods-FIAMReferenceSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -592,7 +448,6 @@ }; 3E64A7C62294513E003EE93A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 60DA3A39F9552E8B37AD597C /* Pods-FIAMReferenceSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -641,6 +496,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951BD2D2C887B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951BF2D2C8885000FD694 /* FirebaseInAppMessaging-Beta */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951BD2D2C887B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = "FirebaseInAppMessaging-Beta"; + }; + 8D7951C12D2C888E000FD694 /* FirebaseInAppMessaging-Beta */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951BD2D2C887B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = "FirebaseInAppMessaging-Beta"; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 3E64A790229376BB003EE93A /* Project object */; } diff --git a/inappmessaging/FIAMReference/FIAMReference/AppDelegate.m b/inappmessaging/FIAMReference/FIAMReference/AppDelegate.m index 9136a8d2..708c1619 100644 --- a/inappmessaging/FIAMReference/FIAMReference/AppDelegate.m +++ b/inappmessaging/FIAMReference/FIAMReference/AppDelegate.m @@ -16,6 +16,7 @@ #import "AppDelegate.h" +@import FirebaseCore; @import FirebaseInAppMessaging; #import "CardActionFiamDelegate.h" diff --git a/inappmessaging/FIAMReference/FIAMReference/CardActionFiamDelegate.m b/inappmessaging/FIAMReference/FIAMReference/CardActionFiamDelegate.m index 84f59038..7d6a0335 100644 --- a/inappmessaging/FIAMReference/FIAMReference/CardActionFiamDelegate.m +++ b/inappmessaging/FIAMReference/FIAMReference/CardActionFiamDelegate.m @@ -40,12 +40,16 @@ - (void)messageDismissed:(nonnull FIRInAppMessagingDisplayMessage *)inAppMessage @end // [END fiam_card_action_delegate] +@interface ExampleCardActionDelegate: NSObject +@end + // [START fiam_card_action_delegate_bundles] -@implementation CardActionFiamDelegate +@implementation ExampleCardActionDelegate - (void)messageClicked:(nonnull FIRInAppMessagingDisplayMessage *)inAppMessage { - appData = inAppMessage.appData + NSDictionary *appData = inAppMessage.appData; + NSLog(@"Message data: %@", appData); // ... } diff --git a/inappmessaging/FIAMReference/FIAMReferenceSwift/CardActionFiamDelegate.swift b/inappmessaging/FIAMReference/FIAMReferenceSwift/CardActionFiamDelegate.swift index e5262d87..6349e9c6 100644 --- a/inappmessaging/FIAMReference/FIAMReferenceSwift/CardActionFiamDelegate.swift +++ b/inappmessaging/FIAMReference/FIAMReferenceSwift/CardActionFiamDelegate.swift @@ -24,7 +24,7 @@ class CardActionFiamDelegate : NSObject, InAppMessagingDisplayDelegate { } func messageDismissed(_ inAppMessage: InAppMessagingDisplayMessage, - dismissType: FIRInAppMessagingDismissType) { + dismissType: InAppMessagingDismissType) { // ... } @@ -41,7 +41,7 @@ class CardActionFiamDelegate : NSObject, InAppMessagingDisplayDelegate { // [START fiam_card_action_delegate_bundles] -class CardActionFiamDelegate : NSObject, InAppMessagingDisplayDelegate { +class CardActionDelegate : NSObject, InAppMessagingDisplayDelegate { func messageClicked(_ inAppMessage: InAppMessagingDisplayMessage) { // Get data bundle from the inapp message diff --git a/inappmessaging/Podfile b/inappmessaging/Podfile deleted file mode 100644 index 30c17274..00000000 --- a/inappmessaging/Podfile +++ /dev/null @@ -1,14 +0,0 @@ -project 'FIAMReference/FIAMReference.xcodeproj/' - -platform :ios, '8.0' -use_frameworks! - -pod 'Firebase' -pod 'Firebase/InAppMessagingDisplay' - -target 'FIAMReference' do -end - -target 'FIAMReferenceSwift' do - use_frameworks! -end diff --git a/inappmessaging/Podfile.lock b/inappmessaging/Podfile.lock deleted file mode 100644 index e375993e..00000000 --- a/inappmessaging/Podfile.lock +++ /dev/null @@ -1,89 +0,0 @@ -PODS: - - Firebase (2.5.1) - - Firebase/CoreOnly (6.15.0): - - FirebaseCore (= 6.6.0) - - Firebase/InAppMessagingDisplay (6.15.0): - - Firebase/CoreOnly - - FirebaseInAppMessagingDisplay (~> 0.15.5) - - FirebaseAnalyticsInterop (1.5.0) - - FirebaseCore (6.6.0): - - FirebaseCoreDiagnostics (~> 1.2) - - FirebaseCoreDiagnosticsInterop (~> 1.2) - - GoogleUtilities/Environment (~> 6.5) - - GoogleUtilities/Logger (~> 6.5) - - FirebaseCoreDiagnostics (1.7.0): - - GoogleDataTransport (~> 7.4) - - GoogleUtilities/Environment (~> 6.7) - - GoogleUtilities/Logger (~> 6.7) - - nanopb (~> 1.30906.0) - - FirebaseCoreDiagnosticsInterop (1.2.0) - - FirebaseInAppMessaging (0.15.3): - - FirebaseAnalyticsInterop (~> 1.3) - - FirebaseCore (~> 6.2) - - FirebaseInstanceID (~> 4.0) - - FirebaseInAppMessagingDisplay (0.15.5): - - FirebaseCore (~> 6.2) - - FirebaseInAppMessaging (>= 0.15.0) - - FirebaseInstallations (1.3.0): - - FirebaseCore (~> 6.6) - - GoogleUtilities/Environment (~> 6.6) - - GoogleUtilities/UserDefaults (~> 6.6) - - PromisesObjC (~> 1.2) - - FirebaseInstanceID (4.3.4): - - FirebaseCore (~> 6.6) - - FirebaseInstallations (~> 1.0) - - GoogleUtilities/Environment (~> 6.5) - - GoogleUtilities/UserDefaults (~> 6.5) - - GoogleDataTransport (7.5.1): - - nanopb (~> 1.30906.0) - - GoogleUtilities/Environment (6.7.2): - - PromisesObjC (~> 1.2) - - GoogleUtilities/Logger (6.7.2): - - GoogleUtilities/Environment - - GoogleUtilities/UserDefaults (6.7.2): - - GoogleUtilities/Logger - - nanopb (1.30906.0): - - nanopb/decode (= 1.30906.0) - - nanopb/encode (= 1.30906.0) - - nanopb/decode (1.30906.0) - - nanopb/encode (1.30906.0) - - PromisesObjC (1.2.10) - -DEPENDENCIES: - - Firebase - - Firebase/InAppMessagingDisplay - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAnalyticsInterop - - FirebaseCore - - FirebaseCoreDiagnostics - - FirebaseCoreDiagnosticsInterop - - FirebaseInAppMessaging - - FirebaseInAppMessagingDisplay - - FirebaseInstallations - - FirebaseInstanceID - - GoogleDataTransport - - GoogleUtilities - - nanopb - - PromisesObjC - -SPEC CHECKSUMS: - Firebase: 5d77105d9740a07ca6b16927ca971db7e860faaf - FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae - FirebaseCore: 4aeb81ff53dcd9a3634ca725dc1fb8c2a4622046 - FirebaseCoreDiagnostics: 770ac5958e1372ce67959ae4b4f31d8e127c3ac1 - FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850 - FirebaseInAppMessaging: 5db5fa181ed4215e02ded09f7e4bbcc2ce624a47 - FirebaseInAppMessagingDisplay: 60a65c8277f17675a8a5b92e9a97cd914b45d4ff - FirebaseInstallations: 6f5f680e65dc374397a483c32d1799ba822a395b - FirebaseInstanceID: cef67c4967c7cecb56ea65d8acbb4834825c587b - GoogleDataTransport: f56af7caa4ed338dc8e138a5d7c5973e66440833 - GoogleUtilities: 7f2f5a07f888cdb145101d6042bc4422f57e70b3 - nanopb: 59317e09cf1f1a0af72f12af412d54edf52603fc - PromisesObjC: b14b1c6b68e306650688599de8a45e49fae81151 - -PODFILE CHECKSUM: ee1d0162c4b114166138141943031a3ae6c42221 - -COCOAPODS: 1.15.2 diff --git a/installations/InstallationsSnippets.xcodeproj/project.pbxproj b/installations/InstallationsSnippets.xcodeproj/project.pbxproj index 479cfeb4..c66d3adb 100644 --- a/installations/InstallationsSnippets.xcodeproj/project.pbxproj +++ b/installations/InstallationsSnippets.xcodeproj/project.pbxproj @@ -3,10 +3,11 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 8D7951C62D2C8A15000FD694 /* FirebaseInstallations in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951C52D2C8A15000FD694 /* FirebaseInstallations */; }; 8DC74B6624A3DABF004C5F44 /* ObjCSnippets.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DC74B6524A3DABF004C5F44 /* ObjCSnippets.m */; }; 8DF2A72824A3D78300737F46 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DF2A72724A3D78300737F46 /* AppDelegate.swift */; }; 8DF2A72A24A3D78300737F46 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DF2A72924A3D78300737F46 /* SceneDelegate.swift */; }; @@ -49,6 +50,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951C62D2C8A15000FD694 /* FirebaseInstallations in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -62,11 +64,11 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 8AD735E937155091CB79F9CC /* Pods */ = { + 8D7951C42D2C8A15000FD694 /* Frameworks */ = { isa = PBXGroup; children = ( ); - path = Pods; + name = Frameworks; sourceTree = ""; }; 8DF2A71B24A3D78300737F46 = { @@ -74,8 +76,8 @@ children = ( 8DF2A72624A3D78300737F46 /* InstallationsSnippets */, 8DF2A73D24A3D78300737F46 /* InstallationsSnippetsTests */, + 8D7951C42D2C8A15000FD694 /* Frameworks */, 8DF2A72524A3D78300737F46 /* Products */, - 8AD735E937155091CB79F9CC /* Pods */, ); sourceTree = ""; }; @@ -166,8 +168,9 @@ 8DF2A71C24A3D78300737F46 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1140; - LastUpgradeCheck = 1140; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Firebase; TargetAttributes = { 8DF2A72324A3D78300737F46 = { @@ -189,6 +192,9 @@ Base, ); mainGroup = 8DF2A71B24A3D78300737F46; + packageReferences = ( + 8D7951C32D2C89F0000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8DF2A72524A3D78300737F46 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -287,6 +293,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -297,6 +304,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -347,6 +355,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -357,6 +366,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -421,7 +431,6 @@ 8DF2A74724A3D78300737F46 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; INFOPLIST_FILE = InstallationsSnippetsTests/Info.plist; @@ -442,7 +451,6 @@ 8DF2A74824A3D78300737F46 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; INFOPLIST_FILE = InstallationsSnippetsTests/Info.plist; @@ -491,6 +499,25 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951C32D2C89F0000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951C52D2C8A15000FD694 /* FirebaseInstallations */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951C32D2C89F0000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseInstallations; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8DF2A71C24A3D78300737F46 /* Project object */; } diff --git a/installations/InstallationsSnippets/AppDelegate.swift b/installations/InstallationsSnippets/AppDelegate.swift index 7dc08d77..f0d3cd6e 100644 --- a/installations/InstallationsSnippets/AppDelegate.swift +++ b/installations/InstallationsSnippets/AppDelegate.swift @@ -14,6 +14,7 @@ // limitations under the License. // +import UIKit import FirebaseCore import FirebaseInstallations diff --git a/installations/Podfile b/installations/Podfile deleted file mode 100644 index d3cb87f4..00000000 --- a/installations/Podfile +++ /dev/null @@ -1,15 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'InstallationsSnippets' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'FirebaseInstallations' - - target 'InstallationsSnippetsTests' do - inherit! :search_paths - # Pods for testing - end - -end diff --git a/installations/Podfile.lock b/installations/Podfile.lock deleted file mode 100644 index ea0f2e92..00000000 --- a/installations/Podfile.lock +++ /dev/null @@ -1,47 +0,0 @@ -PODS: - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseInstallations (10.23.0): - - FirebaseCore (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - GoogleUtilities/UserDefaults (~> 7.8) - - PromisesObjC (~> 2.1) - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GoogleUtilities/UserDefaults (7.13.0): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - PromisesObjC (2.4.0) - -DEPENDENCIES: - - FirebaseInstallations - -SPEC REPOS: - trunk: - - FirebaseCore - - FirebaseCoreInternal - - FirebaseInstallations - - GoogleUtilities - - PromisesObjC - -SPEC CHECKSUMS: - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - -PODFILE CHECKSUM: 904aacceb39f206bdcc33f354e02d1d3d6343a46 - -COCOAPODS: 1.15.2 diff --git a/invites/InvitesExample.xcodeproj/project.pbxproj b/invites/InvitesExample.xcodeproj/project.pbxproj deleted file mode 100644 index 9f49bc09..00000000 --- a/invites/InvitesExample.xcodeproj/project.pbxproj +++ /dev/null @@ -1,920 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1073478F20315A0F004A66D1 /* InvitesExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1073478E20315A0F004A66D1 /* InvitesExampleSwiftUITests.swift */; }; - 1073485320333BDE004A66D1 /* InvitesExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073485220333BDE004A66D1 /* InvitesExampleUITests.m */; }; - 4B1A6C781B0A752100E1EDA2 /* InvitesExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B1A6C771B0A752100E1EDA2 /* InvitesExampleTests.m */; }; - 4B1F2A361B01375C00F69A92 /* SignInViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B1F2A351B01375C00F69A92 /* SignInViewController.swift */; }; - 4B97B2591AD7145E0036DD6C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B97B2581AD7145E0036DD6C /* AppDelegate.swift */; }; - 4B97B25B1AD7145E0036DD6C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B97B25A1AD7145E0036DD6C /* ViewController.swift */; }; - 4BA30A161AE81F5A00E5CDE9 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99E21ACF472000C4DC2C /* SystemConfiguration.framework */; }; - 4BA30A171AE81F5A00E5CDE9 /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99E01ACF470F00C4DC2C /* MessageUI.framework */; }; - 4BA30A181AE81F5A00E5CDE9 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DE1ACF46FA00C4DC2C /* CoreMotion.framework */; }; - 4BA30A191AE81F5A00E5CDE9 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DC1ACF46F400C4DC2C /* CoreLocation.framework */; }; - 4BA30A1A1AE81F5A00E5CDE9 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DA1ACF46EC00C4DC2C /* AssetsLibrary.framework */; }; - 4BA30A1B1AE81F5A00E5CDE9 /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99D81ACF46E500C4DC2C /* AddressBook.framework */; }; - 4BC032E41ACF33B70092326A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BC032E31ACF33B70092326A /* main.m */; }; - 4BC032E71ACF33B70092326A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BC032E61ACF33B70092326A /* AppDelegate.m */; }; - 4BC032EA1ACF33B70092326A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BC032E91ACF33B70092326A /* ViewController.m */; }; - 4BCF1C421AFBFA8D0039B15C /* SignInViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BCF1C411AFBFA8D0039B15C /* SignInViewController.m */; }; - 4BDB99D91ACF46E500C4DC2C /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99D81ACF46E500C4DC2C /* AddressBook.framework */; }; - 4BDB99DB1ACF46EC00C4DC2C /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DA1ACF46EC00C4DC2C /* AssetsLibrary.framework */; }; - 4BDB99DD1ACF46F400C4DC2C /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DC1ACF46F400C4DC2C /* CoreLocation.framework */; }; - 4BDB99DF1ACF46FA00C4DC2C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99DE1ACF46FA00C4DC2C /* CoreMotion.framework */; }; - 4BDB99E11ACF470F00C4DC2C /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99E01ACF470F00C4DC2C /* MessageUI.framework */; }; - 4BDB99E31ACF472000C4DC2C /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BDB99E21ACF472000C4DC2C /* SystemConfiguration.framework */; }; - EF4BB4D81B05B454003A1AC6 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B5CBBFB1AE9DBF700D822CE /* Main.storyboard */; }; - EFB292011B0F1F430021C8AC /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EFB291FD1B0F1F430021C8AC /* Images.xcassets */; }; - EFB292021B0F1F430021C8AC /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EFB291FD1B0F1F430021C8AC /* Images.xcassets */; }; - EFB292031B0F1F430021C8AC /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = EFB291FE1B0F1F430021C8AC /* LaunchScreen.xib */; }; - EFB292041B0F1F430021C8AC /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = EFB291FE1B0F1F430021C8AC /* LaunchScreen.xib */; }; - EFB292061B0F20100021C8AC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B5CBBFB1AE9DBF700D822CE /* Main.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 1073479120315A0F004A66D1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 4BC032D61ACF33B70092326A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4B97B2521AD7145E0036DD6C; - remoteInfo = InvitesExampleSwift; - }; - 1073485520333BDE004A66D1 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 4BC032D61ACF33B70092326A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4BC032DD1ACF33B70092326A; - remoteInfo = InvitesExample; - }; - 4B1A6C791B0A752100E1EDA2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 4BC032D61ACF33B70092326A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4BC032DD1ACF33B70092326A; - remoteInfo = AppInvitesExample; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 105A4F501D91C5A500B5DE54 /* InvitesExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = InvitesExample.entitlements; sourceTree = ""; }; - 1073478C20315A0F004A66D1 /* InvitesExampleSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = InvitesExampleSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 1073478E20315A0F004A66D1 /* InvitesExampleSwiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InvitesExampleSwiftUITests.swift; sourceTree = ""; }; - 1073479020315A0F004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 1073485020333BDE004A66D1 /* InvitesExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = InvitesExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 1073485220333BDE004A66D1 /* InvitesExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InvitesExampleUITests.m; sourceTree = ""; }; - 1073485420333BDE004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 108F89D31D47B0090009615B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 4B1A6C731B0A752100E1EDA2 /* InvitesExample.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = InvitesExample.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 4B1A6C771B0A752100E1EDA2 /* InvitesExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InvitesExampleTests.m; sourceTree = ""; }; - 4B1F2A351B01375C00F69A92 /* SignInViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignInViewController.swift; sourceTree = ""; }; - 4B5CBBFC1AE9DBF700D822CE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 4B97B2531AD7145E0036DD6C /* InvitesExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = InvitesExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 4B97B2581AD7145E0036DD6C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 4B97B25A1AD7145E0036DD6C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 4B97B25F1AD7145E0036DD6C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 4BC032DE1ACF33B70092326A /* InvitesExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = InvitesExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 4BC032E31ACF33B70092326A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 4BC032E51ACF33B70092326A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 4BC032E61ACF33B70092326A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 4BC032E81ACF33B70092326A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 4BC032E91ACF33B70092326A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - 4BCF1C411AFBFA8D0039B15C /* SignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignInViewController.m; sourceTree = ""; }; - 4BCF1C431AFC01A40039B15C /* SignInViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SignInViewController.h; sourceTree = ""; }; - 4BDB99D81ACF46E500C4DC2C /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; }; - 4BDB99DA1ACF46EC00C4DC2C /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; }; - 4BDB99DC1ACF46F400C4DC2C /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; - 4BDB99DE1ACF46FA00C4DC2C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; }; - 4BDB99E01ACF470F00C4DC2C /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; }; - 4BDB99E21ACF472000C4DC2C /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; - EFB291FD1B0F1F430021C8AC /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - EFB291FE1B0F1F430021C8AC /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1073478920315A0F004A66D1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1073484D20333BDE004A66D1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B1A6C701B0A752100E1EDA2 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B97B2501AD7145E0036DD6C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4BA30A161AE81F5A00E5CDE9 /* SystemConfiguration.framework in Frameworks */, - 4BA30A171AE81F5A00E5CDE9 /* MessageUI.framework in Frameworks */, - 4BA30A181AE81F5A00E5CDE9 /* CoreMotion.framework in Frameworks */, - 4BA30A191AE81F5A00E5CDE9 /* CoreLocation.framework in Frameworks */, - 4BA30A1A1AE81F5A00E5CDE9 /* AssetsLibrary.framework in Frameworks */, - 4BA30A1B1AE81F5A00E5CDE9 /* AddressBook.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4BC032DB1ACF33B70092326A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4BDB99E31ACF472000C4DC2C /* SystemConfiguration.framework in Frameworks */, - 4BDB99E11ACF470F00C4DC2C /* MessageUI.framework in Frameworks */, - 4BDB99DF1ACF46FA00C4DC2C /* CoreMotion.framework in Frameworks */, - 4BDB99DD1ACF46F400C4DC2C /* CoreLocation.framework in Frameworks */, - 4BDB99DB1ACF46EC00C4DC2C /* AssetsLibrary.framework in Frameworks */, - 4BDB99D91ACF46E500C4DC2C /* AddressBook.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1073478D20315A0F004A66D1 /* InvitesExampleSwiftUITests */ = { - isa = PBXGroup; - children = ( - 1073478E20315A0F004A66D1 /* InvitesExampleSwiftUITests.swift */, - 1073479020315A0F004A66D1 /* Info.plist */, - ); - path = InvitesExampleSwiftUITests; - sourceTree = ""; - }; - 1073485120333BDE004A66D1 /* InvitesExampleUITests */ = { - isa = PBXGroup; - children = ( - 1073485220333BDE004A66D1 /* InvitesExampleUITests.m */, - 1073485420333BDE004A66D1 /* Info.plist */, - ); - path = InvitesExampleUITests; - sourceTree = ""; - }; - 4B1A6C741B0A752100E1EDA2 /* InvitesExampleTests */ = { - isa = PBXGroup; - children = ( - 4B1A6C771B0A752100E1EDA2 /* InvitesExampleTests.m */, - ); - path = InvitesExampleTests; - sourceTree = ""; - }; - 4B97B2551AD7145E0036DD6C /* InvitesExampleSwift */ = { - isa = PBXGroup; - children = ( - 4B97B2581AD7145E0036DD6C /* AppDelegate.swift */, - 4B1F2A351B01375C00F69A92 /* SignInViewController.swift */, - 4B97B25A1AD7145E0036DD6C /* ViewController.swift */, - 4B97B25F1AD7145E0036DD6C /* Images.xcassets */, - ); - path = InvitesExampleSwift; - sourceTree = ""; - }; - 4BC032D51ACF33B70092326A = { - isa = PBXGroup; - children = ( - 4BC032E01ACF33B70092326A /* InvitesExample */, - 4B97B2551AD7145E0036DD6C /* InvitesExampleSwift */, - 4B1A6C741B0A752100E1EDA2 /* InvitesExampleTests */, - 1073478D20315A0F004A66D1 /* InvitesExampleSwiftUITests */, - 1073485120333BDE004A66D1 /* InvitesExampleUITests */, - 4BC032DF1ACF33B70092326A /* Products */, - E27D599993EDB54E213FA076 /* Frameworks */, - ); - sourceTree = ""; - }; - 4BC032DF1ACF33B70092326A /* Products */ = { - isa = PBXGroup; - children = ( - 4BC032DE1ACF33B70092326A /* InvitesExample.app */, - 4B97B2531AD7145E0036DD6C /* InvitesExample.app */, - 4B1A6C731B0A752100E1EDA2 /* InvitesExample.xctest */, - 1073478C20315A0F004A66D1 /* InvitesExampleSwiftUITests.xctest */, - 1073485020333BDE004A66D1 /* InvitesExampleUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 4BC032E01ACF33B70092326A /* InvitesExample */ = { - isa = PBXGroup; - children = ( - 105A4F501D91C5A500B5DE54 /* InvitesExample.entitlements */, - 4BC032E51ACF33B70092326A /* AppDelegate.h */, - 4BC032E61ACF33B70092326A /* AppDelegate.m */, - 4BCF1C431AFC01A40039B15C /* SignInViewController.h */, - 4BCF1C411AFBFA8D0039B15C /* SignInViewController.m */, - 4BC032E81ACF33B70092326A /* ViewController.h */, - 4BC032E91ACF33B70092326A /* ViewController.m */, - 4BC032E11ACF33B70092326A /* Supporting Files */, - ); - path = InvitesExample; - sourceTree = ""; - }; - 4BC032E11ACF33B70092326A /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 108F89D31D47B0090009615B /* Info.plist */, - EFB291FB1B0F1F430021C8AC /* shared */, - 4B5CBBFB1AE9DBF700D822CE /* Main.storyboard */, - 4BC032E31ACF33B70092326A /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - E27D599993EDB54E213FA076 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 4BDB99E21ACF472000C4DC2C /* SystemConfiguration.framework */, - 4BDB99E01ACF470F00C4DC2C /* MessageUI.framework */, - 4BDB99DE1ACF46FA00C4DC2C /* CoreMotion.framework */, - 4BDB99DC1ACF46F400C4DC2C /* CoreLocation.framework */, - 4BDB99DA1ACF46EC00C4DC2C /* AssetsLibrary.framework */, - 4BDB99D81ACF46E500C4DC2C /* AddressBook.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - EFB291FB1B0F1F430021C8AC /* shared */ = { - isa = PBXGroup; - children = ( - EFB291FD1B0F1F430021C8AC /* Images.xcassets */, - EFB291FE1B0F1F430021C8AC /* LaunchScreen.xib */, - ); - name = shared; - path = ../../shared; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 1073478B20315A0F004A66D1 /* InvitesExampleSwiftUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1073479320315A0F004A66D1 /* Build configuration list for PBXNativeTarget "InvitesExampleSwiftUITests" */; - buildPhases = ( - 1073478820315A0F004A66D1 /* Sources */, - 1073478920315A0F004A66D1 /* Frameworks */, - 1073478A20315A0F004A66D1 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 1073479220315A0F004A66D1 /* PBXTargetDependency */, - ); - name = InvitesExampleSwiftUITests; - productName = InvitesExampleSwiftUITests; - productReference = 1073478C20315A0F004A66D1 /* InvitesExampleSwiftUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; - 1073484F20333BDE004A66D1 /* InvitesExampleUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1073485720333BDE004A66D1 /* Build configuration list for PBXNativeTarget "InvitesExampleUITests" */; - buildPhases = ( - 1073484C20333BDE004A66D1 /* Sources */, - 1073484D20333BDE004A66D1 /* Frameworks */, - 1073484E20333BDE004A66D1 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 1073485620333BDE004A66D1 /* PBXTargetDependency */, - ); - name = InvitesExampleUITests; - productName = InvitesExampleUITests; - productReference = 1073485020333BDE004A66D1 /* InvitesExampleUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; - 4B1A6C721B0A752100E1EDA2 /* InvitesExampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4B1A6C7D1B0A752100E1EDA2 /* Build configuration list for PBXNativeTarget "InvitesExampleTests" */; - buildPhases = ( - 4B1A6C6F1B0A752100E1EDA2 /* Sources */, - 4B1A6C701B0A752100E1EDA2 /* Frameworks */, - 4B1A6C711B0A752100E1EDA2 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 4B1A6C7A1B0A752100E1EDA2 /* PBXTargetDependency */, - ); - name = InvitesExampleTests; - productName = AppInvitesExampleTests; - productReference = 4B1A6C731B0A752100E1EDA2 /* InvitesExample.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 4B97B2521AD7145E0036DD6C /* InvitesExampleSwift */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4B97B2721AD7145E0036DD6C /* Build configuration list for PBXNativeTarget "InvitesExampleSwift" */; - buildPhases = ( - 4B97B24F1AD7145E0036DD6C /* Sources */, - 4B97B2511AD7145E0036DD6C /* Resources */, - 4B97B2501AD7145E0036DD6C /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = InvitesExampleSwift; - productName = AppInvitesExampleSwift; - productReference = 4B97B2531AD7145E0036DD6C /* InvitesExample.app */; - productType = "com.apple.product-type.application"; - }; - 4BC032DD1ACF33B70092326A /* InvitesExample */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4BC033011ACF33B70092326A /* Build configuration list for PBXNativeTarget "InvitesExample" */; - buildPhases = ( - 4BC032DA1ACF33B70092326A /* Sources */, - 4BC032DC1ACF33B70092326A /* Resources */, - 4BC032DB1ACF33B70092326A /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = InvitesExample; - productName = AppInvitesExample; - productReference = 4BC032DE1ACF33B70092326A /* InvitesExample.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 4BC032D61ACF33B70092326A /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; - ORGANIZATIONNAME = "Google Inc."; - TargetAttributes = { - 1073478B20315A0F004A66D1 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1000; - ProvisioningStyle = Automatic; - TestTargetID = 4B97B2521AD7145E0036DD6C; - }; - 1073484F20333BDE004A66D1 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Automatic; - TestTargetID = 4BC032DD1ACF33B70092326A; - }; - 4B1A6C721B0A752100E1EDA2 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0800; - ProvisioningStyle = Automatic; - TestTargetID = 4BC032DD1ACF33B70092326A; - }; - 4B97B2521AD7145E0036DD6C = { - LastSwiftMigration = 1000; - ProvisioningStyle = Automatic; - }; - 4BC032DD1ACF33B70092326A = { - CreatedOnToolsVersion = 6.2; - LastSwiftMigration = 0800; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = 4BC032D91ACF33B70092326A /* Build configuration list for PBXProject "InvitesExample" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 4BC032D51ACF33B70092326A; - productRefGroup = 4BC032DF1ACF33B70092326A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 4BC032DD1ACF33B70092326A /* InvitesExample */, - 4B97B2521AD7145E0036DD6C /* InvitesExampleSwift */, - 4B1A6C721B0A752100E1EDA2 /* InvitesExampleTests */, - 1073478B20315A0F004A66D1 /* InvitesExampleSwiftUITests */, - 1073484F20333BDE004A66D1 /* InvitesExampleUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1073478A20315A0F004A66D1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1073484E20333BDE004A66D1 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B1A6C711B0A752100E1EDA2 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B97B2511AD7145E0036DD6C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - EFB292061B0F20100021C8AC /* Main.storyboard in Resources */, - EFB292041B0F1F430021C8AC /* LaunchScreen.xib in Resources */, - EFB292021B0F1F430021C8AC /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4BC032DC1ACF33B70092326A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - EF4BB4D81B05B454003A1AC6 /* Main.storyboard in Resources */, - EFB292011B0F1F430021C8AC /* Images.xcassets in Resources */, - EFB292031B0F1F430021C8AC /* LaunchScreen.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1073478820315A0F004A66D1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1073478F20315A0F004A66D1 /* InvitesExampleSwiftUITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 1073484C20333BDE004A66D1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1073485320333BDE004A66D1 /* InvitesExampleUITests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B1A6C6F1B0A752100E1EDA2 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4B1A6C781B0A752100E1EDA2 /* InvitesExampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4B97B24F1AD7145E0036DD6C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4B97B25B1AD7145E0036DD6C /* ViewController.swift in Sources */, - 4B97B2591AD7145E0036DD6C /* AppDelegate.swift in Sources */, - 4B1F2A361B01375C00F69A92 /* SignInViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 4BC032DA1ACF33B70092326A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4BCF1C421AFBFA8D0039B15C /* SignInViewController.m in Sources */, - 4BC032EA1ACF33B70092326A /* ViewController.m in Sources */, - 4BC032E71ACF33B70092326A /* AppDelegate.m in Sources */, - 4BC032E41ACF33B70092326A /* main.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 1073479220315A0F004A66D1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 4B97B2521AD7145E0036DD6C /* InvitesExampleSwift */; - targetProxy = 1073479120315A0F004A66D1 /* PBXContainerItemProxy */; - }; - 1073485620333BDE004A66D1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 4BC032DD1ACF33B70092326A /* InvitesExample */; - targetProxy = 1073485520333BDE004A66D1 /* PBXContainerItemProxy */; - }; - 4B1A6C7A1B0A752100E1EDA2 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 4BC032DD1ACF33B70092326A /* InvitesExample */; - targetProxy = 4B1A6C791B0A752100E1EDA2 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 4B5CBBFB1AE9DBF700D822CE /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 4B5CBBFC1AE9DBF700D822CE /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 1073479420315A0F004A66D1 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = InvitesExampleSwiftUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExampleSwiftUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = InvitesExampleSwift; - }; - name = Debug; - }; - 1073479520315A0F004A66D1 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = InvitesExampleSwiftUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExampleSwiftUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = InvitesExampleSwift; - }; - name = Release; - }; - 1073485820333BDE004A66D1 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = InvitesExampleUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExampleUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = InvitesExample; - }; - name = Debug; - }; - 1073485920333BDE004A66D1 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = InvitesExampleUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExampleUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = InvitesExample; - }; - name = Release; - }; - 4B1A6C7B1B0A752100E1EDA2 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = InvitesExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.google.samples.quickstart.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE_SPECIFIER = ""; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/InvitesExample.app/InvitesExample"; - }; - name = Debug; - }; - 4B1A6C7C1B0A752100E1EDA2 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = InvitesExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.google.samples.quickstart.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE_SPECIFIER = ""; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/InvitesExample.app/InvitesExample"; - }; - name = Release; - }; - 4B97B2731AD7145E0036DD6C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = InvitesExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = "$(inherited)"; - ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = "$(inherited)"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExample; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - VALID_ARCHS = "armv7 armv7s arm64"; - }; - name = Debug; - }; - 4B97B2741AD7145E0036DD6C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = InvitesExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited)"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExample; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE_SPECIFIER = ""; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; - VALID_ARCHS = "armv7 armv7s arm64"; - }; - name = Release; - }; - 4BC032FF1ACF33B70092326A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_BITCODE = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 4BC033001ACF33B70092326A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 4BC033021ACF33B70092326A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = InvitesExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExample; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE = ""; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = Debug; - }; - 4BC033031ACF33B70092326A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = InvitesExample/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.InvitesExample; - PRODUCT_NAME = InvitesExample; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1073479320315A0F004A66D1 /* Build configuration list for PBXNativeTarget "InvitesExampleSwiftUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1073479420315A0F004A66D1 /* Debug */, - 1073479520315A0F004A66D1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 1073485720333BDE004A66D1 /* Build configuration list for PBXNativeTarget "InvitesExampleUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1073485820333BDE004A66D1 /* Debug */, - 1073485920333BDE004A66D1 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4B1A6C7D1B0A752100E1EDA2 /* Build configuration list for PBXNativeTarget "InvitesExampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4B1A6C7B1B0A752100E1EDA2 /* Debug */, - 4B1A6C7C1B0A752100E1EDA2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4B97B2721AD7145E0036DD6C /* Build configuration list for PBXNativeTarget "InvitesExampleSwift" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4B97B2731AD7145E0036DD6C /* Debug */, - 4B97B2741AD7145E0036DD6C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4BC032D91ACF33B70092326A /* Build configuration list for PBXProject "InvitesExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4BC032FF1ACF33B70092326A /* Debug */, - 4BC033001ACF33B70092326A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 4BC033011ACF33B70092326A /* Build configuration list for PBXNativeTarget "InvitesExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4BC033021ACF33B70092326A /* Debug */, - 4BC033031ACF33B70092326A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 4BC032D61ACF33B70092326A /* Project object */; -} diff --git a/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExample.xcscheme b/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExample.xcscheme deleted file mode 100644 index 4a4a0eb8..00000000 --- a/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExample.xcscheme +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExampleSwift.xcscheme b/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExampleSwift.xcscheme deleted file mode 100644 index ca8c6c54..00000000 --- a/invites/InvitesExample.xcodeproj/xcshareddata/xcschemes/InvitesExampleSwift.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/invites/InvitesExample/.clang-format b/invites/InvitesExample/.clang-format deleted file mode 100644 index 1f09ce0f..00000000 --- a/invites/InvitesExample/.clang-format +++ /dev/null @@ -1,4 +0,0 @@ -BasedOnStyle: Google -ColumnLimit: 100 -BinPackParameters: false -AllowAllParametersOfDeclarationOnNextLine: true diff --git a/invites/InvitesExample/AppDelegate.h b/invites/InvitesExample/AppDelegate.h deleted file mode 100644 index 409c657c..00000000 --- a/invites/InvitesExample/AppDelegate.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -@import UIKit; - -@interface AppDelegate : UIResponder - -@property(strong, nonatomic) UIWindow *window; - -@end diff --git a/invites/InvitesExample/AppDelegate.m b/invites/InvitesExample/AppDelegate.m deleted file mode 100644 index 89ff0762..00000000 --- a/invites/InvitesExample/AppDelegate.m +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#import "AppDelegate.h" -@import FirebaseCore; -@import GoogleSignIn; - -@implementation AppDelegate - -// [START configure] -- (BOOL)application:(UIApplication *)application - didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Use Firebase library to configure APIs - [FIRApp configure]; - return YES; -} -// [END configure] - -// [START openurl] -- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url - options:(NSDictionary *)options { - return [self application:app - openURL:url - sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey] - annotation:options[UIApplicationOpenURLOptionsAnnotationKey]]; -} - -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - sourceApplication:(NSString *)sourceApplication - annotation:(id)annotation { - if ([[GIDSignIn sharedInstance] handleURL:url - sourceApplication:sourceApplication - annotation:annotation]) { - return YES; - } - // Handle App Invite requests - return [FIRInvites handleUniversalLink:url - completion:^(FIRReceivedInvite * _Nullable receivedInvite, - NSError * _Nullable error) { - // [START_EXCLUDE] - if (receivedInvite) { - [self showAlertViewWithInvite:receivedInvite]; - } - // [END_EXCLUDE] - }]; -} -// [END openurl] - -// [START continueuseractivity] -- (BOOL)application:(UIApplication *)application -continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler: -#if defined(__IPHONE_12_0) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_12_0) -(nonnull void (^)(NSArray> *_Nullable))restorationHandler { -#else - (nonnull void (^)(NSArray *_Nullable))restorationHandler { -#endif // __IPHONE_12_0 - // Handle App Invite requests - return [FIRInvites handleUniversalLink:userActivity.webpageURL - completion:^(FIRReceivedInvite * _Nullable receivedInvite, - NSError * _Nullable error) { - // [START_EXCLUDE] - if (receivedInvite) { - [self showAlertViewWithInvite:receivedInvite]; - } - // [END_EXCLUDE] - }]; -} -// [END continueuseractivity] - -- (void)showAlertViewWithInvite:(FIRReceivedInvite *)invite { - UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"OK" - style:UIAlertActionStyleDefault - handler:nil]; - NSString *matchType = invite.matchType == FIRReceivedInviteMatchTypeWeak ? @"weak" : @"strong"; - NSString *message = - [NSString stringWithFormat:@"Invite ID: %@\nDeep-link: %@\nMatch Type: %@", - invite.inviteId, invite.deepLink, matchType]; - - UIAlertController *alertController = - [UIAlertController alertControllerWithTitle:@"Invite" - message:message - preferredStyle:UIAlertControllerStyleAlert]; - [alertController addAction:okAction]; - [self.window.rootViewController presentViewController:alertController - animated:YES - completion:nil]; -} -@end diff --git a/invites/InvitesExample/Base.lproj/Main.storyboard b/invites/InvitesExample/Base.lproj/Main.storyboard deleted file mode 100644 index e94cae05..00000000 --- a/invites/InvitesExample/Base.lproj/Main.storyboard +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - - - - - - - - - - Roboto-Bold - - - Roboto-Regular - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/invites/InvitesExample/Info.plist b/invites/InvitesExample/Info.plist deleted file mode 100644 index 69cf445e..00000000 --- a/invites/InvitesExample/Info.plist +++ /dev/null @@ -1,62 +0,0 @@ - - - - - NSContactsUsageDescription - Used for Firebase Invites - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0.1 - CFBundleSignature - ???? - CFBundleURLTypes - - - CFBundleTypeRole - Editor - CFBundleURLName - google - CFBundleURLSchemes - - YOUR_REVERSED_CLIENT_ID - - - - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/invites/InvitesExample/InvitesExample.entitlements b/invites/InvitesExample/InvitesExample.entitlements deleted file mode 100644 index bdcfc1a4..00000000 --- a/invites/InvitesExample/InvitesExample.entitlements +++ /dev/null @@ -1,10 +0,0 @@ - - - - - com.apple.developer.associated-domains - - applinks:n8r9f.app.goo.gl - - - diff --git a/invites/InvitesExample/SignInViewController.h b/invites/InvitesExample/SignInViewController.h deleted file mode 100644 index 3369cd1e..00000000 --- a/invites/InvitesExample/SignInViewController.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#import - -@interface SignInViewController : UIViewController - -@end \ No newline at end of file diff --git a/invites/InvitesExample/SignInViewController.m b/invites/InvitesExample/SignInViewController.m deleted file mode 100644 index 145a14b5..00000000 --- a/invites/InvitesExample/SignInViewController.m +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#import "SignInViewController.h" -#import "ViewController.h" -@import GoogleSignIn; -@import FirebaseCore; - - -@interface SignInViewController () -@property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton; -@property(weak, nonatomic) IBOutlet UILabel *bgText; -@end - -@implementation SignInViewController - -- (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; - - _bgText.text = @"Invites\niOS demo"; - - [GIDSignIn sharedInstance].clientID = [FIRApp defaultApp].options.clientID; - - // Sign the user in automatically - [GIDSignIn sharedInstance].uiDelegate = self; - [[GIDSignIn sharedInstance] signInSilently]; - - // TODO(developer): Configure the sign-in button look/feel - [GIDSignIn sharedInstance].delegate = self; -} - -- (void)signIn:(GIDSignIn *)signIn - didSignInForUser:(GIDGoogleUser *)user - withError:(NSError *)error { - if (error == nil) { - // User Successfully signed in. - // TODO: Remove async after, when GIDSignIn is started getting called after dissmissVC - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.35 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ - [self performSegueWithIdentifier:@"SignedInScreen" sender:self]; - }); - } else { - // Something went wrong; for example, the user could haved clicked cancel. - NSLog(@"%@", error.localizedDescription); - } -} - -- (UIStatusBarStyle)preferredStatusBarStyle { - return UIStatusBarStyleLightContent; -} - -- (IBAction)unwindToSignIn:(UIStoryboardSegue *)sender { - [GIDSignIn sharedInstance].delegate = self; -} -@end diff --git a/invites/InvitesExample/ViewController.h b/invites/InvitesExample/ViewController.h deleted file mode 100644 index 179f8331..00000000 --- a/invites/InvitesExample/ViewController.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -@import UIKit; - -@interface ViewController : UIViewController - -@end diff --git a/invites/InvitesExample/ViewController.m b/invites/InvitesExample/ViewController.m deleted file mode 100644 index e6b6e70a..00000000 --- a/invites/InvitesExample/ViewController.m +++ /dev/null @@ -1,172 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#import "ViewController.h" -@import GoogleSignIn; -@import Firebase; - -// [START viewcontroller_interfaces] -@interface ViewController () -// [END viewcontroller_interfaces] -// [START viewcontroller_vars] -@property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton; -@property(weak, nonatomic) IBOutlet UIButton *signOutButton; -@property(weak, nonatomic) IBOutlet UIButton *disconnectButton; -@property(weak, nonatomic) IBOutlet UIButton *inviteButton; -@property(weak, nonatomic) IBOutlet UILabel *statusText; -// [END viewcontroler_vars] -@end - -@implementation ViewController - -// [START viewdidload] -- (void)viewDidLoad { - [super viewDidLoad]; - - // TODO(developer) Configure the sign-in button look/feel - [GIDSignIn sharedInstance].delegate = self; - [GIDSignIn sharedInstance].uiDelegate = self; - - // Sign in automatically. - [[GIDSignIn sharedInstance] signInSilently]; - - [self setupUI]; - [self toggleAuthUI]; -} -// [END viewdidload] - -- (void)setupUI { - float grayValue = (204.0 / 255); - UIColor *grayColor = [UIColor colorWithRed:grayValue green:grayValue blue:grayValue alpha:1.0]; - - _inviteButton.layer.cornerRadius = 3; - _inviteButton.layer.shadowRadius = 1; - _inviteButton.layer.shadowOffset = CGSizeMake(0, 0.5); - _inviteButton.layer.shadowColor = [UIColor blackColor].CGColor; - _inviteButton.layer.shadowOpacity = .7; - - _signOutButton.layer.borderWidth = .5; - _signOutButton.layer.borderColor = grayColor.CGColor; - _signOutButton.layer.cornerRadius = 2; - _signOutButton.layer.shadowRadius = .5; - _signOutButton.layer.shadowOffset = CGSizeMake(0, 0.5); - _signOutButton.layer.shadowColor = [UIColor blackColor].CGColor; - _signOutButton.layer.shadowOpacity = .4; - - _disconnectButton.layer.borderWidth = .5; - _disconnectButton.layer.borderColor = grayColor.CGColor; - _disconnectButton.layer.cornerRadius = 2; - _disconnectButton.layer.shadowRadius = .5; - _disconnectButton.layer.shadowOffset = CGSizeMake(0, 0.5); - _disconnectButton.layer.shadowColor = [UIColor blackColor].CGColor; - _disconnectButton.layer.shadowOpacity = .4; -} - -// [START signin_handler] -- (void)signIn:(GIDSignIn *)signIn - didSignInForUser:(GIDGoogleUser *)user - withError:(NSError *)error { - // Perform any operations on signed in user here. - if (user.profile.name) { - _statusText.text = [NSString stringWithFormat:@"Signed in as %@", user.profile.name]; - } else { - _statusText.text = @"Signed in, profile name is not set"; - } - [self toggleAuthUI]; -} -// [END signin_handler] - -// [START disconnect_handler] -- (void)signIn:(GIDSignIn *)signIn - didDisconnectWithUser:(GIDGoogleUser *)user - withError:(NSError *)error { - // Perform any operations when the user disconnects from app here. - _statusText.text = @"Disconnected user"; - [self toggleAuthUI]; -} -// [END disconnect_handler] - -// [START signout_tapped] -- (IBAction)signOutTapped:(id)sender { - [[GIDSignIn sharedInstance] signOut]; - _statusText.text = @"Signed out"; - [self toggleAuthUI]; -} -// [END signout_tapped] - -// [START disconnect_tapped] -- (IBAction)disconnectTapped:(id)sender { - [[GIDSignIn sharedInstance] disconnect]; -} -// [END disconnect_tapped] - -// [START invite_tapped] -- (IBAction)inviteTapped:(id)sender { - id inviteDialog = [FIRInvites inviteDialog]; - [inviteDialog setInviteDelegate:self]; - - // NOTE: You must have the App Store ID set in your developer console project - // in order for invitations to successfully be sent. - NSString *message = - [NSString stringWithFormat:@"Try this out!\n -%@", - [GIDSignIn sharedInstance].currentUser.profile.name]; - - // A message hint for the dialog. Note this manifests differently depending on the - // received invitation type. For example, in an email invite this appears as the subject. - [inviteDialog setMessage:message]; - - // Title for the dialog, this is what the user sees before sending the invites. - [inviteDialog setTitle:@"Invites Example"]; - [inviteDialog setDeepLink:@"app_url"]; - [inviteDialog setCallToActionText:@"Install!"]; - [inviteDialog setCustomImage:@"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"]; - [inviteDialog open]; -} -// [END invite_tapped] - -// [START invite_finished] -- (void)inviteFinishedWithInvitations:(NSArray *)invitationIds error:(NSError *)error { - if (error) { - NSLog(@"%@", error.localizedDescription); - } else { - NSLog(@"%li invites sent", invitationIds.count); - } -} -// [END invite_finished] - -// [START toggle_auth] -- (void)toggleAuthUI { - if ([GIDSignIn sharedInstance].currentUser.authentication == nil) { - // Not signed in - _signInButton.enabled = YES; - _signOutButton.enabled = NO; - _disconnectButton.enabled = NO; - _inviteButton.enabled = NO; - [self performSegueWithIdentifier:@"SignedOutScreen" sender:self]; - } else { - // Signed in - _signInButton.enabled = NO; - _signOutButton.enabled = YES; - _disconnectButton.enabled = YES; - _inviteButton.enabled = YES; - } -} -// [END toggle_auth] - -- (UIStatusBarStyle)preferredStatusBarStyle { - return UIStatusBarStyleLightContent; -} -@end diff --git a/invites/InvitesExample/main.m b/invites/InvitesExample/main.m deleted file mode 100644 index d4878306..00000000 --- a/invites/InvitesExample/main.m +++ /dev/null @@ -1,24 +0,0 @@ -// -// Copyright (c) 2015 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#import -#import "AppDelegate.h" - -int main(int argc, char* argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/invites/InvitesExampleSwift/AppDelegate.swift b/invites/InvitesExampleSwift/AppDelegate.swift deleted file mode 100644 index 39c085c7..00000000 --- a/invites/InvitesExampleSwift/AppDelegate.swift +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -import UIKit -import Firebase -import GoogleSignIn - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - // [START configure] - func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { - // Use Firebase library to configure APIs - FirebaseApp.configure() - return true - } - // [END configure] - - // [START openurl] - @available(iOS 9.0, *) - func application(_ application: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any]) -> Bool { - return self.application(application, open: url, sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String, annotation: "") - } - - func application(_ application: UIApplication, - open url: URL, sourceApplication: String?, annotation: Any) -> Bool { - if GIDSignIn.sharedInstance().handle(url, sourceApplication: sourceApplication, annotation: annotation) { - return true - } - - return Invites.handleUniversalLink(url) { invite, error in - // [START_EXCLUDE] - if let error = error { - print(error.localizedDescription) - return - } - if let invite = invite { - self.showAlertView(withInvite: invite) - } - // [END_EXCLUDE] - } - } - // [END openurl] - - // [START continueuseractivity] - func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { - return Invites.handleUniversalLink(userActivity.webpageURL!) { invite, error in - // [START_EXCLUDE] - if let error = error { - print(error.localizedDescription) - return - } - if let invite = invite { - self.showAlertView(withInvite: invite) - } - // [END_EXCLUDE] - } - } - // [END continueuseractivity] - - func showAlertView(withInvite invite: ReceivedInvite) { - let okAction = UIAlertAction(title: "OK", style: .default, handler: nil) - let matchType = invite.matchType == .weak ? "weak" : "strong" - let message = "Invite ID: \(invite.inviteId)\nDeep-link: \(invite.deepLink)\nMatch Type: \(matchType)" - let alertController = UIAlertController(title: "Invite", message: message, preferredStyle: .alert) - alertController.addAction(okAction) - self.window?.rootViewController?.present(alertController, animated: true, completion: nil) - } -} - diff --git a/invites/InvitesExampleSwift/Images.xcassets/AppIcon.appiconset/Contents.json b/invites/InvitesExampleSwift/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 36d2c80d..00000000 --- a/invites/InvitesExampleSwift/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/invites/InvitesExampleSwift/SignInViewController.swift b/invites/InvitesExampleSwift/SignInViewController.swift deleted file mode 100644 index 0194820d..00000000 --- a/invites/InvitesExampleSwift/SignInViewController.swift +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -import UIKit -import Firebase -import GoogleSignIn - -// Match the ObjC symbol name inside Main.storyboard. -@objc(SignInViewController) - -class SignInViewController: UIViewController, GIDSignInDelegate, GIDSignInUIDelegate { - - @IBOutlet weak var signInButton: GIDSignInButton! - @IBOutlet weak var bgText: UILabel! - - override func viewDidAppear(_ animated: Bool) { - super.viewDidAppear(animated) - - bgText.text = "Invites\niOS demo" - - GIDSignIn.sharedInstance().clientID = FirebaseApp.app()?.options.clientID - GIDSignIn.sharedInstance().delegate = self - GIDSignIn.sharedInstance().uiDelegate = self - GIDSignIn.sharedInstance().signInSilently() - } - - func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { - guard error == nil else { - // Something went wrong; for example, the user could haved clicked cancel. - print("\(error.localizedDescription)") - return - } - // User Successfully signed in. - // TODO: Remove async after, when GIDSignIn is started getting called after dissmissVC - DispatchQueue.main.asyncAfter(deadline: .now() + 0.35) { - self.performSegue(withIdentifier: "SignedInScreen", sender: self) - } - } - - @IBAction func unwindToSignIn(_ sender: UIStoryboardSegue) { - GIDSignIn.sharedInstance().delegate = self - } - - // Sets the status bar to white. - override var preferredStatusBarStyle: UIStatusBarStyle { - return .lightContent - } -} diff --git a/invites/InvitesExampleSwift/ViewController.swift b/invites/InvitesExampleSwift/ViewController.swift deleted file mode 100644 index 837eef95..00000000 --- a/invites/InvitesExampleSwift/ViewController.swift +++ /dev/null @@ -1,130 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -import UIKit - -import GoogleSignIn -import Firebase - -// Match the ObjC symbol name inside Main.storyboard. -@objc(ViewController) -// [START viewcontroller_interfaces] -class ViewController: UIViewController, GIDSignInDelegate, GIDSignInUIDelegate, InviteDelegate { -// [END viewcontroller_interfaces] - // [START viewcontroller_vars] - @IBOutlet weak var signOutButton: UIButton! - @IBOutlet weak var disconnectButton: UIButton! - @IBOutlet weak var inviteButton: UIButton! - @IBOutlet weak var statusText: UILabel! - // [END viewcontroller_vars] - - // [START viewdidload] - override func viewWillAppear(_ animated: Bool) { - super.viewWillAppear(animated) - GIDSignIn.sharedInstance().delegate = self - GIDSignIn.sharedInstance().uiDelegate = self - GIDSignIn.sharedInstance().signInSilently() - toggleAuthUI() - } - // [END viewdidload] - - // [START signin_handler] - func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { - if let error = error { - print("\(error.localizedDescription)") - } else { - // User Successfully signed in. - if let name = user.profile.name { - statusText.text = "Signed in as \(name)" - } else { - statusText.text = "Signed in, profile name is not set" - } - } - toggleAuthUI() - } - // [END signin_handler] - - // [START signout_tapped] - @IBAction func signOutTapped(_ sender: AnyObject) { - GIDSignIn.sharedInstance().signOut() - statusText.text = "Signed out" - toggleAuthUI() - } - // [END signout_tapped] - - // [START disconnect_tapped] - @IBAction func disconnectTapped(_ sender: AnyObject) { - GIDSignIn.sharedInstance().disconnect() - statusText.text = "Disconnected" - toggleAuthUI() - } - - func sign(_ signIn: GIDSignIn!, didDisconnectWith user: GIDGoogleUser!, withError error: Error!) { - toggleAuthUI() - } - // [END disconnect_tapped] - - // [START invite_tapped] - @IBAction func inviteTapped(_ sender: AnyObject) { - if let invite = Invites.inviteDialog() { - invite.setInviteDelegate(self) - - // NOTE: You must have the App Store ID set in your developer console project - // in order for invitations to successfully be sent. - - // A message hint for the dialog. Note this manifests differently depending on the - // received invitation type. For example, in an email invite this appears as the subject. - invite.setMessage("Try this out!\n -\(GIDSignIn.sharedInstance().currentUser.profile.name)") - // Title for the dialog, this is what the user sees before sending the invites. - invite.setTitle("Invites Example") - invite.setDeepLink("app_url") - invite.setCallToActionText("Install!") - invite.setCustomImage("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png") - invite.open() - } - } - // [END invite_tapped] - - // [START toggle_auth] - func toggleAuthUI() { - if GIDSignIn.sharedInstance().hasAuthInKeychain() { - // Signed in - signOutButton.isEnabled = true - disconnectButton.isEnabled = true - inviteButton.isEnabled = true - } else { - signOutButton.isEnabled = false - disconnectButton.isEnabled = false - inviteButton.isEnabled = false - self.performSegue(withIdentifier: "SignedOutScreen", sender:self) - } - } - // [END toggle_auth] - - // [START invite_finished] - func inviteFinished(withInvitations invitationIds: [String], error: Error?) { - if let error = error { - print("Failed: " + error.localizedDescription) - } else { - print("\(invitationIds.count) invites sent") - } - } - // [END invite_finished] - - // Sets the status bar to white. - override var preferredStatusBarStyle: UIStatusBarStyle { - return UIStatusBarStyle.lightContent - } -} diff --git a/invites/InvitesExampleSwiftUITests/Info.plist b/invites/InvitesExampleSwiftUITests/Info.plist deleted file mode 100644 index 6c40a6cd..00000000 --- a/invites/InvitesExampleSwiftUITests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/invites/InvitesExampleSwiftUITests/InvitesExampleSwiftUITests.swift b/invites/InvitesExampleSwiftUITests/InvitesExampleSwiftUITests.swift deleted file mode 100644 index b33f5428..00000000 --- a/invites/InvitesExampleSwiftUITests/InvitesExampleSwiftUITests.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// InvitesExampleSwiftUITests.swift -// InvitesExampleSwiftUITests -// -// Created by Ibrahim Ulukaya on 2/12/18. -// Copyright © 2018 Google Inc. All rights reserved. -// - -import XCTest - -class InvitesExampleSwiftUITests: XCTestCase { - - override func setUp() { - super.setUp() - - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - continueAfterFailure = false - // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. - XCUIApplication().launch() - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - -} diff --git a/invites/InvitesExampleTests/InvitesExampleTests.m b/invites/InvitesExampleTests/InvitesExampleTests.m deleted file mode 100644 index ce8e581b..00000000 --- a/invites/InvitesExampleTests/InvitesExampleTests.m +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright (c) Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#import -#import -@import Firebase; - -@interface InvitesExampleTests : XCTestCase - -@end - -@implementation InvitesExampleTests - -- (void)testAppWasConfigured { - // Check that the FIROptions matches what we read from the file. - [FIRApp configure]; - NSDictionary *configPlist = - [NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] - pathForResource:@"GoogleService-Info" - ofType:@"plist"]]; - - // Check the client ID is configured for iOS target app. - NSString* actual = [FIRApp defaultApp].options.clientID; - NSString* expected = configPlist[@"CLIENT_ID"]; - - XCTAssertEqualObjects(actual, expected); -} - -@end diff --git a/invites/InvitesExampleUITests/Info.plist b/invites/InvitesExampleUITests/Info.plist deleted file mode 100644 index 6c40a6cd..00000000 --- a/invites/InvitesExampleUITests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/invites/InvitesExampleUITests/InvitesExampleUITests.m b/invites/InvitesExampleUITests/InvitesExampleUITests.m deleted file mode 100644 index 709c4c3d..00000000 --- a/invites/InvitesExampleUITests/InvitesExampleUITests.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// InvitesExampleUITests.m -// InvitesExampleUITests -// -// Created by Ibrahim Ulukaya on 2/13/18. -// Copyright © 2018 Google Inc. All rights reserved. -// - -#import - -@interface InvitesExampleUITests : XCTestCase - -@end - -@implementation InvitesExampleUITests - -- (void)setUp { - [super setUp]; - - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - self.continueAfterFailure = NO; - // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. - [[[XCUIApplication alloc] init] launch]; - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample { - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. -} - -@end diff --git a/invites/Podfile b/invites/Podfile deleted file mode 100644 index b7518719..00000000 --- a/invites/Podfile +++ /dev/null @@ -1,10 +0,0 @@ -use_frameworks! -platform :ios, '8.0' -pod 'Firebase/Invites' - -target 'InvitesExample' do -end -target 'InvitesExampleSwift' do -end -target 'InvitesExampleTests' do -end diff --git a/invites/Podfile.lock b/invites/Podfile.lock deleted file mode 100644 index ad0a65e7..00000000 --- a/invites/Podfile.lock +++ /dev/null @@ -1,150 +0,0 @@ -PODS: - - Firebase/CoreOnly (5.20.2): - - FirebaseCore (= 5.4.1) - - Firebase/Invites (5.20.2): - - Firebase/CoreOnly - - FirebaseInvites (= 3.0.1) - - FirebaseAnalytics (5.8.1): - - FirebaseCore (~> 5.4) - - FirebaseInstanceID (~> 3.8) - - GoogleAppMeasurement (= 5.8.1) - - GoogleUtilities/AppDelegateSwizzler (~> 5.2) - - GoogleUtilities/MethodSwizzler (~> 5.2) - - GoogleUtilities/Network (~> 5.2) - - "GoogleUtilities/NSData+zlib (~> 5.2)" - - nanopb (~> 0.3) - - FirebaseAnalyticsInterop (1.5.0) - - FirebaseCore (5.4.1): - - GoogleUtilities/Environment (~> 5.2) - - GoogleUtilities/Logger (~> 5.2) - - FirebaseDynamicLinks (3.4.3): - - FirebaseAnalytics (~> 5.1) - - FirebaseAnalyticsInterop (~> 1.0) - - FirebaseCore (~> 5.2) - - FirebaseInstanceID (3.8.1): - - FirebaseCore (~> 5.2) - - GoogleUtilities/Environment (~> 5.2) - - GoogleUtilities/UserDefaults (~> 5.2) - - FirebaseInvites (3.0.1): - - FirebaseAnalytics (~> 5.1) - - FirebaseDynamicLinks (~> 3.0) - - GoogleAPIClientForREST (~> 1.0) - - GoogleSignIn (~> 4.2) - - GoogleToolboxForMac/Logger (~> 2.1) - - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)" - - "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)" - - GoogleToolboxForMac/StringEncoding (~> 2.1) - - GoogleToolboxForMac/URLBuilder (~> 2.1) - - GTMOAuth2 (~> 1.0) - - GTMSessionFetcher/Core (~> 1.1) - - GTMSessionFetcher/Full (~> 1.1) - - Protobuf (~> 3.5) - - GoogleAPIClientForREST (1.4.3): - - GoogleAPIClientForREST/Core (= 1.4.3) - - GTMSessionFetcher (>= 1.1.7) - - GoogleAPIClientForREST/Core (1.4.3): - - GTMSessionFetcher (>= 1.1.7) - - GoogleAppMeasurement (5.8.1): - - GoogleUtilities/AppDelegateSwizzler (~> 5.2) - - GoogleUtilities/MethodSwizzler (~> 5.2) - - GoogleUtilities/Network (~> 5.2) - - "GoogleUtilities/NSData+zlib (~> 5.2)" - - nanopb (~> 0.3) - - GoogleSignIn (4.4.0): - - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)" - - "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)" - - GTMSessionFetcher/Core (~> 1.1) - - GoogleToolboxForMac/Core (2.2.2): - - GoogleToolboxForMac/Defines (= 2.2.2) - - GoogleToolboxForMac/DebugUtils (2.2.2): - - GoogleToolboxForMac/Defines (= 2.2.2) - - GoogleToolboxForMac/Defines (2.2.2) - - GoogleToolboxForMac/Logger (2.2.2): - - GoogleToolboxForMac/Defines (= 2.2.2) - - "GoogleToolboxForMac/NSDictionary+URLArguments (2.2.2)": - - GoogleToolboxForMac/DebugUtils (= 2.2.2) - - GoogleToolboxForMac/Defines (= 2.2.2) - - "GoogleToolboxForMac/NSString+URLArguments (= 2.2.2)" - - "GoogleToolboxForMac/NSString+URLArguments (2.2.2)" - - GoogleToolboxForMac/StringEncoding (2.2.2): - - GoogleToolboxForMac/Defines (= 2.2.2) - - GoogleToolboxForMac/URLBuilder (2.2.2): - - GoogleToolboxForMac/Core (= 2.2.2) - - GoogleToolboxForMac/Defines (= 2.2.2) - - "GoogleToolboxForMac/NSDictionary+URLArguments (= 2.2.2)" - - "GoogleToolboxForMac/NSString+URLArguments (= 2.2.2)" - - GoogleUtilities/AppDelegateSwizzler (5.8.0): - - GoogleUtilities/Environment - - GoogleUtilities/Logger - - GoogleUtilities/Network - - GoogleUtilities/Environment (5.8.0) - - GoogleUtilities/Logger (5.8.0): - - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (5.8.0): - - GoogleUtilities/Logger - - GoogleUtilities/Network (5.8.0): - - GoogleUtilities/Logger - - "GoogleUtilities/NSData+zlib" - - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (5.8.0)" - - GoogleUtilities/Reachability (5.8.0): - - GoogleUtilities/Logger - - GoogleUtilities/UserDefaults (5.8.0): - - GoogleUtilities/Logger - - GTMOAuth2 (1.1.6): - - GTMSessionFetcher (~> 1.1) - - GTMSessionFetcher (1.4.0): - - GTMSessionFetcher/Full (= 1.4.0) - - GTMSessionFetcher/Core (1.4.0) - - GTMSessionFetcher/Full (1.4.0): - - GTMSessionFetcher/Core (= 1.4.0) - - nanopb (0.3.9011): - - nanopb/decode (= 0.3.9011) - - nanopb/encode (= 0.3.9011) - - nanopb/decode (0.3.9011) - - nanopb/encode (0.3.9011) - - Protobuf (3.13.0) - -DEPENDENCIES: - - Firebase/Invites - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAnalytics - - FirebaseAnalyticsInterop - - FirebaseCore - - FirebaseDynamicLinks - - FirebaseInstanceID - - FirebaseInvites - - GoogleAPIClientForREST - - GoogleAppMeasurement - - GoogleSignIn - - GoogleToolboxForMac - - GoogleUtilities - - GTMOAuth2 - - GTMSessionFetcher - - nanopb - - Protobuf - -SPEC CHECKSUMS: - Firebase: 0c8cf33f266410c61ab3e2265cfa412200351d9c - FirebaseAnalytics: ece1aa57a4f43c64d53a648b5a5e05151aae947b - FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae - FirebaseCore: f1a9a8be1aee4bf71a2fc0f4096df6788bdfda61 - FirebaseDynamicLinks: f7a8717e2c7ea652923882a2d60b0045d6fd99d5 - FirebaseInstanceID: a122b0c258720cf250551bb2bedf48c699f80d90 - FirebaseInvites: f13ed69fae140e705baec1a59ff127334b841a8a - GoogleAPIClientForREST: e2d95a611ac06a90d143c93bfd8597719f8b0938 - GoogleAppMeasurement: ffe513e90551844a739e7bcbb1d2aca1c28a4338 - GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39 - GoogleToolboxForMac: 800648f8b3127618c1b59c7f97684427630c5ea3 - GoogleUtilities: 04fce34bcd5620c1ee76fb79172105c74a4df335 - GTMOAuth2: e8b6512c896235149df975c41d9a36c868ab7fba - GTMSessionFetcher: 6f5c8abbab8a9bce4bb3f057e317728ec6182b10 - nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd - Protobuf: 3dac39b34a08151c6d949560efe3f86134a3f748 - -PODFILE CHECKSUM: 642789e1fcae7a05996d36ee829b1b64089587bd - -COCOAPODS: 1.15.2 diff --git a/invites/README.md b/invites/README.md deleted file mode 100644 index 40a80b03..00000000 --- a/invites/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Firebase Invites - -Firebase Invites is deprecated. You can create cross-platform invitation links that survive app installation using [Firebase Dynamic Links][fdl]. Please see [Migration Guide][migration] for more details. - -For an example of how to use Dynamic Links to invite users to your application, see [Invite Users to Your App][user-to-user]. - -[fdl]:https://firebase.google.com/docs/dynamic-links/ -[migration]:https://firebase.google.com/docs/invites/deprecation -[user-to-user]:https://firebase.google.com/docs/dynamic-links/use-cases/user-to-user diff --git a/invites/Screenshot/app-invites-sample.png b/invites/Screenshot/app-invites-sample.png deleted file mode 100644 index ffcd244b..00000000 Binary files a/invites/Screenshot/app-invites-sample.png and /dev/null differ diff --git a/ml-functions/MLFunctionsExample.xcodeproj/project.pbxproj b/ml-functions/MLFunctionsExample.xcodeproj/project.pbxproj index 0d40f6ee..7a47ff3e 100644 --- a/ml-functions/MLFunctionsExample.xcodeproj/project.pbxproj +++ b/ml-functions/MLFunctionsExample.xcodeproj/project.pbxproj @@ -7,6 +7,8 @@ objects = { /* Begin PBXBuildFile section */ + 8D7951CA2D2C8AAA000FD694 /* FirebaseFunctions in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951C92D2C8AAA000FD694 /* FirebaseFunctions */; }; + 8D7951CC2D2C8AB2000FD694 /* FirebaseFunctions in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951CB2D2C8AB2000FD694 /* FirebaseFunctions */; }; 8D8FA34322F4CAB100213E06 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34222F4CAB100213E06 /* AppDelegate.m */; }; 8D8FA34622F4CAB100213E06 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D8FA34522F4CAB100213E06 /* ViewController.m */; }; 8D8FA34922F4CAB100213E06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D8FA34722F4CAB100213E06 /* Main.storyboard */; }; @@ -45,6 +47,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951CA2D2C8AAA000FD694 /* FirebaseFunctions in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -52,19 +55,27 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951CC2D2C8AB2000FD694 /* FirebaseFunctions in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 8D7951C82D2C8AAA000FD694 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; 8D8FA33522F4CAB100213E06 = { isa = PBXGroup; children = ( 8D8FA34022F4CAB100213E06 /* MLFunctionsExample */, 8D8FA35C22F4CAF700213E06 /* MLFunctionsExampleSwift */, + 8D7951C82D2C8AAA000FD694 /* Frameworks */, 8D8FA33F22F4CAB100213E06 /* Products */, - E21099940C3416ACBB0EB9EC /* Pods */, ); sourceTree = ""; }; @@ -106,13 +117,6 @@ path = MLFunctionsExampleSwift; sourceTree = ""; }; - E21099940C3416ACBB0EB9EC /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -156,8 +160,9 @@ 8D8FA33622F4CAB100213E06 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1020; - LastUpgradeCheck = 1230; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = Firebase; TargetAttributes = { 8D8FA33D22F4CAB100213E06 = { @@ -177,6 +182,9 @@ Base, ); mainGroup = 8D8FA33522F4CAB100213E06; + packageReferences = ( + 8D7951C72D2C8A9B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + ); productRefGroup = 8D8FA33F22F4CAB100213E06 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -306,6 +314,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -366,6 +375,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -488,6 +498,30 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951C72D2C8A9B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951C92D2C8AAA000FD694 /* FirebaseFunctions */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951C72D2C8A9B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFunctions; + }; + 8D7951CB2D2C8AB2000FD694 /* FirebaseFunctions */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951C72D2C8A9B000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseFunctions; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8D8FA33622F4CAB100213E06 /* Project object */; } diff --git a/ml-functions/Podfile b/ml-functions/Podfile deleted file mode 100644 index c0a3e167..00000000 --- a/ml-functions/Podfile +++ /dev/null @@ -1,18 +0,0 @@ -# Uncomment the next line to define a global platform for your project -# platform :ios, '9.0' - -target 'MLFunctionsExample' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Functions' - -end - -target 'MLFunctionsExampleSwift' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! - - pod 'Firebase/Functions' - -end diff --git a/ml-functions/Podfile.lock b/ml-functions/Podfile.lock deleted file mode 100644 index c2c1c8a6..00000000 --- a/ml-functions/Podfile.lock +++ /dev/null @@ -1,73 +0,0 @@ -PODS: - - Firebase/CoreOnly (10.23.1): - - FirebaseCore (= 10.23.1) - - Firebase/Functions (10.23.1): - - Firebase/CoreOnly - - FirebaseFunctions (~> 10.23.0) - - FirebaseAppCheckInterop (10.23.0) - - FirebaseAuthInterop (10.23.0) - - FirebaseCore (10.23.1): - - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.12) - - GoogleUtilities/Logger (~> 7.12) - - FirebaseCoreExtension (10.23.0): - - FirebaseCore (~> 10.0) - - FirebaseCoreInternal (10.23.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseFunctions (10.23.0): - - FirebaseAppCheckInterop (~> 10.10) - - FirebaseAuthInterop (~> 10.0) - - FirebaseCore (~> 10.0) - - FirebaseCoreExtension (~> 10.0) - - FirebaseMessagingInterop (~> 10.0) - - FirebaseSharedSwift (~> 10.0) - - GTMSessionFetcher/Core (< 4.0, >= 2.1) - - FirebaseMessagingInterop (10.23.0) - - FirebaseSharedSwift (10.23.0) - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GTMSessionFetcher/Core (3.3.2) - - PromisesObjC (2.4.0) - -DEPENDENCIES: - - Firebase/Functions - -SPEC REPOS: - trunk: - - Firebase - - FirebaseAppCheckInterop - - FirebaseAuthInterop - - FirebaseCore - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseFunctions - - FirebaseMessagingInterop - - FirebaseSharedSwift - - GoogleUtilities - - GTMSessionFetcher - - PromisesObjC - -SPEC CHECKSUMS: - Firebase: cf09623f98ae25a3ad484e23c7e0e5f464152d80 - FirebaseAppCheckInterop: a1955ce8c30f38f87e7d091630e871e91154d65d - FirebaseAuthInterop: a458e398bb1e9b71b9b42d46e54acc666b021d0f - FirebaseCore: c43f9f0437b50a965e930cac4ad243200d12a984 - FirebaseCoreExtension: cb88851781a24e031d1b58e0bd01eb1f46b044b5 - FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 - FirebaseFunctions: cded4f8bab16758f92060133c73c9e9b0747c056 - FirebaseMessagingInterop: 4e285daa3ec0522b06c11a675d0c8b952c304689 - FirebaseSharedSwift: c92645b392db3c41a83a0aa967de16f8bad25568 - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - GTMSessionFetcher: 0e876eea9782ec6462e91ab872711c357322c94f - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - -PODFILE CHECKSUM: aa543baa476adf0a1eb62d4970ac2cffc30a1931 - -COCOAPODS: 1.15.2 diff --git a/storage/Podfile b/storage/Podfile index 0d21be70..c54ab2e5 100644 --- a/storage/Podfile +++ b/storage/Podfile @@ -1,3 +1,4 @@ +# Podfile left around for legacy snippets. The project has since been migrated to SPM. platform :ios, '12.0' use_frameworks! diff --git a/storage/Podfile.lock b/storage/Podfile.lock deleted file mode 100644 index 61d68003..00000000 --- a/storage/Podfile.lock +++ /dev/null @@ -1,95 +0,0 @@ -PODS: - - FirebaseAppCheckInterop (9.6.0) - - FirebaseAuthInterop (9.6.0) - - FirebaseCore (9.6.0): - - FirebaseCoreDiagnostics (~> 9.0) - - FirebaseCoreInternal (~> 9.0) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - FirebaseCoreDiagnostics (9.6.0): - - GoogleDataTransport (< 10.0.0, >= 9.1.4) - - GoogleUtilities/Environment (~> 7.7) - - GoogleUtilities/Logger (~> 7.7) - - nanopb (< 2.30910.0, >= 2.30908.0) - - FirebaseCoreExtension (9.6.0): - - FirebaseCore (~> 9.0) - - FirebaseCoreInternal (9.6.0): - - "GoogleUtilities/NSData+zlib (~> 7.7)" - - FirebaseStorage (9.6.0): - - FirebaseAppCheckInterop (~> 9.0) - - FirebaseAuthInterop (~> 9.0) - - FirebaseCore (~> 9.0) - - FirebaseCoreExtension (~> 9.0) - - FirebaseStorageInternal (~> 9.0) - - FirebaseStorageInternal (9.6.0): - - FirebaseCore (~> 9.0) - - GTMSessionFetcher/Core (< 3.0, >= 1.7) - - FirebaseStorageUI (13.1.0): - - FirebaseStorage (< 11.0, >= 8.0) - - SDWebImage (~> 5.6) - - GoogleDataTransport (9.4.1): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.13.0): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) - - GTMSessionFetcher/Core (2.3.0) - - nanopb (2.30909.1): - - nanopb/decode (= 2.30909.1) - - nanopb/encode (= 2.30909.1) - - nanopb/decode (2.30909.1) - - nanopb/encode (2.30909.1) - - PromisesObjC (2.4.0) - - SDWebImage (5.19.1): - - SDWebImage/Core (= 5.19.1) - - SDWebImage/Core (5.19.1) - -DEPENDENCIES: - - FirebaseStorage (~> 9.0) - - FirebaseStorageUI - -SPEC REPOS: - trunk: - - FirebaseAppCheckInterop - - FirebaseAuthInterop - - FirebaseCore - - FirebaseCoreDiagnostics - - FirebaseCoreExtension - - FirebaseCoreInternal - - FirebaseStorage - - FirebaseStorageInternal - - FirebaseStorageUI - - GoogleDataTransport - - GoogleUtilities - - GTMSessionFetcher - - nanopb - - PromisesObjC - - SDWebImage - -SPEC CHECKSUMS: - FirebaseAppCheckInterop: d5ecda0c09f8069406643d6e0fa12c09d1b736e3 - FirebaseAuthInterop: b6cf02117f13a8400c8c8b4421e12c6e850bcaf3 - FirebaseCore: 2082fffcd855f95f883c0a1641133eb9bbe76d40 - FirebaseCoreDiagnostics: 99a495094b10a57eeb3ae8efa1665700ad0bdaa6 - FirebaseCoreExtension: e83465d1236b166d1d445bbf0e82b65acb30b73b - FirebaseCoreInternal: bca76517fe1ed381e989f5e7d8abb0da8d85bed3 - FirebaseStorage: 1fead543a1f441c3b434c1c9f12560dd82f8b568 - FirebaseStorageInternal: 81d8a597324ccd06c41a43c5700bc1185a2fc328 - FirebaseStorageUI: 5db14fc4c251fdbe3b706eb1a9dddc55bc51b414 - GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 - GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2 - nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - SDWebImage: 40b0b4053e36c660a764958bff99eed16610acbb - -PODFILE CHECKSUM: 391f1ea32d2ab69e86fbbcaed454945eef4950b4 - -COCOAPODS: 1.15.2 diff --git a/storage/StorageReference.xcodeproj/project.pbxproj b/storage/StorageReference.xcodeproj/project.pbxproj index eff0ce0d..999509a5 100644 --- a/storage/StorageReference.xcodeproj/project.pbxproj +++ b/storage/StorageReference.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -15,6 +15,10 @@ 8D64553B1DFF56CE00972DCE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D6455391DFF56CE00972DCE /* Main.storyboard */; }; 8D64553D1DFF56CE00972DCE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D64553C1DFF56CE00972DCE /* Assets.xcassets */; }; 8D6455401DFF56CE00972DCE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D64553E1DFF56CE00972DCE /* LaunchScreen.storyboard */; }; + 8D7951D02D2C8C71000FD694 /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951CF2D2C8C71000FD694 /* FirebaseStorage */; }; + 8D7951D22D2C8C77000FD694 /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951D12D2C8C77000FD694 /* FirebaseStorage */; }; + 8D7951D52D2C8D2A000FD694 /* FirebaseStorageUI in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951D42D2C8D2A000FD694 /* FirebaseStorageUI */; }; + 8D7951D72D2C8D33000FD694 /* FirebaseStorageUI in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7951D62D2C8D33000FD694 /* FirebaseStorageUI */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -38,6 +42,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951D22D2C8C77000FD694 /* FirebaseStorage in Frameworks */, + 8D7951D52D2C8D2A000FD694 /* FirebaseStorageUI in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -45,19 +51,14 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8D7951D02D2C8C71000FD694 /* FirebaseStorage in Frameworks */, + 8D7951D72D2C8D33000FD694 /* FirebaseStorageUI in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 0B3979B2C8769728EE24D424 /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; 1090B0671EBCE02000A8F759 /* StorageReferenceSwift */ = { isa = PBXGroup; children = ( @@ -72,8 +73,8 @@ children = ( 8D64552F1DFF56CE00972DCE /* StorageReference */, 1090B0671EBCE02000A8F759 /* StorageReferenceSwift */, + 8D7951CE2D2C8C71000FD694 /* Frameworks */, 8D64552E1DFF56CE00972DCE /* Products */, - 0B3979B2C8769728EE24D424 /* Pods */, ); sourceTree = ""; }; @@ -110,6 +111,13 @@ name = "Supporting Files"; sourceTree = ""; }; + 8D7951CE2D2C8C71000FD694 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -153,8 +161,9 @@ 8D6455251DFF56CD00972DCE /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0830; + LastUpgradeCheck = 1610; ORGANIZATIONNAME = "Google Inc."; TargetAttributes = { 1090B0651EBCE02000A8F759 = { @@ -170,14 +179,17 @@ }; buildConfigurationList = 8D6455281DFF56CD00972DCE /* Build configuration list for PBXProject "StorageReference" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); mainGroup = 8D6455241DFF56CD00972DCE; + packageReferences = ( + 8D7951CD2D2C8C62000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */, + 8D7951D32D2C8D15000FD694 /* XCRemoteSwiftPackageReference "FirebaseUI-iOS" */, + ); productRefGroup = 8D64552E1DFF56CE00972DCE /* Products */; projectDirPath = ""; projectRoot = ""; @@ -259,12 +271,16 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; INFOPLIST_FILE = "$(SRCROOT)/StorageReference/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + OTHER_SWIFT_FLAGS = "-Xcc -fmodule-map-file=$(GENERATED_MODULEMAP_DIR)/FirebaseStorage.modulemap"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.FirebaseStorageReference; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; }; name = Debug; }; @@ -277,11 +293,16 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; INFOPLIST_FILE = "$(SRCROOT)/StorageReference/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + OTHER_SWIFT_FLAGS = "-Xcc -fmodule-map-file=$(GENERATED_MODULEMAP_DIR)/FirebaseStorage.modulemap"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.FirebaseStorageReference; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 6.0; }; name = Release; }; @@ -289,20 +310,30 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; @@ -312,6 +343,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -326,10 +358,11 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + SWIFT_VERSION = 6.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -338,20 +371,30 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; @@ -361,6 +404,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -369,10 +413,12 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 6.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -384,7 +430,10 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "$(SRCROOT)/StorageReference/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.StorageReference; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -396,7 +445,10 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = "$(SRCROOT)/StorageReference/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.referencecode.StorageReference; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -433,6 +485,48 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 8D7951CD2D2C8C62000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 11.6.0; + }; + }; + 8D7951D32D2C8D15000FD694 /* XCRemoteSwiftPackageReference "FirebaseUI-iOS" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/firebase/FirebaseUI-iOS"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 15.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 8D7951CF2D2C8C71000FD694 /* FirebaseStorage */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951CD2D2C8C62000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseStorage; + }; + 8D7951D12D2C8C77000FD694 /* FirebaseStorage */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951CD2D2C8C62000FD694 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseStorage; + }; + 8D7951D42D2C8D2A000FD694 /* FirebaseStorageUI */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951D32D2C8D15000FD694 /* XCRemoteSwiftPackageReference "FirebaseUI-iOS" */; + productName = FirebaseStorageUI; + }; + 8D7951D62D2C8D33000FD694 /* FirebaseStorageUI */ = { + isa = XCSwiftPackageProductDependency; + package = 8D7951D32D2C8D15000FD694 /* XCRemoteSwiftPackageReference "FirebaseUI-iOS" */; + productName = FirebaseStorageUI; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 8D6455251DFF56CD00972DCE /* Project object */; } diff --git a/storage/StorageReference/ViewController.m b/storage/StorageReference/ViewController.m index 0556d095..30aef157 100644 --- a/storage/StorageReference/ViewController.m +++ b/storage/StorageReference/ViewController.m @@ -244,10 +244,10 @@ - (void)storagePauseExample { // [START firstorage_progress] // Add a progress observer to an upload task - FIRStorageHandle observer = [uploadTask observeStatus:FIRStorageTaskStatusProgress - handler:^(FIRStorageTaskSnapshot *snapshot) { - // A progress event occurred - }]; + NSString *observer = [uploadTask observeStatus:FIRStorageTaskStatusProgress + handler:^(FIRStorageTaskSnapshot *snapshot) { + // A progress event occurred + }]; // [END firstorage_progress] } @@ -259,10 +259,10 @@ - (void)storageTaskExample { // [START firstorage_task] // Create a task listener handle - FIRStorageHandle observer = [uploadTask observeStatus:FIRStorageTaskStatusProgress - handler:^(FIRStorageTaskSnapshot *snapshot) { - // A progress event occurred - }]; + NSString *observer = [uploadTask observeStatus:FIRStorageTaskStatusProgress + handler:^(FIRStorageTaskSnapshot *snapshot) { + // A progress event occurred + }]; // Remove an individual observer [uploadTask removeObserverWithHandle:observer]; @@ -446,10 +446,10 @@ - (void)storageDownloadPauseExample { // [START firstorage_download_observe] // Add a progress observer to a download task - FIRStorageHandle observer = [downloadTask observeStatus:FIRStorageTaskStatusProgress - handler:^(FIRStorageTaskSnapshot *snapshot) { - // A progress event occurred - }]; + NSString *observer = [downloadTask observeStatus:FIRStorageTaskStatusProgress + handler:^(FIRStorageTaskSnapshot *snapshot) { + // A progress event occurred + }]; // [END firstorage_download_observe] } @@ -460,10 +460,10 @@ - (void)storageHandleObserverExample { // [START firstorage_handle_observer] // Create a task listener handle - FIRStorageHandle observer = [downloadTask observeStatus:FIRStorageTaskStatusProgress - handler:^(FIRStorageTaskSnapshot *snapshot) { - // A progress event occurred - }]; + NSString *observer = [downloadTask observeStatus:FIRStorageTaskStatusProgress + handler:^(FIRStorageTaskSnapshot *snapshot) { + // A progress event occurred + }]; // Remove an individual observer [downloadTask removeObserverWithHandle:observer]; diff --git a/storage/StorageReferenceSwift/AppDelegate.swift b/storage/StorageReferenceSwift/AppDelegate.swift index 79d8d6fe..7cf52e57 100644 --- a/storage/StorageReferenceSwift/AppDelegate.swift +++ b/storage/StorageReferenceSwift/AppDelegate.swift @@ -24,7 +24,7 @@ import FirebaseCore // ... // [END import_firebase] -@UIApplicationMain +@main class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? diff --git a/storage/StorageReferenceSwift/ViewController.swift b/storage/StorageReferenceSwift/ViewController.swift index 23bb1fc4..5cf1ac24 100644 --- a/storage/StorageReferenceSwift/ViewController.swift +++ b/storage/StorageReferenceSwift/ViewController.swift @@ -20,6 +20,9 @@ import FirebaseCore import FirebaseStorage import FirebaseStorageUI +extension StorageMetadata: @unchecked @retroactive Sendable {} +extension StorageListResult: @unchecked @retroactive Sendable {} + class ViewController: UIViewController { var imageView: UIImageView! diff --git a/vertexai/VertexAISnippets.xcodeproj/project.pbxproj b/vertexai/VertexAISnippets.xcodeproj/project.pbxproj index 96a6a887..70883f14 100644 --- a/vertexai/VertexAISnippets.xcodeproj/project.pbxproj +++ b/vertexai/VertexAISnippets.xcodeproj/project.pbxproj @@ -12,8 +12,9 @@ 8D40F4122BD1CDC40020872A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D40F4112BD1CDC40020872A /* Assets.xcassets */; }; 8D40F4162BD1CDC40020872A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D40F4152BD1CDC40020872A /* Preview Assets.xcassets */; }; 8D40F4262BD1CE1A0020872A /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = 8D40F4252BD1CE1A0020872A /* FirebaseAppCheck */; }; - 8D40F43B2BD1CE3E0020872A /* FirebaseVertexAI-Preview in Frameworks */ = {isa = PBXBuildFile; productRef = 8D40F43A2BD1CE3E0020872A /* FirebaseVertexAI-Preview */; }; 8D40F43D2BD1CE910020872A /* VertexAISnippets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D40F43C2BD1CE910020872A /* VertexAISnippets.swift */; }; + 8D7B83012CD4127C0024A604 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7B83002CD4127C0024A604 /* FirebaseAuth */; }; + 8D7B83032CD4127C0024A604 /* FirebaseVertexAI in Frameworks */ = {isa = PBXBuildFile; productRef = 8D7B83022CD4127C0024A604 /* FirebaseVertexAI */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -31,7 +32,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8D40F43B2BD1CE3E0020872A /* FirebaseVertexAI-Preview in Frameworks */, + 8D7B83032CD4127C0024A604 /* FirebaseVertexAI in Frameworks */, + 8D7B83012CD4127C0024A604 /* FirebaseAuth in Frameworks */, 8D40F4262BD1CE1A0020872A /* FirebaseAppCheck in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -102,7 +104,8 @@ name = VertexAISnippets; packageProductDependencies = ( 8D40F4252BD1CE1A0020872A /* FirebaseAppCheck */, - 8D40F43A2BD1CE3E0020872A /* FirebaseVertexAI-Preview */, + 8D7B83002CD4127C0024A604 /* FirebaseAuth */, + 8D7B83022CD4127C0024A604 /* FirebaseVertexAI */, ); productName = VertexAISnippets; productReference = 8D40F40A2BD1CDC30020872A /* VertexAISnippets.app */; @@ -116,7 +119,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1520; - LastUpgradeCheck = 1520; + LastUpgradeCheck = 1530; TargetAttributes = { 8D40F4092BD1CDC30020872A = { CreatedOnToolsVersion = 15.2; @@ -204,6 +207,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -265,6 +269,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -292,6 +297,7 @@ CODE_SIGN_ENTITLEMENTS = VertexAISnippets/VertexAISnippets.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"VertexAISnippets/Preview Content\""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -328,6 +334,7 @@ CODE_SIGN_ENTITLEMENTS = VertexAISnippets/VertexAISnippets.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"VertexAISnippets/Preview Content\""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; @@ -384,7 +391,7 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/firebase/firebase-ios-sdk"; requirement = { - branch = "vertexai-preview-0.1.0"; + branch = main; kind = branch; }; }; @@ -396,10 +403,15 @@ package = 8D40F41C2BD1CE1A0020872A /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; productName = FirebaseAppCheck; }; - 8D40F43A2BD1CE3E0020872A /* FirebaseVertexAI-Preview */ = { + 8D7B83002CD4127C0024A604 /* FirebaseAuth */ = { isa = XCSwiftPackageProductDependency; package = 8D40F41C2BD1CE1A0020872A /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; - productName = "FirebaseVertexAI-Preview"; + productName = FirebaseAuth; + }; + 8D7B83022CD4127C0024A604 /* FirebaseVertexAI */ = { + isa = XCSwiftPackageProductDependency; + package = 8D40F41C2BD1CE1A0020872A /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */; + productName = FirebaseVertexAI; }; /* End XCSwiftPackageProductDependency section */ }; diff --git a/vertexai/VertexAISnippets/VertexAISnippets.swift b/vertexai/VertexAISnippets/VertexAISnippets.swift index ab871d53..ea18b7fb 100644 --- a/vertexai/VertexAISnippets/VertexAISnippets.swift +++ b/vertexai/VertexAISnippets/VertexAISnippets.swift @@ -20,6 +20,7 @@ import AppKit // [START import_vertexai] import FirebaseVertexAI +import FirebaseCore // [END import_vertexai] class Snippets { @@ -91,7 +92,7 @@ class Snippets { let prompt = "Write a story about a magic backpack." // To stream generated text output, call generateContentStream with the text input - let contentStream = model.generateContentStream(prompt) + let contentStream = try model.generateContentStream(prompt) for try await chunk in contentStream { if let text = chunk.text { print(text) @@ -125,7 +126,7 @@ class Snippets { let prompt = "What's in this picture?" // To stream generated text output, call generateContentStream and pass in the prompt - let contentStream = model.generateContentStream(image, prompt) + let contentStream = try model.generateContentStream(image, prompt) for try await chunk in contentStream { if let text = chunk.text { print(text) @@ -167,7 +168,7 @@ class Snippets { let prompt = "What's different between these pictures?" // To stream generated text output, call generateContentStream and pass in the prompt - let contentStream = model.generateContentStream(image1, image2, prompt) + let contentStream = try model.generateContentStream(image1, image2, prompt) for try await chunk in contentStream { if let text = chunk.text { print(text) @@ -203,7 +204,7 @@ class Snippets { withExtension: "mp4") else { fatalError() } let video = try Data(contentsOf: fileURL) let prompt = "What's in this video?" - let videoContent = ModelContent.Part.data(mimetype: "video/mp4", video) + let videoContent = InlineDataPart(data: video, mimeType: "video/mp4") // To generate text output, call generateContent and pass in the prompt let response = try await model.generateContent(videoContent, prompt) @@ -219,10 +220,10 @@ class Snippets { withExtension: "mp4") else { fatalError() } let video = try Data(contentsOf: fileURL) let prompt = "What's in this video?" - let videoContent = ModelContent.Part.data(mimetype: "video/mp4", video) + let videoContent = InlineDataPart(data: video, mimeType: "video/mp4") // To stream generated text output, call generateContentStream and pass in the prompt - let contentStream = model.generateContentStream(videoContent, prompt) + let contentStream = try model.generateContentStream(videoContent, prompt) for try await chunk in contentStream { if let text = chunk.text { print(text) @@ -243,7 +244,7 @@ class Snippets { let chat = model.startChat(history: history) // To stream generated text output, call sendMessageStream and pass in the message - let contentStream = chat.sendMessageStream("How many paws are in my house?") + let contentStream = try chat.sendMessageStream("How many paws are in my house?") for try await chunk in contentStream { if let text = chunk.text { print(text) @@ -275,7 +276,7 @@ class Snippets { // [START count_tokens_text] let response = try await model.countTokens("Why is the sky blue?") print("Total Tokens: \(response.totalTokens)") - print("Total Billable Characters: \(response.totalBillableCharacters)") + print("Total Billable Characters: \(response.totalBillableCharacters ?? 0)") // [END count_tokens_text] } @@ -288,7 +289,7 @@ class Snippets { // [START count_tokens_text_image] let response = try await model.countTokens(image, "What's in this picture?") print("Total Tokens: \(response.totalTokens)") - print("Total Billable Characters: \(response.totalBillableCharacters)") + print("Total Billable Characters: \(response.totalBillableCharacters ?? 0)") // [END count_tokens_text_image] } @@ -303,7 +304,7 @@ class Snippets { // [START count_tokens_multi_image] let response = try await model.countTokens(image1, image2, "What's in this picture?") print("Total Tokens: \(response.totalTokens)") - print("Total Billable Characters: \(response.totalBillableCharacters)") + print("Total Billable Characters: \(response.totalBillableCharacters ?? 0)") // [END count_tokens_multi_image] } @@ -311,11 +312,11 @@ class Snippets { // [START count_tokens_chat] let chat = model.startChat() let history = chat.history - let message = try ModelContent(role: "user", "Why is the sky blue?") + let message = ModelContent(role: "user", parts: "Why is the sky blue?") let contents = history + [message] let response = try await model.countTokens(contents) print("Total Tokens: \(response.totalTokens)") - print("Total Billable Characters: \(response.totalBillableCharacters)") + print("Total Billable Characters: \(response.totalBillableCharacters ?? 0)") // [END count_tokens_chat] } @@ -361,16 +362,13 @@ class Snippets { name: "getExchangeRate", description: "Get the exchange rate for currencies between countries", parameters: [ - "currencyFrom": Schema( - type: .string, + "currencyFrom": Schema.string( description: "The currency to convert from." ), - "currencyTo": Schema( - type: .string, + "currencyTo": Schema.string( description: "The currency to convert to." ), - ], - requiredParameters: ["currencyFrom", "currencyTo"] + ] ) // [END create_function_metadata] @@ -383,7 +381,7 @@ class Snippets { let model = vertex.generativeModel( modelName: "gemini-1.5-flash", // Specify the function declaration. - tools: [Tool(functionDeclarations: [getExchangeRate])] + tools: [Tool.functionDeclarations([getExchangeRate])] ) // [END initialize_model_function] @@ -418,10 +416,7 @@ class Snippets { // displayed to the user. let response = try await chat.sendMessage([ModelContent( role: "function", - parts: [.functionResponse(FunctionResponse( - name: functionCall.name, - response: apiResponse - ))] + parts: [FunctionResponsePart(name: functionCall.name, response: apiResponse)] )]) // Log the text response. @@ -436,8 +431,7 @@ class Snippets { let getExchangeRate = FunctionDeclaration( name: "getExchangeRate", description: "Get the exchange rate for currencies between countries", - parameters: nil, - requiredParameters: nil + parameters: [:] ) // [START function_modes] @@ -445,11 +439,10 @@ class Snippets { // Setting a function calling mode is only available in Gemini 1.5 Pro modelName: "gemini-1.5-pro", // Pass the function declaration - tools: [Tool(functionDeclarations: [getExchangeRate])], + tools: [Tool.functionDeclarations([getExchangeRate])], toolConfig: ToolConfig( - functionCallingConfig: FunctionCallingConfig( - // Only call functions (model won't generate text) - mode: FunctionCallingConfig.Mode.any, + // Only call functions (model won't generate text) + functionCallingConfig: FunctionCallingConfig.any( // This should only be set when the Mode is .any. allowedFunctionNames: ["getExchangeRate"] )