diff --git a/abtesting/ABTestingExample.xcodeproj/project.pbxproj b/abtesting/ABTestingExample.xcodeproj/project.pbxproj index aafb770a5..bf7c3dab1 100644 --- a/abtesting/ABTestingExample.xcodeproj/project.pbxproj +++ b/abtesting/ABTestingExample.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 08C528DAA1CC89E029F3B196 /* Pods_ABTestingExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4A3777E4C7EA7C51147F725 /* Pods_ABTestingExample.framework */; }; 10B92C9F202E3603008DBD68 /* ABTestingExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10B92C9E202E3603008DBD68 /* ABTestingExampleUITests.swift */; }; 8DFFBF9E1F9E6C5200C3483E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DFFBF9D1F9E6C5200C3483E /* AppDelegate.swift */; }; 8DFFBFA01F9E6C5200C3483E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DFFBF9F1F9E6C5200C3483E /* ViewController.swift */; }; @@ -14,6 +15,7 @@ 8DFFBFA51F9E6C5200C3483E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8DFFBFA41F9E6C5200C3483E /* Assets.xcassets */; }; 8DFFBFA81F9E6C5200C3483E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DFFBFA61F9E6C5200C3483E /* LaunchScreen.storyboard */; }; 8DFFBFB31F9E6C5200C3483E /* ABTestingExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DFFBFB21F9E6C5200C3483E /* ABTestingExampleTests.swift */; }; + CB4D46371B609A6569E5E725 /* Pods_ABTestingExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF55BCCCBCF501F0A9E04DF9 /* Pods_ABTestingExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -37,6 +39,8 @@ 10B92C9C202E3603008DBD68 /* ABTestingExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ABTestingExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 10B92C9E202E3603008DBD68 /* ABTestingExampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ABTestingExampleUITests.swift; sourceTree = ""; }; 10B92CA0202E3603008DBD68 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 17CA89527C50FBFB2FDF3EBF /* Pods-ABTestingExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ABTestingExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ABTestingExampleTests/Pods-ABTestingExampleTests.debug.xcconfig"; sourceTree = ""; }; + 642B6DD80C43C2A36483EE40 /* Pods-ABTestingExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ABTestingExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-ABTestingExample/Pods-ABTestingExample.release.xcconfig"; sourceTree = ""; }; 8DFFBF9A1F9E6C5200C3483E /* ABTestingExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ABTestingExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 8DFFBF9D1F9E6C5200C3483E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 8DFFBF9F1F9E6C5200C3483E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; @@ -47,6 +51,10 @@ 8DFFBFAE1F9E6C5200C3483E /* ABTestingExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ABTestingExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 8DFFBFB21F9E6C5200C3483E /* ABTestingExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ABTestingExampleTests.swift; sourceTree = ""; }; 8DFFBFB41F9E6C5200C3483E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A41256F93F4C03D8D34154EC /* Pods-ABTestingExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ABTestingExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ABTestingExample/Pods-ABTestingExample.debug.xcconfig"; sourceTree = ""; }; + A4A3777E4C7EA7C51147F725 /* Pods_ABTestingExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ABTestingExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + AB538AEFB15844243EE71CD5 /* Pods-ABTestingExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ABTestingExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ABTestingExampleTests/Pods-ABTestingExampleTests.release.xcconfig"; sourceTree = ""; }; + EF55BCCCBCF501F0A9E04DF9 /* Pods_ABTestingExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ABTestingExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -61,6 +69,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 08C528DAA1CC89E029F3B196 /* Pods_ABTestingExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -68,6 +77,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + CB4D46371B609A6569E5E725 /* Pods_ABTestingExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -83,6 +93,17 @@ path = ABTestingExampleUITests; sourceTree = ""; }; + 58ACB7BBD7BE3DCA8FE6CBA3 /* Pods */ = { + isa = PBXGroup; + children = ( + A41256F93F4C03D8D34154EC /* Pods-ABTestingExample.debug.xcconfig */, + 642B6DD80C43C2A36483EE40 /* Pods-ABTestingExample.release.xcconfig */, + 17CA89527C50FBFB2FDF3EBF /* Pods-ABTestingExampleTests.debug.xcconfig */, + AB538AEFB15844243EE71CD5 /* Pods-ABTestingExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 8DFFBF911F9E6C5200C3483E = { isa = PBXGroup; children = ( @@ -90,6 +111,8 @@ 8DFFBFB11F9E6C5200C3483E /* ABTestingExampleTests */, 10B92C9D202E3603008DBD68 /* ABTestingExampleUITests */, 8DFFBF9B1F9E6C5200C3483E /* Products */, + 58ACB7BBD7BE3DCA8FE6CBA3 /* Pods */, + F912D696240DC427A9C850B8 /* Frameworks */, ); sourceTree = ""; }; @@ -125,6 +148,15 @@ path = ABTestingExampleTests; sourceTree = ""; }; + F912D696240DC427A9C850B8 /* Frameworks */ = { + isa = PBXGroup; + children = ( + A4A3777E4C7EA7C51147F725 /* Pods_ABTestingExample.framework */, + EF55BCCCBCF501F0A9E04DF9 /* Pods_ABTestingExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -150,9 +182,11 @@ isa = PBXNativeTarget; buildConfigurationList = 8DFFBFB71F9E6C5200C3483E /* Build configuration list for PBXNativeTarget "ABTestingExample" */; buildPhases = ( + D90A7F502ADF89DB80E34404 /* [CP] Check Pods Manifest.lock */, 8DFFBF961F9E6C5200C3483E /* Sources */, 8DFFBF971F9E6C5200C3483E /* Frameworks */, 8DFFBF981F9E6C5200C3483E /* Resources */, + 01F1375950D85029A0DF6EFD /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -167,6 +201,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8DFFBFBA1F9E6C5200C3483E /* Build configuration list for PBXNativeTarget "ABTestingExampleTests" */; buildPhases = ( + 1D246FDDB03A691F2B14DA77 /* [CP] Check Pods Manifest.lock */, 8DFFBFAA1F9E6C5200C3483E /* Sources */, 8DFFBFAB1F9E6C5200C3483E /* Frameworks */, 8DFFBFAC1F9E6C5200C3483E /* Resources */, @@ -193,17 +228,18 @@ TargetAttributes = { 10B92C9B202E3603008DBD68 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 8DFFBF991F9E6C5200C3483E; }; 8DFFBF991F9E6C5200C3483E = { CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 8DFFBFAD1F9E6C5200C3483E = { CreatedOnToolsVersion = 8.3.3; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 8DFFBF991F9E6C5200C3483E; }; @@ -256,6 +292,67 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 01F1375950D85029A0DF6EFD /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-ABTestingExample/Pods-ABTestingExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ABTestingExample/Pods-ABTestingExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 1D246FDDB03A691F2B14DA77 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ABTestingExampleTests-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; + }; + D90A7F502ADF89DB80E34404 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ABTestingExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 10B92C98202E3603008DBD68 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -330,13 +427,14 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ABTestingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExample.ABTestingExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = ABTestingExample; }; @@ -355,13 +453,14 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ABTestingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExample.ABTestingExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = ABTestingExample; }; @@ -480,58 +579,62 @@ }; 8DFFBFB81F9E6C5200C3483E /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A41256F93F4C03D8D34154EC /* Pods-ABTestingExample.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = ABTestingExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks $(PODS_CONFIGURATION_BUILD_DIR)/GoogleToolboxForMac $(PODS_CONFIGURATION_BUILD_DIR)/nanopb $(PODS_CONFIGURATION_BUILD_DIR)/Protobuf"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 8DFFBFB91F9E6C5200C3483E /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 642B6DD80C43C2A36483EE40 /* Pods-ABTestingExample.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = ABTestingExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks $(PODS_CONFIGURATION_BUILD_DIR)/GoogleToolboxForMac $(PODS_CONFIGURATION_BUILD_DIR)/nanopb $(PODS_CONFIGURATION_BUILD_DIR)/Protobuf"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; 8DFFBFBB1F9E6C5200C3483E /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 17CA89527C50FBFB2FDF3EBF /* Pods-ABTestingExampleTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = ABTestingExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ABTestingExample.app/ABTestingExample"; }; name = Debug; }; 8DFFBFBC1F9E6C5200C3483E /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AB538AEFB15844243EE71CD5 /* Pods-ABTestingExampleTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = ABTestingExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.ABTestingExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ABTestingExample.app/ABTestingExample"; }; name = Release; diff --git a/abtesting/ABTestingExample/AppDelegate.swift b/abtesting/ABTestingExample/AppDelegate.swift index a452d0846..50368108e 100644 --- a/abtesting/ABTestingExample/AppDelegate.swift +++ b/abtesting/ABTestingExample/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() return true } diff --git a/abtesting/ABTestingExample/ViewController.swift b/abtesting/ABTestingExample/ViewController.swift index a81b33f13..f1054fbe2 100644 --- a/abtesting/ABTestingExample/ViewController.swift +++ b/abtesting/ABTestingExample/ViewController.swift @@ -87,8 +87,13 @@ class ViewController: UIViewController, UITableViewDataSource { } @objc func printInstanceIDToken() { - let instanceID = InstanceID.instanceID().token() ?? "null" - print("InstanceID token: \(instanceID)") + InstanceID.instanceID().instanceID { (result, error) in + if let error = error { + print("Error fetching remote instange ID: \(error)") + } else if let result = result { + print("Remote instance ID token: \(result.token)") + } + } } deinit { @@ -104,7 +109,7 @@ class ViewController: UIViewController, UITableViewDataSource { navigationController?.navigationBar.barTintColor = ViewController.lightColors.primary navigationController?.navigationBar.barStyle = .`default` navigationController?.navigationBar.titleTextAttributes = [ - NSAttributedStringKey.foregroundColor: UIColor.black + NSAttributedString.Key.foregroundColor: UIColor.black ] tableView.separatorColor = .gray tableView.backgroundColor = UIColor(red: 0.94, green: 0.94, blue: 0.94, alpha: 1) @@ -113,7 +118,7 @@ class ViewController: UIViewController, UITableViewDataSource { navigationController?.navigationBar.barTintColor = ViewController.darkColors.primary navigationController?.navigationBar.barStyle = .black navigationController?.navigationBar.titleTextAttributes = [ - NSAttributedStringKey.foregroundColor: UIColor.white + NSAttributedString.Key.foregroundColor: UIColor.white ] tableView.separatorColor = .lightGray tableView.backgroundColor = ViewController.darkColors.secondary diff --git a/admob/AdMobExample.xcodeproj/project.pbxproj b/admob/AdMobExample.xcodeproj/project.pbxproj index 5d5766db6..7ce107618 100644 --- a/admob/AdMobExample.xcodeproj/project.pbxproj +++ b/admob/AdMobExample.xcodeproj/project.pbxproj @@ -8,9 +8,7 @@ /* Begin PBXBuildFile section */ 1021DD271B05187A0018763B /* AdMobExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1021DD261B05187A0018763B /* AdMobExampleTests.m */; }; - 1048165C1B067ACD00139095 /* AdMobExampleSwiftTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1021DD351B0518E40018763B /* AdMobExampleSwiftTests.swift */; }; 1048165E1B068A0300139095 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF86EE2419787E6B00411520 /* Main.storyboard */; }; - 104816601B068FC100139095 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 105919B41ADDA93F00344065 /* ViewController.swift */; }; 105414A31B163EB20006C828 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1054149F1B163EB20006C828 /* Images.xcassets */; }; 105414A41B163EB20006C828 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1054149F1B163EB20006C828 /* Images.xcassets */; }; 105414A51B163EB20006C828 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 105414A01B163EB20006C828 /* LaunchScreen.xib */; }; @@ -20,10 +18,15 @@ 105919BA1ADDAA5D00344065 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 105919B41ADDA93F00344065 /* ViewController.swift */; }; 107346BD203157F4004A66D1 /* AdMobExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 107346BC203157F4004A66D1 /* AdMobExampleSwiftUITests.swift */; }; 107347F120333A9F004A66D1 /* AdMobExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 107347F020333A9F004A66D1 /* AdMobExampleUITests.m */; }; + 1FD8247FC1C6F2D3D87C5C34 /* Pods_AdMobExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FBC6248B103731FA11ACB4CE /* Pods_AdMobExampleSwift.framework */; }; + 5D363D9C76A69303C6021C0B /* Pods_AdMobExampleSwiftTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15BC24E6CEE51339C9F4479B /* Pods_AdMobExampleSwiftTests.framework */; }; + 848529B3278D5914E5C28CBA /* Pods_AdMobExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 58FD806921AA4EFF8992BC69 /* Pods_AdMobExampleTests.framework */; }; CF86EE1D19787E6B00411520 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CF86EE1C19787E6B00411520 /* main.m */; }; CF86EE2019787E6B00411520 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CF86EE1F19787E6B00411520 /* AppDelegate.m */; }; CF86EE2319787E6B00411520 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CF86EE2219787E6B00411520 /* ViewController.m */; }; CF86EE2619787E6B00411520 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF86EE2419787E6B00411520 /* Main.storyboard */; }; + DC64CE73B5895DE5CD60D825 /* Pods_AdMobExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 606B7C4863F0343B3143116C /* Pods_AdMobExample.framework */; }; + F54EB9CA21ADF3DC002A1D71 /* AdMobExampleSwiftTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1021DD351B0518E40018763B /* AdMobExampleSwiftTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -58,6 +61,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 0D29F90498EA7B4CFFF1913F /* Pods-AdMobExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExample/Pods-AdMobExample.debug.xcconfig"; sourceTree = ""; }; 1021DD221B05187A0018763B /* AdMobExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AdMobExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1021DD251B05187A0018763B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1021DD261B05187A0018763B /* AdMobExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AdMobExampleTests.m; sourceTree = ""; }; @@ -76,6 +80,15 @@ 107347F020333A9F004A66D1 /* AdMobExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AdMobExampleUITests.m; sourceTree = ""; }; 107347F220333A9F004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 10BCC1C31B06474800B5A8B2 /* ViewController_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController_Private.h; sourceTree = ""; }; + 15BC24E6CEE51339C9F4479B /* Pods_AdMobExampleSwiftTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AdMobExampleSwiftTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 58FD806921AA4EFF8992BC69 /* Pods_AdMobExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AdMobExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5BCD923CF2E7B3BF3ED1AC73 /* Pods-AdMobExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleTests/Pods-AdMobExampleTests.debug.xcconfig"; sourceTree = ""; }; + 5DAB008EA513062F61FE375E /* Pods-AdMobExampleSwiftTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleSwiftTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleSwiftTests/Pods-AdMobExampleSwiftTests.debug.xcconfig"; sourceTree = ""; }; + 5E4FE1C5248655901D59C6E2 /* Pods-AdMobExampleSwiftTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleSwiftTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleSwiftTests/Pods-AdMobExampleSwiftTests.release.xcconfig"; sourceTree = ""; }; + 606B7C4863F0343B3143116C /* Pods_AdMobExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AdMobExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B3E440D23D712EDD346BAC5C /* Pods-AdMobExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleTests/Pods-AdMobExampleTests.release.xcconfig"; sourceTree = ""; }; + BADB781DE9B309A645F387DD /* Pods-AdMobExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleSwift/Pods-AdMobExampleSwift.release.xcconfig"; sourceTree = ""; }; + C25C11F301514C083517E99A /* Pods-AdMobExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExample/Pods-AdMobExample.release.xcconfig"; sourceTree = ""; }; CF86EE1719787E6B00411520 /* AdMobExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AdMobExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; CF86EE1B19787E6B00411520 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; CF86EE1C19787E6B00411520 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -84,6 +97,8 @@ CF86EE2119787E6B00411520 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; CF86EE2219787E6B00411520 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; CF86EE2519787E6B00411520 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + F3980E10E1A372F5C9843045 /* Pods-AdMobExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdMobExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AdMobExampleSwift/Pods-AdMobExampleSwift.debug.xcconfig"; sourceTree = ""; }; + FBC6248B103731FA11ACB4CE /* Pods_AdMobExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AdMobExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -91,6 +106,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 848529B3278D5914E5C28CBA /* Pods_AdMobExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -98,6 +114,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 5D363D9C76A69303C6021C0B /* Pods_AdMobExampleSwiftTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -105,6 +122,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 1FD8247FC1C6F2D3D87C5C34 /* Pods_AdMobExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -126,12 +144,24 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + DC64CE73B5895DE5CD60D825 /* Pods_AdMobExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 01893455D0B6A7D5902D2B7E /* Frameworks */ = { + isa = PBXGroup; + children = ( + 606B7C4863F0343B3143116C /* Pods_AdMobExample.framework */, + FBC6248B103731FA11ACB4CE /* Pods_AdMobExampleSwift.framework */, + 15BC24E6CEE51339C9F4479B /* Pods_AdMobExampleSwiftTests.framework */, + 58FD806921AA4EFF8992BC69 /* Pods_AdMobExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 1021DD231B05187A0018763B /* AdMobExampleTests */ = { isa = PBXGroup; children = ( @@ -194,6 +224,21 @@ path = AdMobExampleUITests; sourceTree = ""; }; + B35104D9F372A989CAB750B9 /* Pods */ = { + isa = PBXGroup; + children = ( + 0D29F90498EA7B4CFFF1913F /* Pods-AdMobExample.debug.xcconfig */, + C25C11F301514C083517E99A /* Pods-AdMobExample.release.xcconfig */, + F3980E10E1A372F5C9843045 /* Pods-AdMobExampleSwift.debug.xcconfig */, + BADB781DE9B309A645F387DD /* Pods-AdMobExampleSwift.release.xcconfig */, + 5DAB008EA513062F61FE375E /* Pods-AdMobExampleSwiftTests.debug.xcconfig */, + 5E4FE1C5248655901D59C6E2 /* Pods-AdMobExampleSwiftTests.release.xcconfig */, + 5BCD923CF2E7B3BF3ED1AC73 /* Pods-AdMobExampleTests.debug.xcconfig */, + B3E440D23D712EDD346BAC5C /* Pods-AdMobExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; CF86EE0E19787E6B00411520 = { isa = PBXGroup; children = ( @@ -204,6 +249,8 @@ 107346BB203157F4004A66D1 /* AdMobExampleSwiftUITests */, 107347EF20333A9F004A66D1 /* AdMobExampleUITests */, CF86EE1819787E6B00411520 /* Products */, + B35104D9F372A989CAB750B9 /* Pods */, + 01893455D0B6A7D5902D2B7E /* Frameworks */, ); sourceTree = ""; }; @@ -259,6 +306,7 @@ isa = PBXNativeTarget; buildConfigurationList = 1021DD2C1B05187A0018763B /* Build configuration list for PBXNativeTarget "AdMobExampleTests" */; buildPhases = ( + 5A6A2B2BFD6E6B980F2F378F /* [CP] Check Pods Manifest.lock */, 1021DD1E1B05187A0018763B /* Sources */, 1021DD1F1B05187A0018763B /* Frameworks */, 1021DD201B05187A0018763B /* Resources */, @@ -277,6 +325,7 @@ isa = PBXNativeTarget; buildConfigurationList = 1021DD391B0518E40018763B /* Build configuration list for PBXNativeTarget "AdMobExampleSwiftTests" */; buildPhases = ( + 35BEA17ABBDDC9F3CC9E640A /* [CP] Check Pods Manifest.lock */, 1021DD2D1B0518E40018763B /* Sources */, 1021DD2E1B0518E40018763B /* Frameworks */, 1021DD2F1B0518E40018763B /* Resources */, @@ -295,9 +344,11 @@ isa = PBXNativeTarget; buildConfigurationList = 105919AA1ADDA8F800344065 /* Build configuration list for PBXNativeTarget "AdMobExampleSwift" */; buildPhases = ( + 514E15BB98666B92D97E6E47 /* [CP] Check Pods Manifest.lock */, 105919861ADDA8F700344065 /* Sources */, 105919871ADDA8F700344065 /* Frameworks */, 105919881ADDA8F700344065 /* Resources */, + 6E1DAEC0AFA9C4342DD84125 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -348,9 +399,11 @@ isa = PBXNativeTarget; buildConfigurationList = CF86EE3719787E6B00411520 /* Build configuration list for PBXNativeTarget "AdMobExample" */; buildPhases = ( + E779FEB82878C4A304FC4C1D /* [CP] Check Pods Manifest.lock */, CF86EE1319787E6B00411520 /* Sources */, CF86EE1419787E6B00411520 /* Frameworks */, CF86EE1519787E6B00411520 /* Resources */, + 967CC8A9E21AEF557BD9BE2F /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -379,16 +432,18 @@ }; 1021DD301B0518E40018763B = { CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; + TestTargetID = 105919891ADDA8F700344065; }; 105919891ADDA8F700344065 = { CreatedOnToolsVersion = 6.2; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 107346B9203157F4004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 105919891ADDA8F700344065; }; @@ -478,6 +533,121 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 35BEA17ABBDDC9F3CC9E640A /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AdMobExampleSwiftTests-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; + }; + 514E15BB98666B92D97E6E47 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AdMobExampleSwift-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; + }; + 5A6A2B2BFD6E6B980F2F378F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AdMobExampleTests-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; + }; + 6E1DAEC0AFA9C4342DD84125 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AdMobExampleSwift/Pods-AdMobExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AdMobExampleSwift/Pods-AdMobExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 967CC8A9E21AEF557BD9BE2F /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AdMobExample/Pods-AdMobExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AdMobExample/Pods-AdMobExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E779FEB82878C4A304FC4C1D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AdMobExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1021DD1E1B05187A0018763B /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -491,8 +661,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 104816601B068FC100139095 /* ViewController.swift in Sources */, - 1048165C1B067ACD00139095 /* AdMobExampleSwiftTests.swift in Sources */, + F54EB9CA21ADF3DC002A1D71 /* AdMobExampleSwiftTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -570,6 +739,7 @@ /* Begin XCBuildConfiguration section */ 1021DD2A1B05187A0018763B /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5BCD923CF2E7B3BF3ED1AC73 /* Pods-AdMobExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -596,6 +766,7 @@ }; 1021DD2B1B05187A0018763B /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B3E440D23D712EDD346BAC5C /* Pods-AdMobExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -619,14 +790,14 @@ }; 1021DD3A1B0518E40018763B /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5DAB008EA513062F61FE375E /* Pods-AdMobExampleSwiftTests.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + 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)", - ); + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_NO_COMMON_BLOCKS = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", @@ -635,42 +806,51 @@ INFOPLIST_FILE = AdMobExampleSwiftTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_ROOT}/Google-Mobile-Ads-SDK/Libraries\"", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.quickstart.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AdMobExampleSwift.app/AdMobExampleSwift"; }; name = Debug; }; 1021DD3B1B0518E40018763B /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5E4FE1C5248655901D59C6E2 /* Pods-AdMobExampleSwiftTests.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = ""; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = AdMobExampleSwiftTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_ROOT}/Google-Mobile-Ads-SDK/Libraries\"", + ); PRODUCT_BUNDLE_IDENTIFIER = "com.google.firebase.quickstart.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AdMobExampleSwift.app/AdMobExampleSwift"; }; name = Release; }; 105919AB1ADDA8F800344065 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F3980E10E1A372F5C9843045 /* Pods-AdMobExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -688,13 +868,13 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 105919AC1ADDA8F800344065 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = BADB781DE9B309A645F387DD /* Pods-AdMobExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -708,8 +888,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AdMobExample; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; @@ -724,14 +903,16 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AdMobExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = "$(inherited)/**"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AdMobExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AdMobExampleSwift; }; @@ -749,13 +930,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AdMobExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LIBRARY_SEARCH_PATHS = "$(inherited)/**"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AdMobExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AdMobExampleSwift; }; @@ -772,6 +955,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AdMobExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -795,6 +979,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AdMobExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -913,6 +1098,7 @@ }; CF86EE3819787E6B00411520 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 0D29F90498EA7B4CFFF1913F /* Pods-AdMobExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -929,6 +1115,7 @@ }; CF86EE3919787E6B00411520 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C25C11F301514C083517E99A /* Pods-AdMobExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; diff --git a/admob/AdMobExampleSwift/AppDelegate.swift b/admob/AdMobExampleSwift/AppDelegate.swift index 25c34f2df..539f5ad6f 100644 --- a/admob/AdMobExampleSwift/AppDelegate.swift +++ b/admob/AdMobExampleSwift/AppDelegate.swift @@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Use Firebase library to configure APIs FirebaseApp.configure() return true diff --git a/analytics/AnalyticsExample.xcodeproj/project.pbxproj b/analytics/AnalyticsExample.xcodeproj/project.pbxproj index 1c2b66165..3af767746 100644 --- a/analytics/AnalyticsExample.xcodeproj/project.pbxproj +++ b/analytics/AnalyticsExample.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 107346D920315877004A66D1 /* AnalyticsExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 107346D820315877004A66D1 /* AnalyticsExampleSwiftUITests.swift */; }; 107347FF20333AD6004A66D1 /* AnalyticsExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 107347FE20333AD6004A66D1 /* AnalyticsExampleUITests.m */; }; + 13F02A561E22BCC853AFDE09 /* Pods_AnalyticsExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BFFA98603B8AFEF02BB0F3D9 /* Pods_AnalyticsExampleTests.framework */; }; 5F3B16801AFC453200860007 /* CircleImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F3B167F1AFC453200860007 /* CircleImageView.m */; }; 5F3B16811AFC453200860007 /* CircleImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F3B167F1AFC453200860007 /* CircleImageView.m */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; @@ -26,10 +27,12 @@ 5FC04A811AF1DF8300F787CA /* PatternTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FC04A801AF1DF8300F787CA /* PatternTabBarController.swift */; }; 5FC7AD8E1B0D446A004E3100 /* LogWrapper.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5FC7AD8D1B0D446A004E3100 /* LogWrapper.mm */; }; 5FDE05641B0DAD5C0037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE05631B0DAD5C0037B82F /* AppTests.m */; }; + 662BA6E7AAB1128E72055ECE /* Pods_AnalyticsExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB1A852D50B9401883D80EAA /* Pods_AnalyticsExampleSwift.framework */; }; EF01600C1BD07C1F00F8DA01 /* AnalyticsImages.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EF01600B1BD07C1F00F8DA01 /* AnalyticsImages.xcassets */; }; EF01600D1BD07C1F00F8DA01 /* AnalyticsImages.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EF01600B1BD07C1F00F8DA01 /* AnalyticsImages.xcassets */; }; EFB6C1B61C6524F4007CCA78 /* FoodPickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EFB6C1B51C6524F4007CCA78 /* FoodPickerViewController.m */; }; EFB6C1BA1C656D38007CCA78 /* FoodPickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EFB6C1B91C656D38007CCA78 /* FoodPickerViewController.swift */; }; + F4331E9DCE52B1BD65690584 /* Pods_AnalyticsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8B5A275DCC88B4B244239C4 /* Pods_AnalyticsExample.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -85,10 +88,19 @@ 5FC7AD8D1B0D446A004E3100 /* LogWrapper.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LogWrapper.mm; sourceTree = ""; }; 5FC7AD8F1B0D44B9004E3100 /* LogWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LogWrapper.h; sourceTree = ""; }; 5FDE05631B0DAD5C0037B82F /* AppTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 9BE3D914B4972926A41DBF73 /* Pods-AnalyticsExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExampleSwift/Pods-AnalyticsExampleSwift.release.xcconfig"; sourceTree = ""; }; + BFFA98603B8AFEF02BB0F3D9 /* Pods_AnalyticsExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnalyticsExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + CE24ECE2002F31A124DE54BD /* Pods-AnalyticsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExample/Pods-AnalyticsExample.debug.xcconfig"; sourceTree = ""; }; + D8B5A275DCC88B4B244239C4 /* Pods_AnalyticsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnalyticsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E9DF1AC9D8FE200D2DDA4D6D /* Pods-AnalyticsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExample/Pods-AnalyticsExample.release.xcconfig"; sourceTree = ""; }; + EB1A852D50B9401883D80EAA /* Pods_AnalyticsExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AnalyticsExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; EF01600B1BD07C1F00F8DA01 /* AnalyticsImages.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = AnalyticsImages.xcassets; sourceTree = ""; }; + EF80FAE24300C6AD9E04E618 /* Pods-AnalyticsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExampleTests/Pods-AnalyticsExampleTests.release.xcconfig"; sourceTree = ""; }; EFB6C1B41C6524F4007CCA78 /* FoodPickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FoodPickerViewController.h; sourceTree = ""; }; EFB6C1B51C6524F4007CCA78 /* FoodPickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FoodPickerViewController.m; sourceTree = ""; }; EFB6C1B91C656D38007CCA78 /* FoodPickerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FoodPickerViewController.swift; sourceTree = ""; }; + F1A3CE9AF92A3EB290F4220E /* Pods-AnalyticsExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExampleSwift/Pods-AnalyticsExampleSwift.debug.xcconfig"; sourceTree = ""; }; + F7C4E0F36B97ED87C59AB6AF /* Pods-AnalyticsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AnalyticsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AnalyticsExampleTests/Pods-AnalyticsExampleTests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -110,6 +122,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + F4331E9DCE52B1BD65690584 /* Pods_AnalyticsExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -117,6 +130,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 662BA6E7AAB1128E72055ECE /* Pods_AnalyticsExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -124,6 +138,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 13F02A561E22BCC853AFDE09 /* Pods_AnalyticsExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -159,6 +174,8 @@ 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, 5FC29E541AE9255700668C8D /* Images */, + E83FE8EE237D11AEFF34D456 /* Pods */, + 90E0F8D2E2C67E9C0C86CEC2 /* Frameworks */, ); sourceTree = ""; }; @@ -241,6 +258,29 @@ path = AnalyticsExampleTests; sourceTree = ""; }; + 90E0F8D2E2C67E9C0C86CEC2 /* Frameworks */ = { + isa = PBXGroup; + children = ( + D8B5A275DCC88B4B244239C4 /* Pods_AnalyticsExample.framework */, + EB1A852D50B9401883D80EAA /* Pods_AnalyticsExampleSwift.framework */, + BFFA98603B8AFEF02BB0F3D9 /* Pods_AnalyticsExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + E83FE8EE237D11AEFF34D456 /* Pods */ = { + isa = PBXGroup; + children = ( + CE24ECE2002F31A124DE54BD /* Pods-AnalyticsExample.debug.xcconfig */, + E9DF1AC9D8FE200D2DDA4D6D /* Pods-AnalyticsExample.release.xcconfig */, + 9BE3D914B4972926A41DBF73 /* Pods-AnalyticsExampleSwift.release.xcconfig */, + F1A3CE9AF92A3EB290F4220E /* Pods-AnalyticsExampleSwift.debug.xcconfig */, + F7C4E0F36B97ED87C59AB6AF /* Pods-AnalyticsExampleTests.debug.xcconfig */, + EF80FAE24300C6AD9E04E618 /* Pods-AnalyticsExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -284,9 +324,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "AnalyticsExample" */; buildPhases = ( + 72C5FBD693780A07F9874AA3 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 4983ECBA5F83AA9327CF499D /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -301,9 +343,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "AnalyticsExampleSwift" */; buildPhases = ( + C8A0F59A96D48CCEBD6E4B1F /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + 2EAC4EC5E8CC92BD308D8E09 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -318,6 +362,7 @@ isa = PBXNativeTarget; buildConfigurationList = 5FC7AD8C1B0D4106004E3100 /* Build configuration list for PBXNativeTarget "AnalyticsExampleTests" */; buildPhases = ( + 7518432EC0544AF2782E93D7 /* [CP] Check Pods Manifest.lock */, 5FC7AD7E1B0D4106004E3100 /* Sources */, 5FC7AD7F1B0D4106004E3100 /* Frameworks */, 5FC7AD801B0D4106004E3100 /* Resources */, @@ -344,6 +389,7 @@ TargetAttributes = { 107346D520315877004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -359,7 +405,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FC7AD811B0D4106004E3100 = { @@ -438,6 +484,103 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 2EAC4EC5E8CC92BD308D8E09 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AnalyticsExampleSwift/Pods-AnalyticsExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AnalyticsExampleSwift/Pods-AnalyticsExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 4983ECBA5F83AA9327CF499D /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AnalyticsExample/Pods-AnalyticsExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AnalyticsExample/Pods-AnalyticsExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 72C5FBD693780A07F9874AA3 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AnalyticsExample-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; + }; + 7518432EC0544AF2782E93D7 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AnalyticsExampleTests-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; + }; + C8A0F59A96D48CCEBD6E4B1F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AnalyticsExampleSwift-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107346D220315877004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -532,6 +675,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AnalyticsExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -539,7 +683,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AnalyticsExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AnalyticsExampleSwift; }; @@ -557,13 +701,14 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AnalyticsExampleSwiftUITests/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.AnalyticsExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AnalyticsExampleSwift; }; @@ -580,6 +725,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AnalyticsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -603,6 +749,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AnalyticsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -616,6 +763,7 @@ }; 1073F3B81DA830C500C3EDCB /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F1A3CE9AF92A3EB290F4220E /* Pods-AnalyticsExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -630,8 +778,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AnalyticsExample; PRODUCT_NAME = AnalyticsExampleSwift; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -740,6 +887,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = CE24ECE2002F31A124DE54BD /* Pods-AnalyticsExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -757,6 +905,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E9DF1AC9D8FE200D2DDA4D6D /* Pods-AnalyticsExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -774,6 +923,7 @@ }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 9BE3D914B4972926A41DBF73 /* Pods-AnalyticsExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -787,13 +937,13 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FC7AD8A1B0D4106004E3100 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F7C4E0F36B97ED87C59AB6AF /* Pods-AnalyticsExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -829,6 +979,7 @@ }; 5FC7AD8B1B0D4106004E3100 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = EF80FAE24300C6AD9E04E618 /* Pods-AnalyticsExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/analytics/AnalyticsExampleSwift/AppDelegate.swift b/analytics/AnalyticsExampleSwift/AppDelegate.swift index dd86b3fc1..fd2f18616 100644 --- a/analytics/AnalyticsExampleSwift/AppDelegate.swift +++ b/analytics/AnalyticsExampleSwift/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START tracker_swift] FirebaseApp.configure() diff --git a/authentication/AuthenticationExample.xcodeproj/project.pbxproj b/authentication/AuthenticationExample.xcodeproj/project.pbxproj index d56739e53..3a67f6950 100644 --- a/authentication/AuthenticationExample.xcodeproj/project.pbxproj +++ b/authentication/AuthenticationExample.xcodeproj/project.pbxproj @@ -15,6 +15,7 @@ 10B053F91C6631CD0061077D /* UIViewController+Alerts.m in Sources */ = {isa = PBXBuildFile; fileRef = 10B053F81C6631CD0061077D /* UIViewController+Alerts.m */; }; 10B053FB1C6945D80061077D /* UIViewController+Alerts.m in Sources */ = {isa = PBXBuildFile; fileRef = 10B053F81C6631CD0061077D /* UIViewController+Alerts.m */; }; 10B054031C6A3C630061077D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 10B054011C6A3C630061077D /* Main.storyboard */; }; + 4FE818003F94196C1DCD6724 /* Pods_AuthenticationExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB536E987A885496F30BE8BF /* Pods_AuthenticationExampleSwift.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A537E1ADE67D500F81DF0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A537D1ADE67D500F81DF0 /* AppDelegate.swift */; }; @@ -22,6 +23,8 @@ 5F99610B1AE0CF4F0034F503 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961061AE0CF4F0034F503 /* Images.xcassets */; }; 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; + 69041C96084CDF48EA13BFC0 /* Pods_AuthenticationExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72F1C544AC62090929CDDB90 /* Pods_AuthenticationExample.framework */; }; + 8A11CFCAAEDC96D88EA8D98D /* Pods_AuthenticationExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4E2458824923D658EE2EF54 /* Pods_AuthenticationExampleTests.framework */; }; EF4857041C752B7700649485 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 10B054011C6A3C630061077D /* Main.storyboard */; }; EF6DB4CB1CDD60F700319C08 /* CustomTokenViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF6DB4C81CDD60F700319C08 /* CustomTokenViewController.swift */; }; EF6DB4CC1CDD60F700319C08 /* EmailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF6DB4C91CDD60F700319C08 /* EmailViewController.swift */; }; @@ -71,6 +74,7 @@ 10B053F71C6631CD0061077D /* UIViewController+Alerts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIViewController+Alerts.h"; sourceTree = ""; }; 10B053F81C6631CD0061077D /* UIViewController+Alerts.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+Alerts.m"; sourceTree = ""; }; 10B054021C6A3C630061077D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 2D8AC4D8B9123543A67E24BD /* Pods-AuthenticationExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample.debug.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* AuthenticationExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AuthenticationExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -81,6 +85,14 @@ 5F5A539B1ADE695B00F81DF0 /* BridgingHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BridgingHeader.h; sourceTree = ""; }; 5F9961061AE0CF4F0034F503 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; + 72F1C544AC62090929CDDB90 /* Pods_AuthenticationExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AuthenticationExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A1D7A3A6D1A3FE94D37BD75A /* Pods-AuthenticationExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift.debug.xcconfig"; sourceTree = ""; }; + C4E2458824923D658EE2EF54 /* Pods_AuthenticationExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AuthenticationExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + CEE63E504F10AAFA3EF85C27 /* Pods-AuthenticationExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample.release.xcconfig"; sourceTree = ""; }; + CF638F1D2F2D9D7A9B8FF476 /* Pods-AuthenticationExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests.debug.xcconfig"; sourceTree = ""; }; + DB536E987A885496F30BE8BF /* Pods_AuthenticationExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AuthenticationExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DF516FB963C6549BB8763E8A /* Pods-AuthenticationExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift.release.xcconfig"; sourceTree = ""; }; + E8E6F2046D5C240C717EAA63 /* Pods-AuthenticationExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AuthenticationExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests.release.xcconfig"; sourceTree = ""; }; EF6DB4C81CDD60F700319C08 /* CustomTokenViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomTokenViewController.swift; sourceTree = ""; }; EF6DB4C91CDD60F700319C08 /* EmailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EmailViewController.swift; sourceTree = ""; }; EF6DB4CA1CDD60F700319C08 /* MainViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = ""; }; @@ -111,6 +123,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8A11CFCAAEDC96D88EA8D98D /* Pods_AuthenticationExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -118,6 +131,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 69041C96084CDF48EA13BFC0 /* Pods_AuthenticationExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -125,6 +139,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 4FE818003F94196C1DCD6724 /* Pods_AuthenticationExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -167,6 +182,8 @@ 1073480B20333B18004A66D1 /* AuthenticationExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + 7DBACE6218EB707B751A55A1 /* Pods */, + 65CDB67DCD821B523AC79DB3 /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -245,6 +262,29 @@ path = ../shared; sourceTree = ""; }; + 65CDB67DCD821B523AC79DB3 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 72F1C544AC62090929CDDB90 /* Pods_AuthenticationExample.framework */, + DB536E987A885496F30BE8BF /* Pods_AuthenticationExampleSwift.framework */, + C4E2458824923D658EE2EF54 /* Pods_AuthenticationExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 7DBACE6218EB707B751A55A1 /* Pods */ = { + isa = PBXGroup; + children = ( + 2D8AC4D8B9123543A67E24BD /* Pods-AuthenticationExample.debug.xcconfig */, + CEE63E504F10AAFA3EF85C27 /* Pods-AuthenticationExample.release.xcconfig */, + A1D7A3A6D1A3FE94D37BD75A /* Pods-AuthenticationExampleSwift.debug.xcconfig */, + DF516FB963C6549BB8763E8A /* Pods-AuthenticationExampleSwift.release.xcconfig */, + CF638F1D2F2D9D7A9B8FF476 /* Pods-AuthenticationExampleTests.debug.xcconfig */, + E8E6F2046D5C240C717EAA63 /* Pods-AuthenticationExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -288,9 +328,12 @@ isa = PBXNativeTarget; buildConfigurationList = 10AF4D151DD3966C0096D192 /* Build configuration list for PBXNativeTarget "AuthenticationExampleTests" */; buildPhases = ( + D87B107A6C98546E81DB5414 /* [CP] Check Pods Manifest.lock */, 10AF4D0A1DD3966C0096D192 /* Sources */, 10AF4D0B1DD3966C0096D192 /* Frameworks */, 10AF4D0C1DD3966C0096D192 /* Resources */, + 2F3AF05CED6DD61BE8260748 /* [CP] Embed Pods Frameworks */, + 532B7BF02BBE3228724368BB /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -306,9 +349,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "AuthenticationExample" */; buildPhases = ( + 36C7590D997A140A791AD3F2 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + ED143B7635C7B2043C54AF1A /* [CP] Embed Pods Frameworks */, + 8F6F9456EA950C6DFF4DE6D5 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -323,9 +369,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "AuthenticationExampleSwift" */; buildPhases = ( + BB8AF9D762FACED5D33D88C6 /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + 21D50C0E6FF9939F1D81675D /* [CP] Embed Pods Frameworks */, + DDD02B1570785045B698BA05 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -348,6 +397,7 @@ TargetAttributes = { 107346F12031590C004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -376,7 +426,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.Keychain = { @@ -455,6 +505,219 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 21D50C0E6FF9939F1D81675D /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Bolts/Bolts.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKCoreKit/FBSDKCoreKit.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKLoginKit/FBSDKLoginKit.framework", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Bolts.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKCoreKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKLoginKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 2F3AF05CED6DD61BE8260748 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Bolts/Bolts.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKCoreKit/FBSDKCoreKit.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKLoginKit/FBSDKLoginKit.framework", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Bolts.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKCoreKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKLoginKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 36C7590D997A140A791AD3F2 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AuthenticationExample-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; + }; + 532B7BF02BBE3228724368BB /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests-resources.sh", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + "${PODS_ROOT}/TwitterKit/iOS/TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TwitterKitResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleTests/Pods-AuthenticationExampleTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8F6F9456EA950C6DFF4DE6D5 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample-resources.sh", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + "${PODS_ROOT}/TwitterKit/iOS/TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TwitterKitResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + BB8AF9D762FACED5D33D88C6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AuthenticationExampleSwift-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; + }; + D87B107A6C98546E81DB5414 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-AuthenticationExampleTests-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; + }; + DDD02B1570785045B698BA05 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift-resources.sh", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + "${PODS_ROOT}/TwitterKit/iOS/TwitterKit.framework/Versions/A/Resources/TwitterKitResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TwitterKitResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExampleSwift/Pods-AuthenticationExampleSwift-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + ED143B7635C7B2043C54AF1A /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Bolts/Bolts.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKCoreKit/FBSDKCoreKit.framework", + "${BUILT_PRODUCTS_DIR}/FBSDKLoginKit/FBSDKLoginKit.framework", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Bolts.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKCoreKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSDKLoginKit.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AuthenticationExample/Pods-AuthenticationExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107346EE2031590C004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -550,6 +813,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AuthenticationExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -557,7 +821,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.AuthenticationExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AuthenticationExampleSwift; }; @@ -575,13 +840,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AuthenticationExampleSwiftUITests/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.AuthenticationExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = AuthenticationExampleSwift; }; @@ -598,6 +865,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AuthenticationExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -621,6 +889,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = AuthenticationExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -634,6 +903,7 @@ }; 10AF4D161DD3966C0096D192 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = CF638F1D2F2D9D7A9B8FF476 /* Pods-AuthenticationExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; @@ -654,6 +924,7 @@ }; 10AF4D171DD3966C0096D192 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E8E6F2046D5C240C717EAA63 /* Pods-AuthenticationExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; @@ -780,6 +1051,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2D8AC4D8B9123543A67E24BD /* Pods-AuthenticationExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -802,6 +1074,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = CEE63E504F10AAFA3EF85C27 /* Pods-AuthenticationExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -823,6 +1096,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A1D7A3A6D1A3FE94D37BD75A /* Pods-AuthenticationExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -839,12 +1113,13 @@ SWIFT_OBJC_BRIDGING_HEADER = AuthenticationExampleSwift/BridgingHeader.h; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = DF516FB963C6549BB8763E8A /* Pods-AuthenticationExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -861,7 +1136,7 @@ SWIFT_OBJC_BRIDGING_HEADER = AuthenticationExampleSwift/BridgingHeader.h; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/authentication/AuthenticationExampleSwift/AppDelegate.swift b/authentication/AuthenticationExampleSwift/AppDelegate.swift index 36c289961..4a01a4f2f 100644 --- a/authentication/AuthenticationExampleSwift/AppDelegate.swift +++ b/authentication/AuthenticationExampleSwift/AppDelegate.swift @@ -35,7 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GIDSignInDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions - launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START firebase_configure] // Use Firebase library to configure APIs FirebaseApp.configure() @@ -59,13 +59,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GIDSignInDelegate { // [START new_delegate] @available(iOS 9.0, *) - func application(_ application: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any]) + func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool { // [END new_delegate] return self.application(application, open: url, // [START new_options] - sourceApplication:options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String, + sourceApplication:options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: [:]) } // [END new_options] @@ -89,7 +89,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GIDSignInDelegate { } // [END old_options] - func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { + func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return userActivity.webpageURL.flatMap(handlePasswordlessSignIn)! } @@ -100,7 +100,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, GIDSignInDelegate { // [END is_signin_link] UserDefaults.standard.set(link, forKey: "Link") (window?.rootViewController as? UINavigationController)?.popToRootViewController(animated: false) - window?.rootViewController?.childViewControllers[0].performSegue(withIdentifier: "passwordless", sender: nil) + window?.rootViewController?.children[0].performSegue(withIdentifier: "passwordless", sender: nil) return true } return false diff --git a/authentication/AuthenticationExampleSwift/MainViewController.swift b/authentication/AuthenticationExampleSwift/MainViewController.swift index ecd475beb..d74f44f54 100644 --- a/authentication/AuthenticationExampleSwift/MainViewController.swift +++ b/authentication/AuthenticationExampleSwift/MainViewController.swift @@ -432,7 +432,7 @@ class MainViewController: UITableViewController, GIDSignInUIDelegate { return "Unlink" } - override func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath) -> UITableViewCellEditingStyle { + override func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath) -> UITableViewCell.EditingStyle { if indexPath.section == kSectionProviders { return .delete } @@ -440,7 +440,7 @@ class MainViewController: UITableViewController, GIDSignInUIDelegate { } // Swipe to delete - override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) { + override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { if editingStyle == .delete { let providerID = Auth.auth().currentUser?.providerData[indexPath.row].providerID showSpinner({ diff --git a/config/ConfigExample.xcodeproj/project.pbxproj b/config/ConfigExample.xcodeproj/project.pbxproj index 9bb97f79d..46dfcae5d 100644 --- a/config/ConfigExample.xcodeproj/project.pbxproj +++ b/config/ConfigExample.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ 1073481B20333B45004A66D1 /* ConfigExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073481A20333B45004A66D1 /* ConfigExampleUITests.m */; }; 32C355031CBC57CF009B576C /* RemoteConfigDefaults.plist in Resources */ = {isa = PBXBuildFile; fileRef = 32C355021CBC57CF009B576C /* RemoteConfigDefaults.plist */; }; 32C355041CBC57CF009B576C /* RemoteConfigDefaults.plist in Resources */ = {isa = PBXBuildFile; fileRef = 32C355021CBC57CF009B576C /* RemoteConfigDefaults.plist */; }; + 45C1BD3839CC3D9859DE3861 /* Pods_ConfigExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0BF847638C3F19C435D14678 /* Pods_ConfigExample.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A53581ADE670C00F81DF0 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53571ADE670C00F81DF0 /* ViewController.m */; }; @@ -23,6 +24,8 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + 6AF4BF095B530333DADEC38C /* Pods_ConfigExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 17DA80D39172E7AEAC7A6180 /* Pods_ConfigExampleSwift.framework */; }; + F20E83976B7A3BB947682E2C /* Pods_ConfigExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 10DC20510D2019963F2F78CE /* Pods_ConfigExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -50,13 +53,17 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 0BF847638C3F19C435D14678 /* Pods_ConfigExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ConfigExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1073470E2031593F004A66D1 /* ConfigExampleSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ConfigExampleSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 107347102031593F004A66D1 /* ConfigExampleSwiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigExampleSwiftUITests.swift; sourceTree = ""; }; 107347122031593F004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1073481820333B45004A66D1 /* ConfigExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ConfigExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073481A20333B45004A66D1 /* ConfigExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConfigExampleUITests.m; sourceTree = ""; }; 1073481C20333B45004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 10DC20510D2019963F2F78CE /* Pods_ConfigExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ConfigExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 17DA80D39172E7AEAC7A6180 /* Pods_ConfigExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ConfigExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32C355021CBC57CF009B576C /* RemoteConfigDefaults.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = RemoteConfigDefaults.plist; sourceTree = ""; }; + 48026BC4627433A1098CB1C4 /* Pods-ConfigExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExampleSwift/Pods-ConfigExampleSwift.debug.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* ConfigExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ConfigExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -72,6 +79,11 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* ConfigExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ConfigExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 90E35B362A74AD585A513715 /* Pods-ConfigExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExample/Pods-ConfigExample.release.xcconfig"; sourceTree = ""; }; + 9AB04F3F8F8622D77E2F92C1 /* Pods-ConfigExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExampleSwift/Pods-ConfigExampleSwift.release.xcconfig"; sourceTree = ""; }; + B7CC3AA04DCC4293DFE02528 /* Pods-ConfigExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExampleTests/Pods-ConfigExampleTests.release.xcconfig"; sourceTree = ""; }; + BE1C1B60F7D7889BD8F7018F /* Pods-ConfigExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExample/Pods-ConfigExample.debug.xcconfig"; sourceTree = ""; }; + FDDF04CD6B27C418F5A0D8F0 /* Pods-ConfigExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ConfigExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ConfigExampleTests/Pods-ConfigExampleTests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -93,6 +105,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 45C1BD3839CC3D9859DE3861 /* Pods_ConfigExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -100,6 +113,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 6AF4BF095B530333DADEC38C /* Pods_ConfigExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -107,6 +121,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + F20E83976B7A3BB947682E2C /* Pods_ConfigExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -131,6 +146,19 @@ path = ConfigExampleUITests; sourceTree = ""; }; + 555F6E688E3B1CB6A0501F64 /* Pods */ = { + isa = PBXGroup; + children = ( + BE1C1B60F7D7889BD8F7018F /* Pods-ConfigExample.debug.xcconfig */, + 90E35B362A74AD585A513715 /* Pods-ConfigExample.release.xcconfig */, + 48026BC4627433A1098CB1C4 /* Pods-ConfigExampleSwift.debug.xcconfig */, + 9AB04F3F8F8622D77E2F92C1 /* Pods-ConfigExampleSwift.release.xcconfig */, + FDDF04CD6B27C418F5A0D8F0 /* Pods-ConfigExampleTests.debug.xcconfig */, + B7CC3AA04DCC4293DFE02528 /* Pods-ConfigExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 5F5A53431ADE670C00F81DF0 = { isa = PBXGroup; children = ( @@ -141,6 +169,8 @@ 1073481920333B45004A66D1 /* ConfigExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + 555F6E688E3B1CB6A0501F64 /* Pods */, + 728044BCAE05A0CC790A67F9 /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -208,6 +238,16 @@ path = ConfigExampleTests; sourceTree = ""; }; + 728044BCAE05A0CC790A67F9 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 0BF847638C3F19C435D14678 /* Pods_ConfigExample.framework */, + 17DA80D39172E7AEAC7A6180 /* Pods_ConfigExampleSwift.framework */, + 10DC20510D2019963F2F78CE /* Pods_ConfigExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -251,9 +291,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "ConfigExample" */; buildPhases = ( + A7D875A865FB81D8DCB90E6C /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + CB81FEE0F00CF99390625958 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -268,9 +310,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "ConfigExampleSwift" */; buildPhases = ( + 52D61930DF223E20EF6AC9BE /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + A2205F5C8DD18B4B4EC1002B /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -285,8 +329,10 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "ConfigExampleTests" */; buildPhases = ( + 58085ABA2028D2C105E78CE2 /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, + 3CCBEB61734633B81AA6E0E2 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -310,6 +356,7 @@ TargetAttributes = { 1073470D2031593F004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -324,7 +371,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; }; 5FDE05571B0DAA090037B82F = { CreatedOnToolsVersion = 6.3.2; @@ -393,6 +440,129 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 3CCBEB61734633B81AA6E0E2 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-ConfigExampleTests/Pods-ConfigExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ConfigExampleTests/Pods-ConfigExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 52D61930DF223E20EF6AC9BE /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ConfigExampleSwift-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; + }; + 58085ABA2028D2C105E78CE2 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ConfigExampleTests-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; + }; + A2205F5C8DD18B4B4EC1002B /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-ConfigExampleSwift/Pods-ConfigExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ConfigExampleSwift/Pods-ConfigExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A7D875A865FB81D8DCB90E6C /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ConfigExample-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; + }; + CB81FEE0F00CF99390625958 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-ConfigExample/Pods-ConfigExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ConfigExample/Pods-ConfigExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1073470A2031593F004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -480,6 +650,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ConfigExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -488,7 +659,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = ConfigExampleSwift; }; @@ -506,13 +677,14 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ConfigExampleSwiftUITests/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.ConfigExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = ConfigExampleSwift; }; @@ -529,6 +701,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ConfigExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -552,6 +725,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = ConfigExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -669,6 +843,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = BE1C1B60F7D7889BD8F7018F /* Pods-ConfigExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -684,6 +859,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 90E35B362A74AD585A513715 /* Pods-ConfigExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -699,6 +875,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 48026BC4627433A1098CB1C4 /* Pods-ConfigExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -708,13 +885,13 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.ConfigExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 9AB04F3F8F8622D77E2F92C1 /* Pods-ConfigExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -724,16 +901,17 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.ConfigExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FDDF04CD6B27C418F5A0D8F0 /* Pods-ConfigExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -757,10 +935,12 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B7CC3AA04DCC4293DFE02528 /* Pods-ConfigExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", diff --git a/config/ConfigExampleSwift/AppDelegate.swift b/config/ConfigExampleSwift/AppDelegate.swift index 38bc6a213..f2339a754 100644 --- a/config/ConfigExampleSwift/AppDelegate.swift +++ b/config/ConfigExampleSwift/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START configure_firebase] FirebaseApp.configure() // [END configure_firebase] diff --git a/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj b/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj index 2e9ca4dac..838babea8 100644 --- a/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj +++ b/crashlytics/CrashlyticsExample.xcodeproj/project.pbxproj @@ -21,6 +21,9 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + 8BE0987438FC5B31A9AD415B /* Pods_CrashlyticsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8C858BEDE4073F74F23D1C4 /* Pods_CrashlyticsExample.framework */; }; + D6CD26C66E7490E8422CD708 /* Pods_CrashlyticsExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00944AB38DF7D3E28442BFAE /* Pods_CrashlyticsExampleSwift.framework */; }; + FE0DFA0DAD7B3C76494DD3A2 /* Pods_CrashlyticsExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7FBF08E0E0981FE6025A97E2 /* Pods_CrashlyticsExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -48,12 +51,16 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 00944AB38DF7D3E28442BFAE /* Pods_CrashlyticsExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashlyticsExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 01366B6070AFA3B5749D9708 /* Pods-CrashlyticsExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExampleTests/Pods-CrashlyticsExampleTests.debug.xcconfig"; sourceTree = ""; }; 1073472A20315969004A66D1 /* CrashlyticsExampleSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashlyticsExampleSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073472C20315969004A66D1 /* CrashReportingExampleSwiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashReportingExampleSwiftUITests.swift; sourceTree = ""; }; 1073472E20315969004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1073482620333B71004A66D1 /* CrashlyticsExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashlyticsExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073482820333B71004A66D1 /* CrashReportingExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CrashReportingExampleUITests.m; sourceTree = ""; }; 1073482A20333B71004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5B442F72C510BCE5B79FB551 /* Pods-CrashlyticsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExample/Pods-CrashlyticsExample.debug.xcconfig"; sourceTree = ""; }; + 5BFB953B6AA260BB85AFAB63 /* Pods-CrashlyticsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExample/Pods-CrashlyticsExample.release.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* CrashlyticsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CrashlyticsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -69,6 +76,11 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* CrashlyticsExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashlyticsExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 6754C1D3DAF22EE8D084DB78 /* Pods-CrashlyticsExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExampleTests/Pods-CrashlyticsExampleTests.release.xcconfig"; sourceTree = ""; }; + 7FBF08E0E0981FE6025A97E2 /* Pods_CrashlyticsExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashlyticsExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 982BE4E9BF299EAECF52F6D6 /* Pods-CrashlyticsExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExampleSwift/Pods-CrashlyticsExampleSwift.debug.xcconfig"; sourceTree = ""; }; + B8B144AAAECBDC6AC3EE2E7B /* Pods-CrashlyticsExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashlyticsExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashlyticsExampleSwift/Pods-CrashlyticsExampleSwift.release.xcconfig"; sourceTree = ""; }; + F8C858BEDE4073F74F23D1C4 /* Pods_CrashlyticsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashlyticsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -90,6 +102,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 8BE0987438FC5B31A9AD415B /* Pods_CrashlyticsExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -97,6 +110,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + D6CD26C66E7490E8422CD708 /* Pods_CrashlyticsExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -104,6 +118,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + FE0DFA0DAD7B3C76494DD3A2 /* Pods_CrashlyticsExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -128,6 +143,19 @@ path = CrashlyticsExampleUITests; sourceTree = ""; }; + 2BE27F33F4F05FC1DEB7E64D /* Pods */ = { + isa = PBXGroup; + children = ( + 5B442F72C510BCE5B79FB551 /* Pods-CrashlyticsExample.debug.xcconfig */, + 5BFB953B6AA260BB85AFAB63 /* Pods-CrashlyticsExample.release.xcconfig */, + 982BE4E9BF299EAECF52F6D6 /* Pods-CrashlyticsExampleSwift.debug.xcconfig */, + B8B144AAAECBDC6AC3EE2E7B /* Pods-CrashlyticsExampleSwift.release.xcconfig */, + 01366B6070AFA3B5749D9708 /* Pods-CrashlyticsExampleTests.debug.xcconfig */, + 6754C1D3DAF22EE8D084DB78 /* Pods-CrashlyticsExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 5F5A53431ADE670C00F81DF0 = { isa = PBXGroup; children = ( @@ -138,6 +166,8 @@ 1073482720333B71004A66D1 /* CrashlyticsExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + 2BE27F33F4F05FC1DEB7E64D /* Pods */, + E0B8FBAEEBEB6F4D93D0E163 /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -203,6 +233,16 @@ path = CrashlyticsExampleTests; sourceTree = ""; }; + E0B8FBAEEBEB6F4D93D0E163 /* Frameworks */ = { + isa = PBXGroup; + children = ( + F8C858BEDE4073F74F23D1C4 /* Pods_CrashlyticsExample.framework */, + 00944AB38DF7D3E28442BFAE /* Pods_CrashlyticsExampleSwift.framework */, + 7FBF08E0E0981FE6025A97E2 /* Pods_CrashlyticsExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -246,10 +286,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "CrashlyticsExample" */; buildPhases = ( + 438C636FD1E0149343061413 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, 10E114DA20E3DDE20013E4A4 /* ShellScript */, + F3B7509304AC79188161F635 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -264,10 +306,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "CrashlyticsExampleSwift" */; buildPhases = ( + 0ED0BC801AB062564C370165 /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, 10E114DB20E3DDF00013E4A4 /* ShellScript */, + C8A68886F149D601BB733B97 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -282,6 +326,7 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "CrashlyticsExampleTests" */; buildPhases = ( + 3F8C9B1F3A63AD617B511EF5 /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, @@ -308,6 +353,7 @@ TargetAttributes = { 1073472920315969004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -323,7 +369,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FDE05571B0DAA090037B82F = { @@ -401,6 +447,24 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 0ED0BC801AB062564C370165 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashlyticsExampleSwift-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; + }; 10E114DA20E3DDE20013E4A4 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -427,6 +491,82 @@ shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Fabric/run\""; }; + 3F8C9B1F3A63AD617B511EF5 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashlyticsExampleTests-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; + }; + 438C636FD1E0149343061413 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashlyticsExample-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; + }; + C8A68886F149D601BB733B97 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-CrashlyticsExampleSwift/Pods-CrashlyticsExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrashlyticsExampleSwift/Pods-CrashlyticsExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + F3B7509304AC79188161F635 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-CrashlyticsExample/Pods-CrashlyticsExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrashlyticsExample/Pods-CrashlyticsExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -516,6 +656,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashlyticsExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -524,7 +665,8 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = CrashlyticsExampleSwift; }; @@ -542,13 +684,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashlyticsExampleSwiftUITests/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.CrashReportingExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = CrashlyticsExampleSwift; }; @@ -565,6 +709,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashlyticsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -588,6 +733,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashlyticsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -705,6 +851,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5B442F72C510BCE5B79FB551 /* Pods-CrashlyticsExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -724,6 +871,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5BFB953B6AA260BB85AFAB63 /* Pods-CrashlyticsExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -743,6 +891,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 982BE4E9BF299EAECF52F6D6 /* Pods-CrashlyticsExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -754,13 +903,14 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.CrashReportingExample; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B8B144AAAECBDC6AC3EE2E7B /* Pods-CrashlyticsExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -773,13 +923,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 01366B6070AFA3B5749D9708 /* Pods-CrashlyticsExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -809,6 +960,7 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 6754C1D3DAF22EE8D084DB78 /* Pods-CrashlyticsExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/crashlytics/CrashlyticsExampleSwift/AppDelegate.swift b/crashlytics/CrashlyticsExampleSwift/AppDelegate.swift index 9947cc8c7..c948749ec 100644 --- a/crashlytics/CrashlyticsExampleSwift/AppDelegate.swift +++ b/crashlytics/CrashlyticsExampleSwift/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Initialize Firebase service. FirebaseApp.configure() return true diff --git a/crashreporting/CrashReportingExample.xcodeproj/project.pbxproj b/crashreporting/CrashReportingExample.xcodeproj/project.pbxproj index 3e8ea8f1c..fd1839a3f 100644 --- a/crashreporting/CrashReportingExample.xcodeproj/project.pbxproj +++ b/crashreporting/CrashReportingExample.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 00241B9C0F3E61E4FDF688BA /* Pods_CrashReportingExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07AED98F86B243815DFC6738 /* Pods_CrashReportingExample.framework */; }; 1073472D20315969004A66D1 /* CrashReportingExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1073472C20315969004A66D1 /* CrashReportingExampleSwiftUITests.swift */; }; 1073482920333B71004A66D1 /* CrashReportingExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073482820333B71004A66D1 /* CrashReportingExampleUITests.m */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; @@ -21,6 +22,8 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + ABF4F101661BDD891745B8D9 /* Pods_CrashReportingExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 59A8EBDF7D85F2398886ACA4 /* Pods_CrashReportingExampleTests.framework */; }; + BEC27A512FDDDAD0EF375461 /* Pods_CrashReportingExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 620AF981EB717A7F5EF64488 /* Pods_CrashReportingExampleSwift.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -48,12 +51,15 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 07AED98F86B243815DFC6738 /* Pods_CrashReportingExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashReportingExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1073472A20315969004A66D1 /* CrashReportingExampleSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashReportingExampleSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073472C20315969004A66D1 /* CrashReportingExampleSwiftUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CrashReportingExampleSwiftUITests.swift; sourceTree = ""; }; 1073472E20315969004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1073482620333B71004A66D1 /* CrashReportingExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashReportingExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073482820333B71004A66D1 /* CrashReportingExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CrashReportingExampleUITests.m; sourceTree = ""; }; 1073482A20333B71004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3F06856F23FC694AF20B8DA1 /* Pods-CrashReportingExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExampleSwift/Pods-CrashReportingExampleSwift.release.xcconfig"; sourceTree = ""; }; + 59A8EBDF7D85F2398886ACA4 /* Pods_CrashReportingExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashReportingExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A534C1ADE670C00F81DF0 /* CrashReportingExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CrashReportingExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -69,6 +75,12 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* CrashReportingExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CrashReportingExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 620AF981EB717A7F5EF64488 /* Pods_CrashReportingExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CrashReportingExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 89B8403AB82E83064ACBBA2B /* Pods-CrashReportingExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExampleSwift/Pods-CrashReportingExampleSwift.debug.xcconfig"; sourceTree = ""; }; + 8B6F86797899D0C6535F4EAD /* Pods-CrashReportingExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExample/Pods-CrashReportingExample.release.xcconfig"; sourceTree = ""; }; + B5317E1D6328E2D58E133F81 /* Pods-CrashReportingExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExample/Pods-CrashReportingExample.debug.xcconfig"; sourceTree = ""; }; + C959485C5AFD111178CAA072 /* Pods-CrashReportingExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExampleTests/Pods-CrashReportingExampleTests.debug.xcconfig"; sourceTree = ""; }; + C9AEF9D6772F49F7861735FE /* Pods-CrashReportingExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CrashReportingExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CrashReportingExampleTests/Pods-CrashReportingExampleTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -90,6 +102,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 00241B9C0F3E61E4FDF688BA /* Pods_CrashReportingExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -97,6 +110,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + BEC27A512FDDDAD0EF375461 /* Pods_CrashReportingExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -104,6 +118,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + ABF4F101661BDD891745B8D9 /* Pods_CrashReportingExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -138,6 +153,8 @@ 1073482720333B71004A66D1 /* CrashReportingExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + C3B442653DF2B6B80267ABB9 /* Pods */, + D41F6ABB69590618A1697783 /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -204,6 +221,29 @@ path = CrashReportingexampleTests; sourceTree = ""; }; + C3B442653DF2B6B80267ABB9 /* Pods */ = { + isa = PBXGroup; + children = ( + B5317E1D6328E2D58E133F81 /* Pods-CrashReportingExample.debug.xcconfig */, + 8B6F86797899D0C6535F4EAD /* Pods-CrashReportingExample.release.xcconfig */, + 89B8403AB82E83064ACBBA2B /* Pods-CrashReportingExampleSwift.debug.xcconfig */, + 3F06856F23FC694AF20B8DA1 /* Pods-CrashReportingExampleSwift.release.xcconfig */, + C959485C5AFD111178CAA072 /* Pods-CrashReportingExampleTests.debug.xcconfig */, + C9AEF9D6772F49F7861735FE /* Pods-CrashReportingExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + D41F6ABB69590618A1697783 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 07AED98F86B243815DFC6738 /* Pods_CrashReportingExample.framework */, + 620AF981EB717A7F5EF64488 /* Pods_CrashReportingExampleSwift.framework */, + 59A8EBDF7D85F2398886ACA4 /* Pods_CrashReportingExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -247,9 +287,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "CrashReportingExample" */; buildPhases = ( + 112D39511B5394DF7A06EB96 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 5C33BCFA2446E08D6C4687CE /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -264,9 +306,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "CrashReportingExampleSwift" */; buildPhases = ( + 149BE8115E2965AFEB65C46E /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + BD2CBD52770190EB38EDB98A /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -281,9 +325,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "CrashReportingExampleTests" */; buildPhases = ( + D6BAA0CA3BD3CDDBADC42403 /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, + A90867B800364179763DA297 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -307,6 +353,7 @@ TargetAttributes = { 1073472920315969004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -322,7 +369,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FDE05571B0DAA090037B82F = { @@ -399,6 +446,135 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 112D39511B5394DF7A06EB96 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashReportingExample-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; + }; + 149BE8115E2965AFEB65C46E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashReportingExampleSwift-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; + }; + 5C33BCFA2446E08D6C4687CE /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExample/Pods-CrashReportingExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExample/Pods-CrashReportingExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A90867B800364179763DA297 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExampleTests/Pods-CrashReportingExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExampleTests/Pods-CrashReportingExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + BD2CBD52770190EB38EDB98A /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExampleSwift/Pods-CrashReportingExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CrashReportingExampleSwift/Pods-CrashReportingExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + D6BAA0CA3BD3CDDBADC42403 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-CrashReportingExampleTests-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1073472620315969004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -486,6 +662,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashReportingExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -494,7 +671,8 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = CrashReportingExampleSwift; }; @@ -512,13 +690,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashReportingExampleSwiftUITests/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.CrashReportingExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = CrashReportingExampleSwift; }; @@ -535,6 +715,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashReportingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -558,6 +739,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = CrashReportingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -675,6 +857,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B5317E1D6328E2D58E133F81 /* Pods-CrashReportingExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -694,6 +877,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 8B6F86797899D0C6535F4EAD /* Pods-CrashReportingExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -713,6 +897,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 89B8403AB82E83064ACBBA2B /* Pods-CrashReportingExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -724,13 +909,14 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.CrashReportingExample; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 3F06856F23FC694AF20B8DA1 /* Pods-CrashReportingExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -743,13 +929,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C959485C5AFD111178CAA072 /* Pods-CrashReportingExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -779,6 +966,7 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C9AEF9D6772F49F7861735FE /* Pods-CrashReportingExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/crashreporting/CrashReportingExampleSwift/AppDelegate.swift b/crashreporting/CrashReportingExampleSwift/AppDelegate.swift index 3b50218e2..65ed13ce9 100644 --- a/crashreporting/CrashReportingExampleSwift/AppDelegate.swift +++ b/crashreporting/CrashReportingExampleSwift/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Initialize Firebase service. FirebaseApp.configure() return true diff --git a/database/DatabaseExample.xcodeproj/project.pbxproj b/database/DatabaseExample.xcodeproj/project.pbxproj index 9aeaca206..18aafe984 100644 --- a/database/DatabaseExample.xcodeproj/project.pbxproj +++ b/database/DatabaseExample.xcodeproj/project.pbxproj @@ -37,6 +37,7 @@ 10B872C61CDC14C800C7D214 /* MyTopPostsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10B872C51CDC14C800C7D214 /* MyTopPostsViewController.swift */; }; 10F2262F1CDBEE7C005205F2 /* SignInViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F2262E1CDBEE7C005205F2 /* SignInViewController.m */; }; 10F226321CDBEE95005205F2 /* Post.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F226311CDBEE95005205F2 /* Post.m */; }; + 46EABD93189213C24F15CCA4 /* Pods_DatabaseExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4832DE43E898D57FFAC62E8 /* Pods_DatabaseExampleSwift.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A53581ADE670C00F81DF0 /* NewPostViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53571ADE670C00F81DF0 /* NewPostViewController.m */; }; @@ -49,6 +50,8 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + 68A6988364CD8FA2E6D86554 /* Pods_DatabaseExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8753FEB448A459B89B218401 /* Pods_DatabaseExample.framework */; }; + 760672732CB853F89E814AC0 /* Pods_DatabaseExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FBD8177B79FE789BECAC57CE /* Pods_DatabaseExampleTests.framework */; }; EF94DD7B1CE533AC009A635D /* PostTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = EFDCBD531CE4FCC800F68D48 /* PostTableViewCell.xib */; }; EFDCBD541CE4FCC800F68D48 /* PostTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = EFDCBD531CE4FCC800F68D48 /* PostTableViewCell.xib */; }; /* End PBXBuildFile section */ @@ -124,6 +127,7 @@ 10F2262E1CDBEE7C005205F2 /* SignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignInViewController.m; sourceTree = ""; }; 10F226301CDBEE95005205F2 /* Post.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Post.h; sourceTree = ""; }; 10F226311CDBEE95005205F2 /* Post.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Post.m; sourceTree = ""; }; + 468FC44B33DDB0D562FACBC0 /* Pods-DatabaseExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExampleSwift/Pods-DatabaseExampleSwift.debug.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* DatabaseExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DatabaseExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -139,7 +143,15 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* DatabaseExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DatabaseExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 6754084F6FE390C3CF7D08CC /* Pods-DatabaseExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExampleSwift/Pods-DatabaseExampleSwift.release.xcconfig"; sourceTree = ""; }; + 6E2649E13709A989A7353812 /* Pods-DatabaseExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExample/Pods-DatabaseExample.release.xcconfig"; sourceTree = ""; }; + 8753FEB448A459B89B218401 /* Pods_DatabaseExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DatabaseExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A17035C900854C0A297BE363 /* Pods-DatabaseExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExampleTests/Pods-DatabaseExampleTests.debug.xcconfig"; sourceTree = ""; }; + A2645A72E6AE086DCBEF7D61 /* Pods-DatabaseExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExampleTests/Pods-DatabaseExampleTests.release.xcconfig"; sourceTree = ""; }; + C4832DE43E898D57FFAC62E8 /* Pods_DatabaseExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DatabaseExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D313C24A00252A5BC1A57C4C /* Pods-DatabaseExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DatabaseExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DatabaseExample/Pods-DatabaseExample.debug.xcconfig"; sourceTree = ""; }; EFDCBD531CE4FCC800F68D48 /* PostTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PostTableViewCell.xib; sourceTree = ""; }; + FBD8177B79FE789BECAC57CE /* Pods_DatabaseExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DatabaseExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -161,6 +173,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 68A6988364CD8FA2E6D86554 /* Pods_DatabaseExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -168,6 +181,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 46EABD93189213C24F15CCA4 /* Pods_DatabaseExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -175,6 +189,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 760672732CB853F89E814AC0 /* Pods_DatabaseExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -270,6 +285,8 @@ 1073483520333B8C004A66D1 /* DatabaseExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + C65BE21892269F62BA2F4F3D /* Pods */, + 9FAB6F287E37357400DDF99A /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -347,6 +364,29 @@ path = DatabaseExampleTests; sourceTree = ""; }; + 9FAB6F287E37357400DDF99A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8753FEB448A459B89B218401 /* Pods_DatabaseExample.framework */, + C4832DE43E898D57FFAC62E8 /* Pods_DatabaseExampleSwift.framework */, + FBD8177B79FE789BECAC57CE /* Pods_DatabaseExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + C65BE21892269F62BA2F4F3D /* Pods */ = { + isa = PBXGroup; + children = ( + D313C24A00252A5BC1A57C4C /* Pods-DatabaseExample.debug.xcconfig */, + 6E2649E13709A989A7353812 /* Pods-DatabaseExample.release.xcconfig */, + 468FC44B33DDB0D562FACBC0 /* Pods-DatabaseExampleSwift.debug.xcconfig */, + 6754084F6FE390C3CF7D08CC /* Pods-DatabaseExampleSwift.release.xcconfig */, + A17035C900854C0A297BE363 /* Pods-DatabaseExampleTests.debug.xcconfig */, + A2645A72E6AE086DCBEF7D61 /* Pods-DatabaseExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -390,9 +430,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "DatabaseExample" */; buildPhases = ( + F732665966D9BBA652A40D66 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 240D250AF251EAED0C4F11F9 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -407,9 +449,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "DatabaseExampleSwift" */; buildPhases = ( + A847CC09D94A652B0395523D /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + ACCC7902ACE9BBD5BD9123CC /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -424,9 +468,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "DatabaseExampleTests" */; buildPhases = ( + 0D809102DCD71ECA2328E073 /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, + ECD1EAAE2FD24BA14C83D54F /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -450,6 +496,7 @@ TargetAttributes = { 107347452031598A004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -464,7 +511,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FDE05571B0DAA090037B82F = { @@ -544,6 +591,135 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 0D809102DCD71ECA2328E073 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DatabaseExampleTests-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; + }; + 240D250AF251EAED0C4F11F9 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExample/Pods-DatabaseExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExample/Pods-DatabaseExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A847CC09D94A652B0395523D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DatabaseExampleSwift-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; + }; + ACCC7902ACE9BBD5BD9123CC /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExampleSwift/Pods-DatabaseExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExampleSwift/Pods-DatabaseExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + ECD1EAAE2FD24BA14C83D54F /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExampleTests/Pods-DatabaseExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DatabaseExampleTests/Pods-DatabaseExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + F732665966D9BBA652A40D66 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DatabaseExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107347422031598A004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -657,6 +833,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DatabaseExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -664,7 +841,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.DatabaseExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = DatabaseExampleSwift; }; @@ -682,13 +860,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DatabaseExampleSwiftUITests/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.DatabaseExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = DatabaseExampleSwift; }; @@ -705,6 +885,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DatabaseExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -728,6 +909,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DatabaseExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -846,6 +1028,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D313C24A00252A5BC1A57C4C /* Pods-DatabaseExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -863,6 +1046,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 6E2649E13709A989A7353812 /* Pods-DatabaseExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -880,6 +1064,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 468FC44B33DDB0D562FACBC0 /* Pods-DatabaseExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -894,13 +1079,14 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "DatabaseExample/DatabaseExampleSwift-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 6754084F6FE390C3CF7D08CC /* Pods-DatabaseExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -915,13 +1101,14 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "DatabaseExample/DatabaseExampleSwift-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A17035C900854C0A297BE363 /* Pods-DatabaseExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -952,6 +1139,7 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A2645A72E6AE086DCBEF7D61 /* Pods-DatabaseExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/database/DatabaseExampleSwift/AppDelegate.swift b/database/DatabaseExampleSwift/AppDelegate.swift index f40c8c0e1..e4fb9150e 100644 --- a/database/DatabaseExampleSwift/AppDelegate.swift +++ b/database/DatabaseExampleSwift/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START initialize_firebase] FirebaseApp.configure() // [END initialize_firebase] diff --git a/database/DatabaseExampleSwift/PostDataSource.swift b/database/DatabaseExampleSwift/PostDataSource.swift index cc1a92905..e9f9a7e83 100644 --- a/database/DatabaseExampleSwift/PostDataSource.swift +++ b/database/DatabaseExampleSwift/PostDataSource.swift @@ -23,7 +23,7 @@ class PostDataSource: FUITableViewDataSource { return true } - override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle, forRowAt indexPath: IndexPath) { + override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) { if editingStyle == .delete { snapshot(at: indexPath.row).ref.removeValue() } diff --git a/database/DatabaseExampleSwift/PostDetailTableViewController.swift b/database/DatabaseExampleSwift/PostDetailTableViewController.swift index 2e2285f34..133332658 100644 --- a/database/DatabaseExampleSwift/PostDetailTableViewController.swift +++ b/database/DatabaseExampleSwift/PostDetailTableViewController.swift @@ -54,13 +54,13 @@ class PostDetailTableViewController: UITableViewController, UITextFieldDelegate // Listen for new comments in the Firebase database commentsRef.observe(.childAdded, with: { (snapshot) -> Void in self.comments.append(snapshot) - self.tableView.insertRows(at: [IndexPath(row: self.comments.count-1, section: self.kSectionComments)], with: UITableViewRowAnimation.automatic) + self.tableView.insertRows(at: [IndexPath(row: self.comments.count-1, section: self.kSectionComments)], with: UITableView.RowAnimation.automatic) }) // Listen for deleted comments in the Firebase database commentsRef.observe(.childRemoved, with: { (snapshot) -> Void in let index = self.indexOfMessage(snapshot) self.comments.remove(at: index) - self.tableView.deleteRows(at: [IndexPath(row: index, section: self.kSectionComments)], with: UITableViewRowAnimation.automatic) + self.tableView.deleteRows(at: [IndexPath(row: index, section: self.kSectionComments)], with: UITableView.RowAnimation.automatic) }) // [END child_event_listener] diff --git a/database/DatabaseExampleSwift/TabBarController.swift b/database/DatabaseExampleSwift/TabBarController.swift index 423ecd766..00600463d 100644 --- a/database/DatabaseExampleSwift/TabBarController.swift +++ b/database/DatabaseExampleSwift/TabBarController.swift @@ -20,7 +20,7 @@ import Firebase @objc(TabBarController) class TabBarController: UITabBarController { - override func didMove(toParentViewController parent: UIViewController?) { + override func didMove(toParent parent: UIViewController?) { if parent == nil { let firebaseAuth = Auth.auth() do { diff --git a/dynamiclinks/DynamicLinksExample.xcodeproj/project.pbxproj b/dynamiclinks/DynamicLinksExample.xcodeproj/project.pbxproj index c277161b9..4174bf1e0 100644 --- a/dynamiclinks/DynamicLinksExample.xcodeproj/project.pbxproj +++ b/dynamiclinks/DynamicLinksExample.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 0D31740A3BBB47D48AB6B7FE /* Pods_DynamicLinksExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ADDCCB2E4ADE472C89A68BBB /* Pods_DynamicLinksExampleTests.framework */; }; 106C9A341EA54E21009FD392 /* HeaderCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 106C9A331EA54E21009FD392 /* HeaderCell.swift */; }; 106C9A3B1EA56900009FD392 /* ParamTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 106C9A391EA56900009FD392 /* ParamTableViewCell.swift */; }; 106C9A3E1EA66CCD009FD392 /* HeaderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 106C9A3D1EA66CCD009FD392 /* HeaderCell.m */; }; @@ -14,6 +15,7 @@ 10734765203159BF004A66D1 /* DynamicLinksExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10734764203159BF004A66D1 /* DynamicLinksExampleSwiftUITests.swift */; }; 1073484520333BB3004A66D1 /* DynamicLinksExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073484420333BB3004A66D1 /* DynamicLinksExampleUITests.m */; }; 10AF4D491DD3E7660096D192 /* DynamicLinksExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 10AF4D481DD3E7660096D192 /* DynamicLinksExampleTests.m */; }; + 33AD95EADE1E07DF8B1D2F64 /* Pods_DynamicLinksExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 074B2F680218EB1379A82D49 /* Pods_DynamicLinksExampleSwift.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A53581ADE670C00F81DF0 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53571ADE670C00F81DF0 /* ViewController.m */; }; @@ -25,6 +27,7 @@ 5F99610B1AE0CF4F0034F503 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961061AE0CF4F0034F503 /* Images.xcassets */; }; 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; + DA29677BC48BC7E48417CDF3 /* Pods_DynamicLinksExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 20306457B8365482568CE0B4 /* Pods_DynamicLinksExample.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -52,6 +55,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 074B2F680218EB1379A82D49 /* Pods_DynamicLinksExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DynamicLinksExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 105A4F511D91CD1500B5DE54 /* DynamicLinksExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DynamicLinksExample.entitlements; sourceTree = ""; }; 106C9A331EA54E21009FD392 /* HeaderCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HeaderCell.swift; sourceTree = ""; }; 106C9A391EA56900009FD392 /* ParamTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParamTableViewCell.swift; sourceTree = ""; }; @@ -67,6 +71,7 @@ 1073484620333BB3004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 10AF4D461DD3E7660096D192 /* DynamicLinksExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DynamicLinksExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 10AF4D481DD3E7660096D192 /* DynamicLinksExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DynamicLinksExampleTests.m; sourceTree = ""; }; + 20306457B8365482568CE0B4 /* Pods_DynamicLinksExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DynamicLinksExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A534C1ADE670C00F81DF0 /* DynamicLinksExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DynamicLinksExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -80,6 +85,13 @@ 5F5A537F1ADE67D500F81DF0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 5F9961061AE0CF4F0034F503 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; + 60B52F0731638DC09B93B244 /* Pods-DynamicLinksExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExampleSwift/Pods-DynamicLinksExampleSwift.debug.xcconfig"; sourceTree = ""; }; + 76C23BF0F1332B2AF6ADCAB2 /* Pods-DynamicLinksExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExampleTests/Pods-DynamicLinksExampleTests.release.xcconfig"; sourceTree = ""; }; + 816F34489A5BF84E212613DD /* Pods-DynamicLinksExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExampleTests/Pods-DynamicLinksExampleTests.debug.xcconfig"; sourceTree = ""; }; + A143FE97706FC8774DBBAB7C /* Pods-DynamicLinksExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExample/Pods-DynamicLinksExample.debug.xcconfig"; sourceTree = ""; }; + A6518C0BAC8B73FA2AE133E3 /* Pods-DynamicLinksExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExampleSwift/Pods-DynamicLinksExampleSwift.release.xcconfig"; sourceTree = ""; }; + ADDCCB2E4ADE472C89A68BBB /* Pods_DynamicLinksExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DynamicLinksExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C9CB839F68A91DAF57C7650B /* Pods-DynamicLinksExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLinksExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-DynamicLinksExample/Pods-DynamicLinksExample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -101,6 +113,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 0D31740A3BBB47D48AB6B7FE /* Pods_DynamicLinksExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -108,6 +121,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + DA29677BC48BC7E48417CDF3 /* Pods_DynamicLinksExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -115,6 +129,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 33AD95EADE1E07DF8B1D2F64 /* Pods_DynamicLinksExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -157,6 +172,8 @@ 1073484320333BB3004A66D1 /* DynamicLinksExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + 892CBE0295AE78521B560611 /* Pods */, + BB920744A0BD54437143B4EC /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -221,6 +238,29 @@ path = ../shared; sourceTree = ""; }; + 892CBE0295AE78521B560611 /* Pods */ = { + isa = PBXGroup; + children = ( + A143FE97706FC8774DBBAB7C /* Pods-DynamicLinksExample.debug.xcconfig */, + C9CB839F68A91DAF57C7650B /* Pods-DynamicLinksExample.release.xcconfig */, + 60B52F0731638DC09B93B244 /* Pods-DynamicLinksExampleSwift.debug.xcconfig */, + A6518C0BAC8B73FA2AE133E3 /* Pods-DynamicLinksExampleSwift.release.xcconfig */, + 816F34489A5BF84E212613DD /* Pods-DynamicLinksExampleTests.debug.xcconfig */, + 76C23BF0F1332B2AF6ADCAB2 /* Pods-DynamicLinksExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + BB920744A0BD54437143B4EC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 20306457B8365482568CE0B4 /* Pods_DynamicLinksExample.framework */, + 074B2F680218EB1379A82D49 /* Pods_DynamicLinksExampleSwift.framework */, + ADDCCB2E4ADE472C89A68BBB /* Pods_DynamicLinksExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -264,9 +304,11 @@ isa = PBXNativeTarget; buildConfigurationList = 10AF4D4D1DD3E7660096D192 /* Build configuration list for PBXNativeTarget "DynamicLinksExampleTests" */; buildPhases = ( + DB9B5A2D3934C9F2715F8E90 /* [CP] Check Pods Manifest.lock */, 10AF4D421DD3E7660096D192 /* Sources */, 10AF4D431DD3E7660096D192 /* Frameworks */, 10AF4D441DD3E7660096D192 /* Resources */, + 18BAB120AE8D80071241B38E /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -282,9 +324,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "DynamicLinksExample" */; buildPhases = ( + 2BA929EE3C3D12E87CFE13D9 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 14BD2948FDD91EB778EBDB57 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -299,9 +343,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "DynamicLinksExampleSwift" */; buildPhases = ( + 67C5E69ADD9DB7BC9DC6424A /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + 90FDB503A130362B703774F1 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -345,7 +391,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 1000; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; }; @@ -416,6 +462,123 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 14BD2948FDD91EB778EBDB57 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExample/Pods-DynamicLinksExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExample/Pods-DynamicLinksExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 18BAB120AE8D80071241B38E /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExampleTests/Pods-DynamicLinksExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExampleTests/Pods-DynamicLinksExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 2BA929EE3C3D12E87CFE13D9 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DynamicLinksExample-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; + }; + 67C5E69ADD9DB7BC9DC6424A /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DynamicLinksExampleSwift-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; + }; + 90FDB503A130362B703774F1 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExampleSwift/Pods-DynamicLinksExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DynamicLinksExampleSwift/Pods-DynamicLinksExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + DB9B5A2D3934C9F2715F8E90 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DynamicLinksExampleTests-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1073475E203159BF004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -507,6 +670,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DynamicLinksExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -533,6 +697,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DynamicLinksExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -557,6 +722,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DynamicLinksExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -580,6 +746,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = DynamicLinksExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -593,6 +760,7 @@ }; 10AF4D4E1DD3E7660096D192 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 816F34489A5BF84E212613DD /* Pods-DynamicLinksExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; @@ -613,6 +781,7 @@ }; 10AF4D4F1DD3E7660096D192 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 76C23BF0F1332B2AF6ADCAB2 /* Pods-DynamicLinksExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CLANG_ANALYZER_NONNULL = YES; @@ -739,6 +908,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A143FE97706FC8774DBBAB7C /* Pods-DynamicLinksExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -759,6 +929,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C9CB839F68A91DAF57C7650B /* Pods-DynamicLinksExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -778,6 +949,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 60B52F0731638DC09B93B244 /* Pods-DynamicLinksExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -790,13 +962,13 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.DynamicLinksExample; PRODUCT_NAME = DynamicLinksExample; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A6518C0BAC8B73FA2AE133E3 /* Pods-DynamicLinksExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -809,8 +981,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.DynamicLinksExample; PRODUCT_NAME = DynamicLinksExample; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/dynamiclinks/DynamicLinksExampleSwift/AppDelegate.swift b/dynamiclinks/DynamicLinksExampleSwift/AppDelegate.swift index a355ac1c4..b542ff5f6 100644 --- a/dynamiclinks/DynamicLinksExampleSwift/AppDelegate.swift +++ b/dynamiclinks/DynamicLinksExampleSwift/AppDelegate.swift @@ -27,7 +27,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [START didfinishlaunching] func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Set deepLinkURLScheme to the custom URL scheme you defined in your // Xcode project. FirebaseOptions.defaultOptions()?.deepLinkURLScheme = self.customURLScheme @@ -39,9 +39,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [START openurl] @available(iOS 9.0, *) - func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any]) -> Bool { + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool { return application(app, open: url, - sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String, + sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: "") } @@ -65,7 +65,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [START continueuseractivity] func application(_ application: UIApplication, continue userActivity: NSUserActivity, - restorationHandler: @escaping ([Any]?) -> Void) -> Bool { + restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { let handled = DynamicLinks.dynamicLinks().handleUniversalLink(userActivity.webpageURL!) { (dynamiclink, error) in // [START_EXCLUDE] diff --git a/firestore/FirestoreExample.xcodeproj/project.pbxproj b/firestore/FirestoreExample.xcodeproj/project.pbxproj index 11ad8610b..5be2bedf7 100644 --- a/firestore/FirestoreExample.xcodeproj/project.pbxproj +++ b/firestore/FirestoreExample.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 10734773203159E4004A66D1 /* FirestoreExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10734772203159E4004A66D1 /* FirestoreExampleUITests.swift */; }; + 63CD3369CE0ED345A03C6D4B /* Pods_FirestoreExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 784A38AD0E6DE50A49002649 /* Pods_FirestoreExampleTests.framework */; }; 8D004D2D1EE879B5004DEF35 /* FiltersViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D004D2C1EE879B5004DEF35 /* FiltersViewController.swift */; }; 8D5DF7021F7EF3BA00B0D24F /* NewReviewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D5DF7011F7EF3BA00B0D24F /* NewReviewViewController.swift */; }; 8D9BBC311EE2200900194E9A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D9BBC301EE2200900194E9A /* AppDelegate.swift */; }; @@ -21,6 +22,7 @@ 8DF1E3151EE72C4600192CDE /* LocalCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DF1E3141EE72C4600192CDE /* LocalCollection.swift */; }; 8DF77E1A1EEB45E500CB2330 /* RestaurantDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DF77E191EEB45E500CB2330 /* RestaurantDetailViewController.swift */; }; 8DF77E1C1EEB645100CB2330 /* StarsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DF77E1B1EEB645100CB2330 /* StarsView.swift */; }; + D78664843A7789E84B7AFB0C /* Pods_FirestoreExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43E52F8875CAC64A2BFD7A4C /* Pods_FirestoreExample.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -44,6 +46,11 @@ 10734770203159E3004A66D1 /* FirestoreExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FirestoreExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 10734772203159E4004A66D1 /* FirestoreExampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirestoreExampleUITests.swift; sourceTree = ""; }; 10734774203159E4004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 22B4818FB085CA93B3BC7533 /* Pods-FirestoreExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestoreExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-FirestoreExampleTests/Pods-FirestoreExampleTests.release.xcconfig"; sourceTree = ""; }; + 37F868EB698F200E7E63372C /* Pods-FirestoreExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestoreExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FirestoreExampleTests/Pods-FirestoreExampleTests.debug.xcconfig"; sourceTree = ""; }; + 43E52F8875CAC64A2BFD7A4C /* Pods_FirestoreExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FirestoreExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5F9D82507900D5CD373C6F4A /* Pods-FirestoreExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestoreExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample.debug.xcconfig"; sourceTree = ""; }; + 784A38AD0E6DE50A49002649 /* Pods_FirestoreExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FirestoreExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 8D004D2C1EE879B5004DEF35 /* FiltersViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FiltersViewController.swift; sourceTree = ""; }; 8D5DF7011F7EF3BA00B0D24F /* NewReviewViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewReviewViewController.swift; sourceTree = ""; }; 8D9BBC2D1EE2200900194E9A /* FirestoreExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FirestoreExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -61,6 +68,7 @@ 8DF1E3141EE72C4600192CDE /* LocalCollection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LocalCollection.swift; sourceTree = ""; }; 8DF77E191EEB45E500CB2330 /* RestaurantDetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RestaurantDetailViewController.swift; sourceTree = ""; }; 8DF77E1B1EEB645100CB2330 /* StarsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StarsView.swift; sourceTree = ""; }; + E78619D642B28DEF0E6D2D83 /* Pods-FirestoreExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestoreExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -75,6 +83,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + D78664843A7789E84B7AFB0C /* Pods_FirestoreExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -82,6 +91,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 63CD3369CE0ED345A03C6D4B /* Pods_FirestoreExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -104,6 +114,8 @@ 8D9BBC441EE2200900194E9A /* FirestoreExampleTests */, 10734771203159E4004A66D1 /* FirestoreExampleUITests */, 8D9BBC2E1EE2200900194E9A /* Products */, + F96B1A3F8F7EB08913590CB0 /* Pods */, + FF51D340E56AB77F341106BA /* Frameworks */, ); sourceTree = ""; }; @@ -146,6 +158,26 @@ path = FirestoreExampleTests; sourceTree = ""; }; + F96B1A3F8F7EB08913590CB0 /* Pods */ = { + isa = PBXGroup; + children = ( + 5F9D82507900D5CD373C6F4A /* Pods-FirestoreExample.debug.xcconfig */, + E78619D642B28DEF0E6D2D83 /* Pods-FirestoreExample.release.xcconfig */, + 37F868EB698F200E7E63372C /* Pods-FirestoreExampleTests.debug.xcconfig */, + 22B4818FB085CA93B3BC7533 /* Pods-FirestoreExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + FF51D340E56AB77F341106BA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 43E52F8875CAC64A2BFD7A4C /* Pods_FirestoreExample.framework */, + 784A38AD0E6DE50A49002649 /* Pods_FirestoreExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -171,9 +203,12 @@ isa = PBXNativeTarget; buildConfigurationList = 8D9BBC4A1EE2200900194E9A /* Build configuration list for PBXNativeTarget "FirestoreExample" */; buildPhases = ( + B4A02323BBB8999273B367F3 /* [CP] Check Pods Manifest.lock */, 8D9BBC291EE2200900194E9A /* Sources */, 8D9BBC2A1EE2200900194E9A /* Frameworks */, 8D9BBC2B1EE2200900194E9A /* Resources */, + 6588CA432A5843CA900A31A0 /* [CP] Embed Pods Frameworks */, + 600A9E27DCADADA51B96AD30 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -188,6 +223,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8D9BBC4D1EE2200900194E9A /* Build configuration list for PBXNativeTarget "FirestoreExampleTests" */; buildPhases = ( + 929DA139256078776C7F7E80 /* [CP] Check Pods Manifest.lock */, 8D9BBC3D1EE2200900194E9A /* Sources */, 8D9BBC3E1EE2200900194E9A /* Frameworks */, 8D9BBC3F1EE2200900194E9A /* Resources */, @@ -214,17 +250,18 @@ TargetAttributes = { 1073476F203159E3004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 8D9BBC2C1EE2200900194E9A; }; 8D9BBC2C1EE2200900194E9A = { CreatedOnToolsVersion = 8.3.2; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 8D9BBC401EE2200900194E9A = { CreatedOnToolsVersion = 8.3.2; - LastSwiftMigration = 0930; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 8D9BBC2C1EE2200900194E9A; }; @@ -278,6 +315,107 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 600A9E27DCADADA51B96AD30 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseFirestore/gRPCCertificates.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseAuthUI.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseGoogleAuthUI.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/gRPCCertificates.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseGoogleAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 6588CA432A5843CA900A31A0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/BoringSSL-GRPC/openssl_grpc.framework", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", + "${BUILT_PRODUCTS_DIR}/gRPC-C++/grpcpp.framework", + "${BUILT_PRODUCTS_DIR}/gRPC-Core/grpc.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/openssl_grpc.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpcpp.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpc.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FirestoreExample/Pods-FirestoreExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 929DA139256078776C7F7E80 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FirestoreExampleTests-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; + }; + B4A02323BBB8999273B367F3 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FirestoreExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1073476C203159E3004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -358,13 +496,14 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FirestoreExampleUITests/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.FirestoreExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = FirestoreExample; }; @@ -383,13 +522,14 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FirestoreExampleUITests/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.FirestoreExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = FirestoreExample; }; @@ -508,6 +648,7 @@ }; 8D9BBC4B1EE2200900194E9A /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 5F9D82507900D5CD373C6F4A /* Pods-FirestoreExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -520,13 +661,13 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; 8D9BBC4C1EE2200900194E9A /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E78619D642B28DEF0E6D2D83 /* Pods-FirestoreExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -538,37 +679,38 @@ PRODUCT_BUNDLE_IDENTIFIER = com.firebase.FirestoreExample; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; 8D9BBC4E1EE2200900194E9A /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 37F868EB698F200E7E63372C /* Pods-FirestoreExampleTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = FirestoreExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.FirestoreExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirestoreExample.app/FirestoreExample"; }; name = Debug; }; 8D9BBC4F1EE2200900194E9A /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 22B4818FB085CA93B3BC7533 /* Pods-FirestoreExampleTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = FirestoreExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.firebase.FirestoreExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirestoreExample.app/FirestoreExample"; }; name = Release; diff --git a/firestore/FirestoreExample/AppDelegate.swift b/firestore/FirestoreExample/AppDelegate.swift index a912274be..ff688a355 100644 --- a/firestore/FirestoreExample/AppDelegate.swift +++ b/firestore/FirestoreExample/AppDelegate.swift @@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() return true } diff --git a/firestore/FirestoreExample/FiltersViewController.swift b/firestore/FirestoreExample/FiltersViewController.swift index 4e4d83bba..017cfcdc8 100644 --- a/firestore/FirestoreExample/FiltersViewController.swift +++ b/firestore/FirestoreExample/FiltersViewController.swift @@ -59,7 +59,7 @@ class FiltersViewController: UIViewController, UIPickerViewDataSource, UIPickerV UIColor(red: 0x3d/0xff, green: 0x5a/0xff, blue: 0xfe/0xff, alpha: 1.0) navigationController?.navigationBar.isTranslucent = false navigationController?.navigationBar.titleTextAttributes = - [ NSAttributedStringKey.foregroundColor: UIColor.white ] + [ NSAttributedString.Key.foregroundColor: UIColor.white ] } private func price(from string: String) -> Int? { diff --git a/firestore/FirestoreExample/RestaurantDetailViewController.swift b/firestore/FirestoreExample/RestaurantDetailViewController.swift index 97961266d..cf88a6b81 100644 --- a/firestore/FirestoreExample/RestaurantDetailViewController.swift +++ b/firestore/FirestoreExample/RestaurantDetailViewController.swift @@ -50,7 +50,7 @@ class RestaurantDetailViewController: UIViewController, UITableViewDataSource, U tableView.tableFooterView = UIView() tableView.dataSource = self - tableView.rowHeight = UITableViewAutomaticDimension + tableView.rowHeight = UITableView.automaticDimension tableView.estimatedRowHeight = 140 let query = restaurantReference!.collection("ratings") diff --git a/firestore/FirestoreExample/RestaurantsTableViewController.swift b/firestore/FirestoreExample/RestaurantsTableViewController.swift index 06f16534a..7a4a6237b 100644 --- a/firestore/FirestoreExample/RestaurantsTableViewController.swift +++ b/firestore/FirestoreExample/RestaurantsTableViewController.swift @@ -119,7 +119,7 @@ class RestaurantsTableViewController: UIViewController, UITableViewDataSource, U UIColor(red: 0x3d/0xff, green: 0x5a/0xff, blue: 0xfe/0xff, alpha: 1.0) navigationController?.navigationBar.isTranslucent = false navigationController?.navigationBar.titleTextAttributes = - [ NSAttributedStringKey.foregroundColor: UIColor.white ] + [ NSAttributedString.Key.foregroundColor: UIColor.white ] tableView.dataSource = self tableView.delegate = self diff --git a/firestore/FirestoreExample/StarsView.swift b/firestore/FirestoreExample/StarsView.swift index 1e162d724..96aa07ebe 100644 --- a/firestore/FirestoreExample/StarsView.swift +++ b/firestore/FirestoreExample/StarsView.swift @@ -196,7 +196,7 @@ class RatingView: UIControl { } override var accessibilityTraits: UIAccessibilityTraits { - get { return UIAccessibilityTraitAdjustable } + get { return UIAccessibilityTraits.adjustable } set {} } diff --git a/functions/FunctionsExample.xcodeproj/project.pbxproj b/functions/FunctionsExample.xcodeproj/project.pbxproj index 68470ead8..9fc19945e 100644 --- a/functions/FunctionsExample.xcodeproj/project.pbxproj +++ b/functions/FunctionsExample.xcodeproj/project.pbxproj @@ -19,6 +19,7 @@ 10B1CCBF205C51F90067EDB4 /* SignInViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10B1CCBE205C51F90067EDB4 /* SignInViewController.swift */; }; 10B1CCC1205C60890067EDB4 /* CloudAddCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10B1CCC0205C60890067EDB4 /* CloudAddCell.swift */; }; 10B1CCC3205C63370067EDB4 /* CommentCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10B1CCC2205C63370067EDB4 /* CommentCell.swift */; }; + 2668511AE614B46396770ED2 /* Pods_FunctionsExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFA0F22CE09981FC6B87D74D /* Pods_FunctionsExampleSwift.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A537E1ADE67D500F81DF0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A537D1ADE67D500F81DF0 /* AppDelegate.swift */; }; @@ -26,6 +27,7 @@ 5F99610B1AE0CF4F0034F503 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961061AE0CF4F0034F503 /* Images.xcassets */; }; 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; + 75C05DE299AECE3F406B6EDB /* Pods_FunctionsExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 23A726F8DE7A3FCE46F6EC49 /* Pods_FunctionsExample.framework */; }; EF4857041C752B7700649485 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 10B054011C6A3C630061077D /* Main.storyboard */; }; EF6DB4CD1CDD60F700319C08 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF6DB4CA1CDD60F700319C08 /* MainViewController.swift */; }; EF6DB4D41CDD610200319C08 /* CommentCell.m in Sources */ = {isa = PBXBuildFile; fileRef = EF6DB4CE1CDD610200319C08 /* CommentCell.m */; }; @@ -77,6 +79,7 @@ 10B1CCBE205C51F90067EDB4 /* SignInViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SignInViewController.swift; sourceTree = ""; }; 10B1CCC0205C60890067EDB4 /* CloudAddCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CloudAddCell.swift; sourceTree = ""; }; 10B1CCC2205C63370067EDB4 /* CommentCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CommentCell.swift; sourceTree = ""; }; + 23A726F8DE7A3FCE46F6EC49 /* Pods_FunctionsExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FunctionsExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A534C1ADE670C00F81DF0 /* FunctionsExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FunctionsExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -86,6 +89,11 @@ 5F5A537D1ADE67D500F81DF0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 5F9961061AE0CF4F0034F503 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; + AFA0F22CE09981FC6B87D74D /* Pods_FunctionsExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FunctionsExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B7B28B0B93303EACA0781EA0 /* Pods-FunctionsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FunctionsExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample.release.xcconfig"; sourceTree = ""; }; + BC9CECEA891D2547F4DC87D6 /* Pods-FunctionsExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FunctionsExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift.release.xcconfig"; sourceTree = ""; }; + C0CCB4A8BCFB6E1ADE492155 /* Pods-FunctionsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FunctionsExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample.debug.xcconfig"; sourceTree = ""; }; + C5F7324EA54C4AC80455E371 /* Pods-FunctionsExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FunctionsExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift.debug.xcconfig"; sourceTree = ""; }; EF6DB4CA1CDD60F700319C08 /* MainViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = ""; }; EF6DB4CE1CDD610200319C08 /* CommentCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CommentCell.m; sourceTree = ""; }; EF6DB4CF1CDD610200319C08 /* SignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignInViewController.m; sourceTree = ""; }; @@ -121,6 +129,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 75C05DE299AECE3F406B6EDB /* Pods_FunctionsExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -128,6 +137,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 2668511AE614B46396770ED2 /* Pods_FunctionsExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -171,6 +181,8 @@ 1036DA1A2087CA66003253C9 /* FunctionsExampleSwiftUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + ECDCFFBFFCC12DD1F3181C06 /* Pods */, + B9649B51C4896D91CD567FD4 /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -241,6 +253,26 @@ path = ../shared; sourceTree = ""; }; + B9649B51C4896D91CD567FD4 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 23A726F8DE7A3FCE46F6EC49 /* Pods_FunctionsExample.framework */, + AFA0F22CE09981FC6B87D74D /* Pods_FunctionsExampleSwift.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + ECDCFFBFFCC12DD1F3181C06 /* Pods */ = { + isa = PBXGroup; + children = ( + C0CCB4A8BCFB6E1ADE492155 /* Pods-FunctionsExample.debug.xcconfig */, + B7B28B0B93303EACA0781EA0 /* Pods-FunctionsExample.release.xcconfig */, + C5F7324EA54C4AC80455E371 /* Pods-FunctionsExampleSwift.debug.xcconfig */, + BC9CECEA891D2547F4DC87D6 /* Pods-FunctionsExampleSwift.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -302,9 +334,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "FunctionsExample" */; buildPhases = ( + F6944B3A8CBD3A78C67C7597 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 3CD77C739D8BB84C643B67B9 /* [CP] Embed Pods Frameworks */, + DBD9F62EB2257F1633F281B0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -319,9 +354,12 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "FunctionsExampleSwift" */; buildPhases = ( + 9F657E6933ECEE309C230DB6 /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + A0C72F01430BC32313EE8D2B /* [CP] Embed Pods Frameworks */, + 1BDA8EAAB5959EC775B84D9A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -354,12 +392,12 @@ }; 1036DA182087CA66003253C9 = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; 5F5A534B1ADE670C00F81DF0 = { CreatedOnToolsVersion = 6.3; - DevelopmentTeam = 4G4F7RJDV8; LastSwiftMigration = 0920; ProvisioningStyle = Automatic; SystemCapabilities = { @@ -373,8 +411,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - DevelopmentTeam = 4G4F7RJDV8; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.Keychain = { @@ -455,6 +492,153 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 1BDA8EAAB5959EC775B84D9A /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseAuthUI.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseGoogleAuthUI.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseGoogleAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3CD77C739D8BB84C643B67B9 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/MDFInternationalization/MDFInternationalization.framework", + "${BUILT_PRODUCTS_DIR}/MDFTextAccessibility/MDFTextAccessibility.framework", + "${BUILT_PRODUCTS_DIR}/MaterialComponents/MaterialComponents.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MDFInternationalization.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MDFTextAccessibility.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MaterialComponents.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9F657E6933ECEE309C230DB6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FunctionsExampleSwift-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; + }; + A0C72F01430BC32313EE8D2B /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/MDFInternationalization/MDFInternationalization.framework", + "${BUILT_PRODUCTS_DIR}/MDFTextAccessibility/MDFTextAccessibility.framework", + "${BUILT_PRODUCTS_DIR}/MaterialComponents/MaterialComponents.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MDFInternationalization.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MDFTextAccessibility.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MaterialComponents.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExampleSwift/Pods-FunctionsExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + DBD9F62EB2257F1633F281B0 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseAuthUI.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseUI/FirebaseGoogleAuthUI.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FirebaseGoogleAuthUI.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FunctionsExample/Pods-FunctionsExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + F6944B3A8CBD3A78C67C7597 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FunctionsExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1036D9F92087CA10003253C9 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -554,6 +738,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -581,6 +766,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -606,6 +792,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -632,6 +819,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -657,6 +845,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; @@ -664,7 +853,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.FunctionsExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = FunctionsExampleSwift; }; @@ -685,13 +875,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = FunctionsExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.FunctionsExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = FunctionsExampleSwift; }; @@ -804,13 +996,14 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C0CCB4A8BCFB6E1ADE492155 /* Pods-FunctionsExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 4G4F7RJDV8; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = "$(SRCROOT)/FunctionsExample/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -825,13 +1018,14 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B7B28B0B93303EACA0781EA0 /* Pods-FunctionsExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 4G4F7RJDV8; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = "$(SRCROOT)/FunctionsExample/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -845,12 +1039,13 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C5F7324EA54C4AC80455E371 /* Pods-FunctionsExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 4G4F7RJDV8; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/FunctionsExample/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FunctionsExample; @@ -858,19 +1053,20 @@ PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = BC9CECEA891D2547F4DC87D6 /* Pods-FunctionsExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 4G4F7RJDV8; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/FunctionsExample/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FunctionsExample; @@ -878,8 +1074,8 @@ PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/functions/FunctionsExampleSwift/AppDelegate.swift b/functions/FunctionsExampleSwift/AppDelegate.swift index 0c1b9f322..7c98804b3 100644 --- a/functions/FunctionsExampleSwift/AppDelegate.swift +++ b/functions/FunctionsExampleSwift/AppDelegate.swift @@ -27,7 +27,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions - launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START firebase_configure] // Use Firebase library to configure APIs FirebaseApp.configure() @@ -39,8 +39,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } @available(iOS 9.0, *) - func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey: Any]) -> Bool { - guard let sourceApplication = options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String else { + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any]) -> Bool { + guard let sourceApplication = options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String else { return false } return self.handleOpenUrl(url, sourceApplication: sourceApplication) diff --git a/inappmessaging/InAppMessagingExample.xcodeproj/project.pbxproj b/inappmessaging/InAppMessagingExample.xcodeproj/project.pbxproj index 4bb00c377..786e62619 100644 --- a/inappmessaging/InAppMessagingExample.xcodeproj/project.pbxproj +++ b/inappmessaging/InAppMessagingExample.xcodeproj/project.pbxproj @@ -7,6 +7,8 @@ objects = { /* Begin PBXBuildFile section */ + 19FA58B1A913A0A8F82D3999 /* Pods_InAppMessagingExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4951CAB7C4FB263DA2A8551A /* Pods_InAppMessagingExampleSwift.framework */; }; + 291146ACC5D72AA6DFD9F6B0 /* Pods_InAppMessagingExampleUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C73D7E9F0697075815E82AC /* Pods_InAppMessagingExampleUITests.framework */; }; 8DB25F8F20BE0C29000ABEE2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB25F8E20BE0C29000ABEE2 /* AppDelegate.swift */; }; 8DB25F9120BE0C29000ABEE2 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DB25F9020BE0C29000ABEE2 /* ViewController.swift */; }; 8DB25F9420BE0C29000ABEE2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8DB25F9220BE0C29000ABEE2 /* Main.storyboard */; }; @@ -22,6 +24,10 @@ 8DECFE71211CC14700DC99BD /* InAppMessagingExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DECFE70211CC14700DC99BD /* InAppMessagingExampleUITests.m */; }; 8DECFE83211CC15F00DC99BD /* InAppMessagingExampleSwiftTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DECFE82211CC15F00DC99BD /* InAppMessagingExampleSwiftTests.m */; }; 8DECFE91211CC16F00DC99BD /* InAppMessagingExampleSwiftUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DECFE90211CC16F00DC99BD /* InAppMessagingExampleSwiftUITests.m */; }; + A958BC0A8587628D8FB0F788 /* Pods_InAppMessagingExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBEFAFAB3B0DA630C10FC8BF /* Pods_InAppMessagingExample.framework */; }; + AA856A6F2935E2F0FDE6B941 /* Pods_InAppMessagingExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA7F38E12AD89C3F023E07B6 /* Pods_InAppMessagingExampleTests.framework */; }; + B3EECFA4006C4ECD1770B0A7 /* Pods_InAppMessagingExampleSwiftTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3334BDBAEC0E341328F323D3 /* Pods_InAppMessagingExampleSwiftTests.framework */; }; + C59592405B5881A4DE849682 /* Pods_InAppMessagingExampleSwiftUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F29B9C81A7EE588ED69E4488 /* Pods_InAppMessagingExampleSwiftUITests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -56,6 +62,16 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 072B314C72128944F34BC931 /* Pods-InAppMessagingExampleSwiftTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwiftTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwiftTests/Pods-InAppMessagingExampleSwiftTests.release.xcconfig"; sourceTree = ""; }; + 15084D50EA6953F2C4D5AE9F /* Pods-InAppMessagingExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift.release.xcconfig"; sourceTree = ""; }; + 2200A2C7885D421290AA941E /* Pods-InAppMessagingExampleUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleUITests/Pods-InAppMessagingExampleUITests.debug.xcconfig"; sourceTree = ""; }; + 29EDB067B7AE1CBF6C9448F5 /* Pods-InAppMessagingExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift.debug.xcconfig"; sourceTree = ""; }; + 2B24DFBE9A314EB055AC2EF2 /* Pods-InAppMessagingExampleUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleUITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleUITests/Pods-InAppMessagingExampleUITests.release.xcconfig"; sourceTree = ""; }; + 2EB6F4AC50BB023A0D3BD8B6 /* Pods-InAppMessagingExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleTests/Pods-InAppMessagingExampleTests.debug.xcconfig"; sourceTree = ""; }; + 3334BDBAEC0E341328F323D3 /* Pods_InAppMessagingExampleSwiftTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExampleSwiftTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3E008B7FF23DAEF188F5B264 /* Pods-InAppMessagingExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample.debug.xcconfig"; sourceTree = ""; }; + 4951CAB7C4FB263DA2A8551A /* Pods_InAppMessagingExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5C73D7E9F0697075815E82AC /* Pods_InAppMessagingExampleUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExampleUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 8DB25F8B20BE0C29000ABEE2 /* InAppMessagingExampleSwift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = InAppMessagingExampleSwift.app; sourceTree = BUILT_PRODUCTS_DIR; }; 8DB25F8E20BE0C29000ABEE2 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 8DB25F9020BE0C29000ABEE2 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; @@ -85,6 +101,14 @@ 8DECFE8E211CC16F00DC99BD /* InAppMessagingExampleSwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = InAppMessagingExampleSwiftUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 8DECFE90211CC16F00DC99BD /* InAppMessagingExampleSwiftUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InAppMessagingExampleSwiftUITests.m; sourceTree = ""; }; 8DECFE92211CC16F00DC99BD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AD6CD5BB6C481BCD824D9CD5 /* Pods-InAppMessagingExampleSwiftUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwiftUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwiftUITests/Pods-InAppMessagingExampleSwiftUITests.debug.xcconfig"; sourceTree = ""; }; + BD3A68B1E5312F1482999BBC /* Pods-InAppMessagingExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample.release.xcconfig"; sourceTree = ""; }; + C05148F365F96FFB3900C655 /* Pods-InAppMessagingExampleSwiftUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwiftUITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwiftUITests/Pods-InAppMessagingExampleSwiftUITests.release.xcconfig"; sourceTree = ""; }; + C3FADEC421DDE78590D1503D /* Pods-InAppMessagingExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleTests/Pods-InAppMessagingExampleTests.release.xcconfig"; sourceTree = ""; }; + CBEFAFAB3B0DA630C10FC8BF /* Pods_InAppMessagingExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DA7F38E12AD89C3F023E07B6 /* Pods_InAppMessagingExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F29B9C81A7EE588ED69E4488 /* Pods_InAppMessagingExampleSwiftUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InAppMessagingExampleSwiftUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FD809D1255758B08B63B5B7A /* Pods-InAppMessagingExampleSwiftTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InAppMessagingExampleSwiftTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InAppMessagingExampleSwiftTests/Pods-InAppMessagingExampleSwiftTests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -92,6 +116,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 19FA58B1A913A0A8F82D3999 /* Pods_InAppMessagingExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -99,6 +124,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + A958BC0A8587628D8FB0F788 /* Pods_InAppMessagingExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -106,6 +132,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + AA856A6F2935E2F0FDE6B941 /* Pods_InAppMessagingExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -113,6 +140,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 291146ACC5D72AA6DFD9F6B0 /* Pods_InAppMessagingExampleUITests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -120,6 +148,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + B3EECFA4006C4ECD1770B0A7 /* Pods_InAppMessagingExampleSwiftTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -127,12 +156,45 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C59592405B5881A4DE849682 /* Pods_InAppMessagingExampleSwiftUITests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 3AE6A03B24888845A43EA399 /* Pods */ = { + isa = PBXGroup; + children = ( + 3E008B7FF23DAEF188F5B264 /* Pods-InAppMessagingExample.debug.xcconfig */, + BD3A68B1E5312F1482999BBC /* Pods-InAppMessagingExample.release.xcconfig */, + 29EDB067B7AE1CBF6C9448F5 /* Pods-InAppMessagingExampleSwift.debug.xcconfig */, + 15084D50EA6953F2C4D5AE9F /* Pods-InAppMessagingExampleSwift.release.xcconfig */, + FD809D1255758B08B63B5B7A /* Pods-InAppMessagingExampleSwiftTests.debug.xcconfig */, + 072B314C72128944F34BC931 /* Pods-InAppMessagingExampleSwiftTests.release.xcconfig */, + AD6CD5BB6C481BCD824D9CD5 /* Pods-InAppMessagingExampleSwiftUITests.debug.xcconfig */, + C05148F365F96FFB3900C655 /* Pods-InAppMessagingExampleSwiftUITests.release.xcconfig */, + 2EB6F4AC50BB023A0D3BD8B6 /* Pods-InAppMessagingExampleTests.debug.xcconfig */, + C3FADEC421DDE78590D1503D /* Pods-InAppMessagingExampleTests.release.xcconfig */, + 2200A2C7885D421290AA941E /* Pods-InAppMessagingExampleUITests.debug.xcconfig */, + 2B24DFBE9A314EB055AC2EF2 /* Pods-InAppMessagingExampleUITests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 61BB1C370D377C8E4A69E68D /* Frameworks */ = { + isa = PBXGroup; + children = ( + CBEFAFAB3B0DA630C10FC8BF /* Pods_InAppMessagingExample.framework */, + 4951CAB7C4FB263DA2A8551A /* Pods_InAppMessagingExampleSwift.framework */, + 3334BDBAEC0E341328F323D3 /* Pods_InAppMessagingExampleSwiftTests.framework */, + F29B9C81A7EE588ED69E4488 /* Pods_InAppMessagingExampleSwiftUITests.framework */, + DA7F38E12AD89C3F023E07B6 /* Pods_InAppMessagingExampleTests.framework */, + 5C73D7E9F0697075815E82AC /* Pods_InAppMessagingExampleUITests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 8DB25F8220BE0C29000ABEE2 = { isa = PBXGroup; children = ( @@ -143,6 +205,8 @@ 8DECFE81211CC15F00DC99BD /* InAppMessagingExampleSwiftTests */, 8DECFE8F211CC16F00DC99BD /* InAppMessagingExampleSwiftUITests */, 8DB25F8C20BE0C29000ABEE2 /* Products */, + 3AE6A03B24888845A43EA399 /* Pods */, + 61BB1C370D377C8E4A69E68D /* Frameworks */, ); sourceTree = ""; }; @@ -231,9 +295,12 @@ isa = PBXNativeTarget; buildConfigurationList = 8DB25F9D20BE0C2A000ABEE2 /* Build configuration list for PBXNativeTarget "InAppMessagingExampleSwift" */; buildPhases = ( + D8548D66E065848E6E42CA71 /* [CP] Check Pods Manifest.lock */, 8DB25F8720BE0C29000ABEE2 /* Sources */, 8DB25F8820BE0C29000ABEE2 /* Frameworks */, 8DB25F8920BE0C29000ABEE2 /* Resources */, + 3690B2EBC889F324CA2771D6 /* [CP] Embed Pods Frameworks */, + CECDADE6C4DB8688BB513A5D /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -248,9 +315,12 @@ isa = PBXNativeTarget; buildConfigurationList = 8DECFE79211CC14700DC99BD /* Build configuration list for PBXNativeTarget "InAppMessagingExample" */; buildPhases = ( + F2188901C15241545C8CFEBB /* [CP] Check Pods Manifest.lock */, 8DECFE46211CC14500DC99BD /* Sources */, 8DECFE47211CC14500DC99BD /* Frameworks */, 8DECFE48211CC14500DC99BD /* Resources */, + C8BBB2CD07547B330C89DDB2 /* [CP] Embed Pods Frameworks */, + 892F1F8B31772CCA595471F0 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -265,6 +335,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8DECFE7A211CC14700DC99BD /* Build configuration list for PBXNativeTarget "InAppMessagingExampleTests" */; buildPhases = ( + A6A28F40CC96CEDBF7F5F24E /* [CP] Check Pods Manifest.lock */, 8DECFE5D211CC14700DC99BD /* Sources */, 8DECFE5E211CC14700DC99BD /* Frameworks */, 8DECFE5F211CC14700DC99BD /* Resources */, @@ -283,6 +354,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8DECFE7B211CC14700DC99BD /* Build configuration list for PBXNativeTarget "InAppMessagingExampleUITests" */; buildPhases = ( + 777016E9019E15B7A94DE5CE /* [CP] Check Pods Manifest.lock */, 8DECFE68211CC14700DC99BD /* Sources */, 8DECFE69211CC14700DC99BD /* Frameworks */, 8DECFE6A211CC14700DC99BD /* Resources */, @@ -301,6 +373,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8DECFE87211CC15F00DC99BD /* Build configuration list for PBXNativeTarget "InAppMessagingExampleSwiftTests" */; buildPhases = ( + A9A1AD2FE2AF27AC3ACF978E /* [CP] Check Pods Manifest.lock */, 8DECFE7C211CC15F00DC99BD /* Sources */, 8DECFE7D211CC15F00DC99BD /* Frameworks */, 8DECFE7E211CC15F00DC99BD /* Resources */, @@ -319,6 +392,7 @@ isa = PBXNativeTarget; buildConfigurationList = 8DECFE95211CC16F00DC99BD /* Build configuration list for PBXNativeTarget "InAppMessagingExampleSwiftUITests" */; buildPhases = ( + 18278E567FD558DD920CF17C /* [CP] Check Pods Manifest.lock */, 8DECFE8A211CC16F00DC99BD /* Sources */, 8DECFE8B211CC16F00DC99BD /* Frameworks */, 8DECFE8C211CC16F00DC99BD /* Resources */, @@ -345,6 +419,7 @@ TargetAttributes = { 8DB25F8A20BE0C29000ABEE2 = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1010; }; 8DECFE49211CC14500DC99BD = { CreatedOnToolsVersion = 9.4.1; @@ -441,6 +516,193 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 18278E567FD558DD920CF17C /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExampleSwiftUITests-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; + }; + 3690B2EBC889F324CA2771D6 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 777016E9019E15B7A94DE5CE /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExampleUITests-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; + }; + 892F1F8B31772CCA595471F0 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInAppMessagingDisplay/InAppMessagingDisplayResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/InAppMessagingDisplayResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + A6A28F40CC96CEDBF7F5F24E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExampleTests-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; + }; + A9A1AD2FE2AF27AC3ACF978E /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExampleSwiftTests-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; + }; + C8BBB2CD07547B330C89DDB2 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExample/Pods-InAppMessagingExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + CECDADE6C4DB8688BB513A5D /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/FirebaseInAppMessagingDisplay/InAppMessagingDisplayResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/InAppMessagingDisplayResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InAppMessagingExampleSwift/Pods-InAppMessagingExampleSwift-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + D8548D66E065848E6E42CA71 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExampleSwift-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; + }; + F2188901C15241545C8CFEBB /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InAppMessagingExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 8DB25F8720BE0C29000ABEE2 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -670,9 +932,11 @@ }; 8DB25F9E20BE0C2A000ABEE2 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 29EDB067B7AE1CBF6C9448F5 /* Pods-InAppMessagingExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwift/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -680,16 +944,18 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.firebase.InAppMessagingExampleSwift; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; 8DB25F9F20BE0C2A000ABEE2 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 15084D50EA6953F2C4D5AE9F /* Pods-InAppMessagingExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwift/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -697,16 +963,18 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.firebase.InAppMessagingExampleSwift; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; }; 8DECFE73211CC14700DC99BD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 3E008B7FF23DAEF188F5B264 /* Pods-InAppMessagingExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -721,9 +989,11 @@ }; 8DECFE74211CC14700DC99BD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = BD3A68B1E5312F1482999BBC /* Pods-InAppMessagingExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -738,9 +1008,11 @@ }; 8DECFE75211CC14700DC99BD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2EB6F4AC50BB023A0D3BD8B6 /* Pods-InAppMessagingExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -757,9 +1029,11 @@ }; 8DECFE76211CC14700DC99BD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C3FADEC421DDE78590D1503D /* Pods-InAppMessagingExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -776,8 +1050,10 @@ }; 8DECFE77211CC14700DC99BD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2200A2C7885D421290AA941E /* Pods-InAppMessagingExampleUITests.debug.xcconfig */; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -794,8 +1070,10 @@ }; 8DECFE78211CC14700DC99BD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2B24DFBE9A314EB055AC2EF2 /* Pods-InAppMessagingExampleUITests.release.xcconfig */; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -812,10 +1090,12 @@ }; 8DECFE88211CC15F00DC99BD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FD809D1255758B08B63B5B7A /* Pods-InAppMessagingExampleSwiftTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwiftTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -832,10 +1112,12 @@ }; 8DECFE89211CC15F00DC99BD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 072B314C72128944F34BC931 /* Pods-InAppMessagingExampleSwiftTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwiftTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -852,9 +1134,11 @@ }; 8DECFE96211CC16F00DC99BD /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AD6CD5BB6C481BCD824D9CD5 /* Pods-InAppMessagingExampleSwiftUITests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -871,9 +1155,11 @@ }; 8DECFE97211CC16F00DC99BD /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C05148F365F96FFB3900C655 /* Pods-InAppMessagingExampleSwiftUITests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = InAppMessagingExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/inappmessaging/InAppMessagingExampleSwift/AppDelegate.swift b/inappmessaging/InAppMessagingExampleSwift/AppDelegate.swift index 3b7d59807..21d44f3fa 100644 --- a/inappmessaging/InAppMessagingExampleSwift/AppDelegate.swift +++ b/inappmessaging/InAppMessagingExampleSwift/AppDelegate.swift @@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Uncomment the following line to disable In-App Messaging auto-startup. // InAppMessaging.inAppMessaging().automaticDataCollectionEnabled = false @@ -34,7 +34,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ app: UIApplication, open url: URL, - options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool { + options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { return application(app, open: url, sourceApplication: options[.sourceApplication] as? String, diff --git a/invites/InvitesExample.xcodeproj/project.pbxproj b/invites/InvitesExample.xcodeproj/project.pbxproj index 9f49bc09b..753214d81 100644 --- a/invites/InvitesExample.xcodeproj/project.pbxproj +++ b/invites/InvitesExample.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* 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 */; }; + 13A9F5AF890D7D71E211A5D2 /* Pods_InvitesExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8248ADC32BB84EAC072AF4BE /* Pods_InvitesExampleSwift.framework */; }; 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 */; }; @@ -29,6 +30,8 @@ 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 */; }; + B24B50FB6AC2E055FE5CD046 /* Pods_InvitesExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 545B034CC90C0D8F4F6A4A89 /* Pods_InvitesExample.framework */; }; + C6AF59D8EC7FAE71EB7B5B8E /* Pods_InvitesExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7092AB29319F67C6310C36D1 /* Pods_InvitesExampleTests.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 */; }; @@ -70,6 +73,9 @@ 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 = ""; }; + 193BB47D8BE6C165CDFE3656 /* Pods-InvitesExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests.release.xcconfig"; sourceTree = ""; }; + 27121295DC4AA3893E595A47 /* Pods-InvitesExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample.release.xcconfig"; sourceTree = ""; }; + 2F9EA1268F3259D14F70B385 /* Pods-InvitesExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift.debug.xcconfig"; 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 = ""; }; @@ -92,6 +98,12 @@ 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; }; + 545B034CC90C0D8F4F6A4A89 /* Pods_InvitesExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InvitesExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7092AB29319F67C6310C36D1 /* Pods_InvitesExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InvitesExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7571F3D164D7F5B428D895AC /* Pods-InvitesExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests.debug.xcconfig"; sourceTree = ""; }; + 8248ADC32BB84EAC072AF4BE /* Pods_InvitesExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_InvitesExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A68B931164439DA054469C37 /* Pods-InvitesExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift.release.xcconfig"; sourceTree = ""; }; + EAAAB3473501A031596AE12B /* Pods-InvitesExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InvitesExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample.debug.xcconfig"; sourceTree = ""; }; 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 */ @@ -115,6 +127,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C6AF59D8EC7FAE71EB7B5B8E /* Pods_InvitesExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -128,6 +141,7 @@ 4BA30A191AE81F5A00E5CDE9 /* CoreLocation.framework in Frameworks */, 4BA30A1A1AE81F5A00E5CDE9 /* AssetsLibrary.framework in Frameworks */, 4BA30A1B1AE81F5A00E5CDE9 /* AddressBook.framework in Frameworks */, + 13A9F5AF890D7D71E211A5D2 /* Pods_InvitesExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -141,6 +155,7 @@ 4BDB99DD1ACF46F400C4DC2C /* CoreLocation.framework in Frameworks */, 4BDB99DB1ACF46EC00C4DC2C /* AssetsLibrary.framework in Frameworks */, 4BDB99D91ACF46E500C4DC2C /* AddressBook.framework in Frameworks */, + B24B50FB6AC2E055FE5CD046 /* Pods_InvitesExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -165,6 +180,19 @@ path = InvitesExampleUITests; sourceTree = ""; }; + 2359C8169DD3791E2931BDAB /* Pods */ = { + isa = PBXGroup; + children = ( + EAAAB3473501A031596AE12B /* Pods-InvitesExample.debug.xcconfig */, + 27121295DC4AA3893E595A47 /* Pods-InvitesExample.release.xcconfig */, + 2F9EA1268F3259D14F70B385 /* Pods-InvitesExampleSwift.debug.xcconfig */, + A68B931164439DA054469C37 /* Pods-InvitesExampleSwift.release.xcconfig */, + 7571F3D164D7F5B428D895AC /* Pods-InvitesExampleTests.debug.xcconfig */, + 193BB47D8BE6C165CDFE3656 /* Pods-InvitesExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; 4B1A6C741B0A752100E1EDA2 /* InvitesExampleTests */ = { isa = PBXGroup; children = ( @@ -194,6 +222,7 @@ 1073485120333BDE004A66D1 /* InvitesExampleUITests */, 4BC032DF1ACF33B70092326A /* Products */, E27D599993EDB54E213FA076 /* Frameworks */, + 2359C8169DD3791E2931BDAB /* Pods */, ); sourceTree = ""; }; @@ -244,6 +273,9 @@ 4BDB99DC1ACF46F400C4DC2C /* CoreLocation.framework */, 4BDB99DA1ACF46EC00C4DC2C /* AssetsLibrary.framework */, 4BDB99D81ACF46E500C4DC2C /* AddressBook.framework */, + 545B034CC90C0D8F4F6A4A89 /* Pods_InvitesExample.framework */, + 8248ADC32BB84EAC072AF4BE /* Pods_InvitesExampleSwift.framework */, + 7092AB29319F67C6310C36D1 /* Pods_InvitesExampleTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -301,9 +333,12 @@ isa = PBXNativeTarget; buildConfigurationList = 4B1A6C7D1B0A752100E1EDA2 /* Build configuration list for PBXNativeTarget "InvitesExampleTests" */; buildPhases = ( + 31E1A6112274696209B0D557 /* [CP] Check Pods Manifest.lock */, 4B1A6C6F1B0A752100E1EDA2 /* Sources */, 4B1A6C701B0A752100E1EDA2 /* Frameworks */, 4B1A6C711B0A752100E1EDA2 /* Resources */, + E10369A4425047FEBB938E0E /* [CP] Embed Pods Frameworks */, + E00F4EF1573B69FC092C8434 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -319,9 +354,12 @@ isa = PBXNativeTarget; buildConfigurationList = 4B97B2721AD7145E0036DD6C /* Build configuration list for PBXNativeTarget "InvitesExampleSwift" */; buildPhases = ( + C8D0ED1AA2D1D26432CD8E04 /* [CP] Check Pods Manifest.lock */, 4B97B24F1AD7145E0036DD6C /* Sources */, 4B97B2511AD7145E0036DD6C /* Resources */, 4B97B2501AD7145E0036DD6C /* Frameworks */, + 1F420900C56D6971A2D5E9D5 /* [CP] Embed Pods Frameworks */, + 80F3230637ECB01D2B4FBEDA /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -336,9 +374,12 @@ isa = PBXNativeTarget; buildConfigurationList = 4BC033011ACF33B70092326A /* Build configuration list for PBXNativeTarget "InvitesExample" */; buildPhases = ( + EA023FB00F97CB830ED4541F /* [CP] Check Pods Manifest.lock */, 4BC032DA1ACF33B70092326A /* Sources */, 4BC032DC1ACF33B70092326A /* Resources */, 4BC032DB1ACF33B70092326A /* Frameworks */, + C361C6B4FA1FA600D7EC5C47 /* [CP] Embed Pods Frameworks */, + 398793456205D6B4C2C80E75 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -377,7 +418,7 @@ TestTargetID = 4BC032DD1ACF33B70092326A; }; 4B97B2521AD7145E0036DD6C = { - LastSwiftMigration = 1000; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 4BC032DD1ACF33B70092326A = { @@ -453,6 +494,219 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 1F420900C56D6971A2D5E9D5 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleAPIClientForREST/GoogleAPIClientForREST.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleAPIClientForREST.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 31E1A6112274696209B0D557 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InvitesExampleTests-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; + }; + 398793456205D6B4C2C80E75 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample-resources.sh", + "${PODS_ROOT}/FirebaseInvites/Resources/GINInviteResources.bundle", + "${PODS_ROOT}/FirebaseInvites/Resources/GPPACLPickerResources.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GINInviteResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GPPACLPickerResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 80F3230637ECB01D2B4FBEDA /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift-resources.sh", + "${PODS_ROOT}/FirebaseInvites/Resources/GINInviteResources.bundle", + "${PODS_ROOT}/FirebaseInvites/Resources/GPPACLPickerResources.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GINInviteResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GPPACLPickerResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleSwift/Pods-InvitesExampleSwift-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + C361C6B4FA1FA600D7EC5C47 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleAPIClientForREST/GoogleAPIClientForREST.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleAPIClientForREST.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExample/Pods-InvitesExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + C8D0ED1AA2D1D26432CD8E04 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InvitesExampleSwift-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; + }; + E00F4EF1573B69FC092C8434 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests-resources.sh", + "${PODS_ROOT}/FirebaseInvites/Resources/GINInviteResources.bundle", + "${PODS_ROOT}/FirebaseInvites/Resources/GPPACLPickerResources.bundle", + "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GINInviteResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GPPACLPickerResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + E10369A4425047FEBB938E0E /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleAPIClientForREST/GoogleAPIClientForREST.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleAPIClientForREST.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-InvitesExampleTests/Pods-InvitesExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + EA023FB00F97CB830ED4541F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-InvitesExample-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1073478820315A0F004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -542,6 +796,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = InvitesExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -567,6 +822,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = InvitesExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -591,6 +847,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = InvitesExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -613,6 +870,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = InvitesExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -626,6 +884,7 @@ }; 4B1A6C7B1B0A752100E1EDA2 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 7571F3D164D7F5B428D895AC /* Pods-InvitesExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -652,6 +911,7 @@ }; 4B1A6C7C1B0A752100E1EDA2 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 193BB47D8BE6C165CDFE3656 /* Pods-InvitesExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -674,6 +934,7 @@ }; 4B97B2731AD7145E0036DD6C /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 2F9EA1268F3259D14F70B385 /* Pods-InvitesExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -690,14 +951,14 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VALID_ARCHS = "armv7 armv7s arm64"; }; name = Debug; }; 4B97B2741AD7145E0036DD6C /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A68B931164439DA054469C37 /* Pods-InvitesExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -713,8 +974,7 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; VALID_ARCHS = "armv7 armv7s arm64"; }; name = Release; @@ -826,6 +1086,7 @@ }; 4BC033021ACF33B70092326A /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = EAAAB3473501A031596AE12B /* Pods-InvitesExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; @@ -843,6 +1104,7 @@ }; 4BC033031ACF33B70092326A /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 27121295DC4AA3893E595A47 /* Pods-InvitesExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = InvitesExample/InvitesExample.entitlements; diff --git a/invites/InvitesExample/Info.plist b/invites/InvitesExample/Info.plist index 69cf445e3..6daf6aecc 100644 --- a/invites/InvitesExample/Info.plist +++ b/invites/InvitesExample/Info.plist @@ -2,8 +2,6 @@ - NSContactsUsageDescription - Used for Firebase Invites CFBundleDevelopmentRegion en CFBundleExecutable @@ -37,6 +35,8 @@ 1 LSRequiresIPhoneOS + NSContactsUsageDescription + Used for Firebase Invites UILaunchStoryboardName LaunchScreen UIMainStoryboardFile diff --git a/invites/InvitesExampleSwift/AppDelegate.swift b/invites/InvitesExampleSwift/AppDelegate.swift index 39c085c78..1c0354cef 100644 --- a/invites/InvitesExampleSwift/AppDelegate.swift +++ b/invites/InvitesExampleSwift/AppDelegate.swift @@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [START configure] func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Use Firebase library to configure APIs FirebaseApp.configure() return true @@ -32,8 +32,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [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, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool { + return self.application(application, open: url, sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: "") } func application(_ application: UIApplication, @@ -57,7 +57,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // [END openurl] // [START continueuseractivity] - func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool { + func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { return Invites.handleUniversalLink(userActivity.webpageURL!) { invite, error in // [START_EXCLUDE] if let error = error { diff --git a/messaging/MessagingExample.xcodeproj/project.pbxproj b/messaging/MessagingExample.xcodeproj/project.pbxproj index 4585e00c7..f4dde16e9 100644 --- a/messaging/MessagingExample.xcodeproj/project.pbxproj +++ b/messaging/MessagingExample.xcodeproj/project.pbxproj @@ -20,7 +20,10 @@ 5F99610B1AE0CF4F0034F503 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961061AE0CF4F0034F503 /* Images.xcassets */; }; 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; + 5F9C31C98E5C12D60EECF1E8 /* Pods_MessagingExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4EC1D2D589322F9041D2C127 /* Pods_MessagingExampleTests.framework */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + C26303E004D05E9965F9D059 /* Pods_MessagingExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E603B7B9A499754B63D00820 /* Pods_MessagingExampleSwift.framework */; }; + CF87D6F488DD034ACF342AA5 /* Pods_MessagingExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 72DA075F70F66672895BD74E /* Pods_MessagingExample.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -56,6 +59,9 @@ 1073486220333BF5004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 321A2C4E1DD5054B009C10E2 /* MessagingExampleSwift.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = MessagingExampleSwift.entitlements; sourceTree = ""; }; 32E04E051DD4EBC6007706A0 /* MessagingExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = MessagingExample.entitlements; sourceTree = ""; }; + 36C688D589B5939D694979E9 /* Pods-MessagingExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExampleTests/Pods-MessagingExampleTests.release.xcconfig"; sourceTree = ""; }; + 40E951E387D00F06735B7960 /* Pods-MessagingExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExample/Pods-MessagingExample.debug.xcconfig"; sourceTree = ""; }; + 4EC1D2D589322F9041D2C127 /* Pods_MessagingExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MessagingExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A534C1ADE670C00F81DF0 /* MessagingExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MessagingExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -71,6 +77,12 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* MessagingExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MessagingExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 72DA075F70F66672895BD74E /* Pods_MessagingExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MessagingExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B8AE70FDF6E648DEE1FFBB86 /* Pods-MessagingExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExampleTests/Pods-MessagingExampleTests.debug.xcconfig"; sourceTree = ""; }; + C4F20BEE6549E61B6271CF9F /* Pods-MessagingExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExampleSwift/Pods-MessagingExampleSwift.release.xcconfig"; sourceTree = ""; }; + C822DC3BBD9DB8FEE44E3A55 /* Pods-MessagingExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExampleSwift/Pods-MessagingExampleSwift.debug.xcconfig"; sourceTree = ""; }; + E603B7B9A499754B63D00820 /* Pods_MessagingExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MessagingExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FBAF5DB52623237AAE1FEA88 /* Pods-MessagingExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MessagingExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-MessagingExample/Pods-MessagingExample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -92,6 +104,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + CF87D6F488DD034ACF342AA5 /* Pods_MessagingExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -99,6 +112,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C26303E004D05E9965F9D059 /* Pods_MessagingExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -106,6 +120,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 5F9C31C98E5C12D60EECF1E8 /* Pods_MessagingExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -140,6 +155,8 @@ 1073485F20333BF5004A66D1 /* MessagingExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + A7E14EFE85A12FCA04B3F1E3 /* Pods */, + 733F7BA9684FD77EC933C7CC /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -207,6 +224,29 @@ path = MessagingExampleTests; sourceTree = ""; }; + 733F7BA9684FD77EC933C7CC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 72DA075F70F66672895BD74E /* Pods_MessagingExample.framework */, + E603B7B9A499754B63D00820 /* Pods_MessagingExampleSwift.framework */, + 4EC1D2D589322F9041D2C127 /* Pods_MessagingExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + A7E14EFE85A12FCA04B3F1E3 /* Pods */ = { + isa = PBXGroup; + children = ( + 40E951E387D00F06735B7960 /* Pods-MessagingExample.debug.xcconfig */, + FBAF5DB52623237AAE1FEA88 /* Pods-MessagingExample.release.xcconfig */, + C822DC3BBD9DB8FEE44E3A55 /* Pods-MessagingExampleSwift.debug.xcconfig */, + C4F20BEE6549E61B6271CF9F /* Pods-MessagingExampleSwift.release.xcconfig */, + B8AE70FDF6E648DEE1FFBB86 /* Pods-MessagingExampleTests.debug.xcconfig */, + 36C688D589B5939D694979E9 /* Pods-MessagingExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -250,9 +290,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "MessagingExample" */; buildPhases = ( + 72EAFB384AE19DDFF776BE24 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 61E04EE9A3275292542EEF23 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -267,9 +309,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "MessagingExampleSwift" */; buildPhases = ( + CA5BAF2585C1F0C6736F2F74 /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + 05C9DCD847FC96E2EC3AD99A /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -284,9 +328,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "MessagingExampleTests" */; buildPhases = ( + A686F055B344FF7A8151EAA6 /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, + C1D764939B2CD96DDF6A3D91 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -310,6 +356,7 @@ TargetAttributes = { 107347A720315A3A004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -330,7 +377,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; SystemCapabilities = { com.apple.BackgroundModes = { @@ -414,6 +461,129 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 05C9DCD847FC96E2EC3AD99A /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MessagingExampleSwift/Pods-MessagingExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MessagingExampleSwift/Pods-MessagingExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 61E04EE9A3275292542EEF23 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MessagingExample/Pods-MessagingExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MessagingExample/Pods-MessagingExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 72EAFB384AE19DDFF776BE24 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MessagingExample-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; + }; + A686F055B344FF7A8151EAA6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MessagingExampleTests-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; + }; + C1D764939B2CD96DDF6A3D91 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MessagingExampleTests/Pods-MessagingExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MessagingExampleTests/Pods-MessagingExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + CA5BAF2585C1F0C6736F2F74 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MessagingExampleSwift-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107347A420315A3A004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -501,6 +671,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = MessagingExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -508,7 +679,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.MessagingExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = MessagingExampleSwift; }; @@ -526,13 +698,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = MessagingExampleSwiftUITests/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.MessagingExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = MessagingExampleSwift; }; @@ -549,6 +723,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = MessagingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -572,6 +747,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = MessagingExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -690,6 +866,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 40E951E387D00F06735B7960 /* Pods-MessagingExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -708,6 +885,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FBAF5DB52623237AAE1FEA88 /* Pods-MessagingExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -726,6 +904,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C822DC3BBD9DB8FEE44E3A55 /* Pods-MessagingExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -737,13 +916,14 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.MessagingExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C4F20BEE6549E61B6271CF9F /* Pods-MessagingExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -756,16 +936,18 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.MessagingExample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = B8AE70FDF6E648DEE1FFBB86 /* Pods-MessagingExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -781,10 +963,12 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 36C688D589B5939D694979E9 /* Pods-MessagingExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MessagingExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; diff --git a/messaging/MessagingExampleSwift/AppDelegate.swift b/messaging/MessagingExampleSwift/AppDelegate.swift index f595ffcd2..b94e1a4cd 100644 --- a/messaging/MessagingExampleSwift/AppDelegate.swift +++ b/messaging/MessagingExampleSwift/AppDelegate.swift @@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { let gcmMessageIDKey = "gcm.message_id" func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() diff --git a/mlmodelinterpreter/MLModelInterpreterExample.xcodeproj/project.pbxproj b/mlmodelinterpreter/MLModelInterpreterExample.xcodeproj/project.pbxproj index 23af1a2e1..19bad3682 100644 --- a/mlmodelinterpreter/MLModelInterpreterExample.xcodeproj/project.pbxproj +++ b/mlmodelinterpreter/MLModelInterpreterExample.xcodeproj/project.pbxproj @@ -36,6 +36,8 @@ 4A56D23020A154E100357F77 /* mobilenet_v1_1.0_224.tflite in Resources */ = {isa = PBXBuildFile; fileRef = 4A56D22620A154E100357F77 /* mobilenet_v1_1.0_224.tflite */; }; 4A56D23420A154E100357F77 /* labels.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4A56D22A20A154E100357F77 /* labels.txt */; }; 4A56D23520A154E100357F77 /* grace_hopper.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4A56D22B20A154E100357F77 /* grace_hopper.jpg */; }; + 7C085114585EACD31E2D07E9 /* Pods_MLModelInterpreterExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E675B9EA8CD5F2EA3B4F9CC9 /* Pods_MLModelInterpreterExample.framework */; }; + 9D3F17862B29EF10AA942EB4 /* Pods_MLModelInterpreterExampleObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A6DDB5AFC21C7C2FBA68B1A2 /* Pods_MLModelInterpreterExampleObjC.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -95,6 +97,8 @@ 10E115E320F46A200013E4A4 /* ModelInterpreterManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ModelInterpreterManager.m; sourceTree = ""; }; 10E115E520F46A340013E4A4 /* UIImage+TFLite.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImage+TFLite.h"; sourceTree = ""; }; 10E115E620F46A340013E4A4 /* UIImage+TFLite.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIImage+TFLite.m"; sourceTree = ""; }; + 1F9FC69150D20B743DCA2520 /* Pods-MLModelInterpreterExampleObjC.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLModelInterpreterExampleObjC.release.xcconfig"; path = "Pods/Target Support Files/Pods-MLModelInterpreterExampleObjC/Pods-MLModelInterpreterExampleObjC.release.xcconfig"; sourceTree = ""; }; + 37B697E86414924EB204569E /* Pods-MLModelInterpreterExampleObjC.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLModelInterpreterExampleObjC.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MLModelInterpreterExampleObjC/Pods-MLModelInterpreterExampleObjC.debug.xcconfig"; sourceTree = ""; }; 4A56D20A20A138E500357F77 /* MLModelInterpreterExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MLModelInterpreterExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 4A56D21220A138E500357F77 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 4A56D21420A138E500357F77 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -106,6 +110,10 @@ 4A56D22620A154E100357F77 /* mobilenet_v1_1.0_224.tflite */ = {isa = PBXFileReference; lastKnownFileType = file; path = mobilenet_v1_1.0_224.tflite; sourceTree = ""; }; 4A56D22A20A154E100357F77 /* labels.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = labels.txt; sourceTree = ""; }; 4A56D22B20A154E100357F77 /* grace_hopper.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = grace_hopper.jpg; sourceTree = ""; }; + A4F9E08ABA3627E21B77DA30 /* Pods-MLModelInterpreterExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLModelInterpreterExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MLModelInterpreterExample/Pods-MLModelInterpreterExample.debug.xcconfig"; sourceTree = ""; }; + A6DDB5AFC21C7C2FBA68B1A2 /* Pods_MLModelInterpreterExampleObjC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MLModelInterpreterExampleObjC.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E675B9EA8CD5F2EA3B4F9CC9 /* Pods_MLModelInterpreterExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MLModelInterpreterExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FBA26E1C285886D8D91F313A /* Pods-MLModelInterpreterExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLModelInterpreterExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-MLModelInterpreterExample/Pods-MLModelInterpreterExample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -127,6 +135,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 9D3F17862B29EF10AA942EB4 /* Pods_MLModelInterpreterExampleObjC.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -148,6 +157,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 7C085114585EACD31E2D07E9 /* Pods_MLModelInterpreterExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -206,6 +216,15 @@ path = MLModelInterpreterExampleObjCUITests; sourceTree = ""; }; + 328E88DF1B8E2C99ADF515C1 /* Frameworks */ = { + isa = PBXGroup; + children = ( + E675B9EA8CD5F2EA3B4F9CC9 /* Pods_MLModelInterpreterExample.framework */, + A6DDB5AFC21C7C2FBA68B1A2 /* Pods_MLModelInterpreterExampleObjC.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 4A56D20120A138E500357F77 = { isa = PBXGroup; children = ( @@ -217,6 +236,8 @@ 10E115C220F469DC0013E4A4 /* MLModelInterpreterExampleObjCTests */, 10E115CD20F469DC0013E4A4 /* MLModelInterpreterExampleObjCUITests */, 4A56D20B20A138E500357F77 /* Products */, + FF23E2A21C54CBCEA5F51386 /* Pods */, + 328E88DF1B8E2C99ADF515C1 /* Frameworks */, ); sourceTree = ""; }; @@ -260,6 +281,17 @@ path = Resources; sourceTree = ""; }; + FF23E2A21C54CBCEA5F51386 /* Pods */ = { + isa = PBXGroup; + children = ( + A4F9E08ABA3627E21B77DA30 /* Pods-MLModelInterpreterExample.debug.xcconfig */, + FBA26E1C285886D8D91F313A /* Pods-MLModelInterpreterExample.release.xcconfig */, + 37B697E86414924EB204569E /* Pods-MLModelInterpreterExampleObjC.debug.xcconfig */, + 1F9FC69150D20B743DCA2520 /* Pods-MLModelInterpreterExampleObjC.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -303,9 +335,11 @@ isa = PBXNativeTarget; buildConfigurationList = 10E115D120F469DC0013E4A4 /* Build configuration list for PBXNativeTarget "MLModelInterpreterExampleObjC" */; buildPhases = ( + 1F52890A913E54506640EA50 /* [CP] Check Pods Manifest.lock */, 10E115A420F469DB0013E4A4 /* Sources */, 10E115A520F469DB0013E4A4 /* Frameworks */, 10E115A620F469DB0013E4A4 /* Resources */, + 9BEE4D1D68C431AEF9BD59DF /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -356,9 +390,11 @@ isa = PBXNativeTarget; buildConfigurationList = 4A56D21C20A138E500357F77 /* Build configuration list for PBXNativeTarget "MLModelInterpreterExample" */; buildPhases = ( + C0548F2FAEF3E1E7202D0564 /* [CP] Check Pods Manifest.lock */, 4A56D20620A138E500357F77 /* Sources */, 4A56D20720A138E500357F77 /* Frameworks */, 4A56D20820A138E500357F77 /* Resources */, + CE21FDE494046BD4B401ED4B /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -402,7 +438,7 @@ }; 4A56D20920A138E500357F77 = { CreatedOnToolsVersion = 9.3; - LastSwiftMigration = 1000; + LastSwiftMigration = ""; }; }; }; @@ -490,6 +526,89 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 1F52890A913E54506640EA50 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MLModelInterpreterExampleObjC-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; + }; + 9BEE4D1D68C431AEF9BD59DF /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLModelInterpreterExampleObjC/Pods-MLModelInterpreterExampleObjC-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLModelInterpreterExampleObjC/Pods-MLModelInterpreterExampleObjC-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + C0548F2FAEF3E1E7202D0564 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MLModelInterpreterExample-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; + }; + CE21FDE494046BD4B401ED4B /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLModelInterpreterExample/Pods-MLModelInterpreterExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLModelInterpreterExample/Pods-MLModelInterpreterExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 10E114BC20D5E5B40013E4A4 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -587,6 +706,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -606,6 +726,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -626,6 +747,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -646,6 +768,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -663,6 +786,7 @@ }; 10E115D220F469DC0013E4A4 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 37B697E86414924EB204569E /* Pods-MLModelInterpreterExampleObjC.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -682,6 +806,7 @@ }; 10E115D320F469DC0013E4A4 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1F9FC69150D20B743DCA2520 /* Pods-MLModelInterpreterExampleObjC.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -704,6 +829,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleObjCTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -723,6 +849,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleObjCTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -741,6 +868,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleObjCUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -759,6 +887,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLModelInterpreterExampleObjCUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; LD_RUNPATH_SEARCH_PATHS = ( @@ -889,6 +1018,7 @@ }; 4A56D21D20A138E500357F77 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A4F9E08ABA3627E21B77DA30 /* Pods-MLModelInterpreterExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -909,6 +1039,7 @@ }; 4A56D21E20A138E500357F77 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = FBA26E1C285886D8D91F313A /* Pods-MLModelInterpreterExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_IDENTITY = "iPhone Developer"; diff --git a/mlvision/MLVisionExample.xcodeproj/project.pbxproj b/mlvision/MLVisionExample.xcodeproj/project.pbxproj index 2348f4ebb..c4c73f095 100644 --- a/mlvision/MLVisionExample.xcodeproj/project.pbxproj +++ b/mlvision/MLVisionExample.xcodeproj/project.pbxproj @@ -32,10 +32,12 @@ 10E1152920F3E09C0013E4A4 /* image_has_text.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6520D0C1A300034C35 /* image_has_text.jpg */; }; 10E1152A20F3E09F0013E4A4 /* qr_code.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6420D0C1A300034C35 /* qr_code.jpg */; }; 10E1156520F4681E0013E4A4 /* shared in Resources */ = {isa = PBXBuildFile; fileRef = 1001E70020CF132C00445CB3 /* shared */; }; + 30758C41B9356B0D5DAC7BA2 /* Pods_MLVisionExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B987B6B479CC331120DC0EC /* Pods_MLVisionExample.framework */; }; 7202DC6920D0C1A300034C35 /* qr_code.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6420D0C1A300034C35 /* qr_code.jpg */; }; 7202DC6A20D0C1A300034C35 /* image_has_text.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6520D0C1A300034C35 /* image_has_text.jpg */; }; 7202DC6B20D0C1A300034C35 /* barcode_128.png in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6620D0C1A300034C35 /* barcode_128.png */; }; 7202DC6C20D0C1A300034C35 /* beach.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 7202DC6720D0C1A300034C35 /* beach.jpg */; }; + 94F9DC8F50D135E275D76C9C /* Pods_MLVisionExampleObjc.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15707D6D1538393234E6D4AD /* Pods_MLVisionExampleObjc.framework */; }; BB287B3920729CE90069707A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB287B3820729CE90069707A /* AppDelegate.swift */; }; BB287B3E20729CE90069707A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB287B3C20729CE90069707A /* Main.storyboard */; }; /* End PBXBuildFile section */ @@ -84,14 +86,20 @@ 10E1151620EBF6220013E4A4 /* CameraViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CameraViewController.m; sourceTree = ""; }; 10E1151820EBF7E10013E4A4 /* UIImage+VisionDetection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIImage+VisionDetection.h"; sourceTree = ""; }; 10E1151920EBF7E10013E4A4 /* UIImage+VisionDetection.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIImage+VisionDetection.m"; sourceTree = ""; }; + 15707D6D1538393234E6D4AD /* Pods_MLVisionExampleObjc.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MLVisionExampleObjc.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1E2273143F41EA40D3934026 /* Pods-MLVisionExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLVisionExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample.release.xcconfig"; sourceTree = ""; }; + 4AB5D846774A90EB32400C6D /* Pods-MLVisionExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLVisionExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample.debug.xcconfig"; sourceTree = ""; }; 7202DC6420D0C1A300034C35 /* qr_code.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = qr_code.jpg; path = Resources/qr_code.jpg; sourceTree = ""; }; 7202DC6520D0C1A300034C35 /* image_has_text.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = image_has_text.jpg; path = Resources/image_has_text.jpg; sourceTree = ""; }; 7202DC6620D0C1A300034C35 /* barcode_128.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = barcode_128.png; path = Resources/barcode_128.png; sourceTree = ""; }; 7202DC6720D0C1A300034C35 /* beach.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = beach.jpg; path = Resources/beach.jpg; sourceTree = ""; }; + 8B987B6B479CC331120DC0EC /* Pods_MLVisionExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MLVisionExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; BB287B3520729CE90069707A /* MLVisionExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MLVisionExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; BB287B3820729CE90069707A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; BB287B3D20729CE90069707A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; BB287B4420729CE90069707A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C8F7CFF5B201F60B3D12B5C9 /* Pods-MLVisionExampleObjc.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLVisionExampleObjc.release.xcconfig"; path = "Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc.release.xcconfig"; sourceTree = ""; }; + EDCEDBAAF0BC06DECE4378F6 /* Pods-MLVisionExampleObjc.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MLVisionExampleObjc.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -113,6 +121,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 94F9DC8F50D135E275D76C9C /* Pods_MLVisionExampleObjc.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -120,6 +129,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 30758C41B9356B0D5DAC7BA2 /* Pods_MLVisionExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -175,6 +185,26 @@ path = MLVisionExampleObjc; sourceTree = ""; }; + 35CE8C34A8CCA563C15D1C11 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8B987B6B479CC331120DC0EC /* Pods_MLVisionExample.framework */, + 15707D6D1538393234E6D4AD /* Pods_MLVisionExampleObjc.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 96C6195B8543F87A6B8D6AA8 /* Pods */ = { + isa = PBXGroup; + children = ( + 4AB5D846774A90EB32400C6D /* Pods-MLVisionExample.debug.xcconfig */, + 1E2273143F41EA40D3934026 /* Pods-MLVisionExample.release.xcconfig */, + EDCEDBAAF0BC06DECE4378F6 /* Pods-MLVisionExampleObjc.debug.xcconfig */, + C8F7CFF5B201F60B3D12B5C9 /* Pods-MLVisionExampleObjc.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; BB287B2C20729CE90069707A = { isa = PBXGroup; children = ( @@ -186,6 +216,8 @@ 1036DA362087CC26003253C9 /* MLVisionExampleUITests */, 10E114E120E5CBAA0013E4A4 /* MLVisionExampleObjc */, BB287B3620729CE90069707A /* Products */, + 96C6195B8543F87A6B8D6AA8 /* Pods */, + 35CE8C34A8CCA563C15D1C11 /* Frameworks */, ); sourceTree = ""; }; @@ -265,9 +297,12 @@ isa = PBXNativeTarget; buildConfigurationList = 10E1150F20E5CBAE0013E4A4 /* Build configuration list for PBXNativeTarget "MLVisionExampleObjc" */; buildPhases = ( + 0A2103B787ED419D46B8A760 /* [CP] Check Pods Manifest.lock */, 10E114DC20E5CBAA0013E4A4 /* Sources */, 10E114DD20E5CBAA0013E4A4 /* Frameworks */, 10E114DE20E5CBAA0013E4A4 /* Resources */, + C9F52C72CB39AF1CA615ED4F /* [CP] Embed Pods Frameworks */, + 18DFDD1DC7461A41E3C48C61 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -282,9 +317,12 @@ isa = PBXNativeTarget; buildConfigurationList = BB287B4720729CE90069707A /* Build configuration list for PBXNativeTarget "MLVisionExample" */; buildPhases = ( + 145D24C0970E5C9A1476AEFF /* [CP] Check Pods Manifest.lock */, BB287B3120729CE90069707A /* Sources */, BB287B3220729CE90069707A /* Frameworks */, BB287B3320729CE90069707A /* Resources */, + CD4D7DEC37DCB8338A70CC14 /* [CP] Embed Pods Frameworks */, + AC443A212B9EDFF9BD2AD190 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -307,11 +345,13 @@ TargetAttributes = { 1036DA262087CC16003253C9 = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = BB287B3420729CE90069707A; }; 1036DA342087CC25003253C9 = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = BB287B3420729CE90069707A; }; @@ -321,6 +361,7 @@ }; BB287B3420729CE90069707A = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = ""; ProvisioningStyle = Automatic; }; }; @@ -395,6 +436,141 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 0A2103B787ED419D46B8A760 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MLVisionExampleObjc-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; + }; + 145D24C0970E5C9A1476AEFF /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MLVisionExample-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; + }; + 18DFDD1DC7461A41E3C48C61 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileVision/GoogleMVFaceDetectorResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileVision/GoogleMVTextDetectorResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMVFaceDetectorResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMVTextDetectorResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + AC443A212B9EDFF9BD2AD190 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileVision/GoogleMVFaceDetectorResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileVision/GoogleMVTextDetectorResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMVFaceDetectorResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMVTextDetectorResources.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + C9F52C72CB39AF1CA615ED4F /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleAPIClientForREST/GoogleAPIClientForREST.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleAPIClientForREST.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExampleObjc/Pods-MLVisionExampleObjc-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + CD4D7DEC37DCB8338A70CC14 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleAPIClientForREST/GoogleAPIClientForREST.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleAPIClientForREST.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MLVisionExample/Pods-MLVisionExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 1036DA232087CC16003253C9 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -472,12 +648,13 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLVisionExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.MLVisionExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MLVisionExample.app/MLVisionExample"; }; @@ -491,12 +668,13 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLVisionExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.MLVisionExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MLVisionExample.app/MLVisionExample"; }; @@ -509,13 +687,14 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLVisionExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.MLVisionExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = "985b9882-0e66-4497-8f7c-bd6c3bc484f7"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = MLVisionExample; }; @@ -528,13 +707,14 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MLVisionExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.3; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.google.friendlypix.MLVisionExampleUITests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = "985b9882-0e66-4497-8f7c-bd6c3bc484f7"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = MLVisionExample; }; @@ -542,6 +722,7 @@ }; 10E1150920E5CBAE0013E4A4 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = EDCEDBAAF0BC06DECE4378F6 /* Pods-MLVisionExampleObjc.debug.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_STYLE = Automatic; @@ -556,6 +737,7 @@ }; 10E1150A20E5CBAE0013E4A4 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C8F7CFF5B201F60B3D12B5C9 /* Pods-MLVisionExampleObjc.release.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_STYLE = Automatic; @@ -681,6 +863,7 @@ }; BB287B4820729CE90069707A /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 4AB5D846774A90EB32400C6D /* Pods-MLVisionExample.debug.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; @@ -692,13 +875,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; }; BB287B4920729CE90069707A /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1E2273143F41EA40D3934026 /* Pods-MLVisionExample.release.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; @@ -710,7 +894,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; diff --git a/mlvision/MLVisionExample/AppDelegate.swift b/mlvision/MLVisionExample/AppDelegate.swift index 87434040d..ea0f7860c 100644 --- a/mlvision/MLVisionExample/AppDelegate.swift +++ b/mlvision/MLVisionExample/AppDelegate.swift @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() return true diff --git a/mlvision/MLVisionExample/UIImage+VisionDetection.swift b/mlvision/MLVisionExample/UIImage+VisionDetection.swift index e335759e4..4b3cdec08 100644 --- a/mlvision/MLVisionExample/UIImage+VisionDetection.swift +++ b/mlvision/MLVisionExample/UIImage+VisionDetection.swift @@ -31,8 +31,8 @@ extension UIImage { // Attempt to convert the scaled image to PNG or JPEG data to preserve the bitmap info. guard let image = scaledImage else { return nil } - let imageData = UIImagePNGRepresentation(image) ?? - UIImageJPEGRepresentation(image, Constants.jpegCompressionQuality) + let imageData = image.pngData() ?? + image.jpegData(compressionQuality: Constants.jpegCompressionQuality) return imageData.map { UIImage(data: $0) } ?? nil } } diff --git a/mlvision/MLVisionExample/UIUtilities.swift b/mlvision/MLVisionExample/UIUtilities.swift index 582a4aa61..39d1d67cc 100644 --- a/mlvision/MLVisionExample/UIUtilities.swift +++ b/mlvision/MLVisionExample/UIUtilities.swift @@ -76,7 +76,7 @@ public class UIUtilities { public static func imageOrientation( fromDevicePosition devicePosition: AVCaptureDevice.Position = .back - ) -> UIImageOrientation { + ) -> UIImage.Orientation { var deviceOrientation = UIDevice.current.orientation if deviceOrientation == .faceDown || deviceOrientation == .faceUp || deviceOrientation == .unknown { @@ -97,7 +97,7 @@ public class UIUtilities { } public static func visionImageOrientation( - from imageOrientation: UIImageOrientation + from imageOrientation: UIImage.Orientation ) -> VisionDetectorImageOrientation { switch imageOrientation { case .up: diff --git a/mlvision/MLVisionExample/ViewController.swift b/mlvision/MLVisionExample/ViewController.swift index 169ebcc59..6699b93e9 100644 --- a/mlvision/MLVisionExample/ViewController.swift +++ b/mlvision/MLVisionExample/ViewController.swift @@ -637,10 +637,13 @@ extension ViewController: UIImagePickerControllerDelegate { func imagePickerController( _ picker: UIImagePickerController, - didFinishPickingMediaWithInfo info: [String: Any] + didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey: Any] ) { +// Local variable inserted by Swift 4.2 migrator. +let info = convertFromUIImagePickerControllerInfoKeyDictionary(info) + clearResults() - if let pickedImage = info[UIImagePickerControllerOriginalImage] as? UIImage { + if let pickedImage = info[convertFromUIImagePickerControllerInfoKey(UIImagePickerController.InfoKey.originalImage)] as? UIImage { updateImageView(with: pickedImage) } dismiss(animated: true) @@ -1060,3 +1063,13 @@ private enum Constants { static let lineColor = UIColor.yellow.cgColor static let fillColor = UIColor.clear.cgColor } + +// Helper function inserted by Swift 4.2 migrator. +fileprivate func convertFromUIImagePickerControllerInfoKeyDictionary(_ input: [UIImagePickerController.InfoKey: Any]) -> [String: Any] { + return Dictionary(uniqueKeysWithValues: input.map {key, value in (key.rawValue, value)}) +} + +// Helper function inserted by Swift 4.2 migrator. +fileprivate func convertFromUIImagePickerControllerInfoKey(_ input: UIImagePickerController.InfoKey) -> String { + return input.rawValue +} diff --git a/performance/PerformanceExample.xcodeproj/project.pbxproj b/performance/PerformanceExample.xcodeproj/project.pbxproj index 138a4bccc..441067fb9 100644 --- a/performance/PerformanceExample.xcodeproj/project.pbxproj +++ b/performance/PerformanceExample.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 01FDB9D649B34DB5CDAC3DB3 /* Pods_PerformanceExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D2C787089973D8FA2688ACB /* Pods_PerformanceExampleSwift.framework */; }; 107347C720315A61004A66D1 /* PerformanceExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 107347C620315A61004A66D1 /* PerformanceExampleSwiftUITests.swift */; }; 1073486F20333C0C004A66D1 /* PerformanceExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073486E20333C0C004A66D1 /* PerformanceExampleUITests.m */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; @@ -21,6 +22,8 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + A7129DCE97C37A44EA6B81B4 /* Pods_PerformanceExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAE6583223940A910BAFC918 /* Pods_PerformanceExample.framework */; }; + F972BBD1952628CE77445A40 /* Pods_PerformanceExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D3B217DC8CC34482C07D555 /* Pods_PerformanceExampleTests.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -54,6 +57,9 @@ 1073486C20333C0C004A66D1 /* PerformanceExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PerformanceExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 1073486E20333C0C004A66D1 /* PerformanceExampleUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PerformanceExampleUITests.m; sourceTree = ""; }; 1073487020333C0C004A66D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2D3B217DC8CC34482C07D555 /* Pods_PerformanceExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PerformanceExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 43E37F374DFA924E1F2A2DBF /* Pods-PerformanceExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExampleSwift/Pods-PerformanceExampleSwift.release.xcconfig"; sourceTree = ""; }; + 44D594218250CA09B15C4E1F /* Pods-PerformanceExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExampleTests/Pods-PerformanceExampleTests.debug.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* PerformanceExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PerformanceExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -69,6 +75,12 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* PerformanceExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PerformanceExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 6D109524EEADDCFBBA0FC514 /* Pods-PerformanceExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExample/Pods-PerformanceExample.debug.xcconfig"; sourceTree = ""; }; + 9D2C787089973D8FA2688ACB /* Pods_PerformanceExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PerformanceExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D07A72360F4087F48D19B572 /* Pods-PerformanceExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExampleSwift/Pods-PerformanceExampleSwift.debug.xcconfig"; sourceTree = ""; }; + DAE6583223940A910BAFC918 /* Pods_PerformanceExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PerformanceExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E337891A89766D4C631FDCEC /* Pods-PerformanceExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExample/Pods-PerformanceExample.release.xcconfig"; sourceTree = ""; }; + ECBB68D2A0C3C26D2F75CC02 /* Pods-PerformanceExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PerformanceExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PerformanceExampleTests/Pods-PerformanceExampleTests.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -90,6 +102,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + A7129DCE97C37A44EA6B81B4 /* Pods_PerformanceExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -97,6 +110,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 01FDB9D649B34DB5CDAC3DB3 /* Pods_PerformanceExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -104,6 +118,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + F972BBD1952628CE77445A40 /* Pods_PerformanceExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -128,6 +143,16 @@ path = PerformanceExampleUITests; sourceTree = ""; }; + 4CB3A237431EB4A1BA2041FD /* Frameworks */ = { + isa = PBXGroup; + children = ( + DAE6583223940A910BAFC918 /* Pods_PerformanceExample.framework */, + 9D2C787089973D8FA2688ACB /* Pods_PerformanceExampleSwift.framework */, + 2D3B217DC8CC34482C07D555 /* Pods_PerformanceExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 5F5A53431ADE670C00F81DF0 = { isa = PBXGroup; children = ( @@ -138,6 +163,8 @@ 1073486D20333C0C004A66D1 /* PerformanceExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + C5079C24C41A9B6C0E0256B5 /* Pods */, + 4CB3A237431EB4A1BA2041FD /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -203,6 +230,19 @@ path = PerformanceExampleTests; sourceTree = ""; }; + C5079C24C41A9B6C0E0256B5 /* Pods */ = { + isa = PBXGroup; + children = ( + 6D109524EEADDCFBBA0FC514 /* Pods-PerformanceExample.debug.xcconfig */, + E337891A89766D4C631FDCEC /* Pods-PerformanceExample.release.xcconfig */, + D07A72360F4087F48D19B572 /* Pods-PerformanceExampleSwift.debug.xcconfig */, + 43E37F374DFA924E1F2A2DBF /* Pods-PerformanceExampleSwift.release.xcconfig */, + 44D594218250CA09B15C4E1F /* Pods-PerformanceExampleTests.debug.xcconfig */, + ECBB68D2A0C3C26D2F75CC02 /* Pods-PerformanceExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -246,9 +286,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "PerformanceExample" */; buildPhases = ( + C72B1AD361B3899836D51C61 /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + EFA05DA82AEFBC1A225E073E /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -263,9 +305,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "PerformanceExampleSwift" */; buildPhases = ( + 48FBB80466223EC024F2B48D /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + AC00262E920AFA14284E8AD4 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -280,9 +324,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "PerformanceExampleTests" */; buildPhases = ( + 8130F593F9CB32E1F68710DA /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, + 37057A0976C4DD38E5AEB054 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -306,6 +352,7 @@ TargetAttributes = { 107347C320315A61004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -321,7 +368,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FDE05571B0DAA090037B82F = { @@ -398,6 +445,141 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 37057A0976C4DD38E5AEB054 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExampleTests/Pods-PerformanceExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExampleTests/Pods-PerformanceExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 48FBB80466223EC024F2B48D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-PerformanceExampleSwift-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; + }; + 8130F593F9CB32E1F68710DA /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-PerformanceExampleTests-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; + }; + AC00262E920AFA14284E8AD4 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExampleSwift/Pods-PerformanceExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExampleSwift/Pods-PerformanceExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + C72B1AD361B3899836D51C61 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-PerformanceExample-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; + }; + EFA05DA82AEFBC1A225E073E /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExample/Pods-PerformanceExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PerformanceExample/Pods-PerformanceExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107347C020315A61004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -485,6 +667,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = PerformanceExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -492,7 +675,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.PerformanceExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = PerformanceExampleSwift; }; @@ -510,13 +694,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = PerformanceExampleSwiftUITests/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.PerformanceExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = PerformanceExampleSwift; }; @@ -533,6 +719,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = PerformanceExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -556,6 +743,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = PerformanceExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -674,6 +862,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 6D109524EEADDCFBBA0FC514 /* Pods-PerformanceExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -690,6 +879,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E337891A89766D4C631FDCEC /* Pods-PerformanceExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -706,6 +896,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D07A72360F4087F48D19B572 /* Pods-PerformanceExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -717,13 +908,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 43E37F374DFA924E1F2A2DBF /* Pods-PerformanceExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -736,13 +928,14 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 44D594218250CA09B15C4E1F /* Pods-PerformanceExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -772,6 +965,7 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = ECBB68D2A0C3C26D2F75CC02 /* Pods-PerformanceExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/performance/PerformanceExampleSwift/AppDelegate.swift b/performance/PerformanceExampleSwift/AppDelegate.swift index 822b1544c..7e3eda56f 100644 --- a/performance/PerformanceExampleSwift/AppDelegate.swift +++ b/performance/PerformanceExampleSwift/AppDelegate.swift @@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START firebase_configure] // Use Firebase library to configure APIs FirebaseApp.configure() diff --git a/storage/StorageExample.xcodeproj/project.pbxproj b/storage/StorageExample.xcodeproj/project.pbxproj index 72990b2f8..a5d89039a 100644 --- a/storage/StorageExample.xcodeproj/project.pbxproj +++ b/storage/StorageExample.xcodeproj/project.pbxproj @@ -7,10 +7,12 @@ objects = { /* Begin PBXBuildFile section */ + 007FD419802ABC797AC89639 /* Pods_StorageExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BFEFBDEAC29ED97B476552DB /* Pods_StorageExampleTests.framework */; }; 107347E320315A84004A66D1 /* StorageExampleSwiftUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 107347E220315A84004A66D1 /* StorageExampleSwiftUITests.swift */; }; 1073487D20333C27004A66D1 /* StorageExampleUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1073487C20333C27004A66D1 /* StorageExampleUITests.m */; }; 10D187C31C8640E300D0DC91 /* DownloadViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 10D187C21C8640E300D0DC91 /* DownloadViewController.m */; }; 10D187C51C87608900D0DC91 /* DownloadViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10D187C41C87608900D0DC91 /* DownloadViewController.swift */; }; + 2F5C3DBE9C73118ADC5D8CB7 /* Pods_StorageExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7C393C39F8593A013363716 /* Pods_StorageExample.framework */; }; 5F5A53521ADE670C00F81DF0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53511ADE670C00F81DF0 /* main.m */; }; 5F5A53551ADE670C00F81DF0 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53541ADE670C00F81DF0 /* AppDelegate.m */; }; 5F5A53581ADE670C00F81DF0 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F5A53571ADE670C00F81DF0 /* ViewController.m */; }; @@ -23,6 +25,7 @@ 5F99610C1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5F99610D1AE0CF4F0034F503 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */; }; 5FDE055D1B0DAA090037B82F /* AppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FDE055C1B0DAA090037B82F /* AppTests.m */; }; + C72F3C11C1B9EA93473D10D3 /* Pods_StorageExampleSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D5AE618EAB015ED245046D98 /* Pods_StorageExampleSwift.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -59,6 +62,8 @@ 10D187C11C8640E300D0DC91 /* DownloadViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DownloadViewController.h; sourceTree = ""; }; 10D187C21C8640E300D0DC91 /* DownloadViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DownloadViewController.m; sourceTree = ""; }; 10D187C41C87608900D0DC91 /* DownloadViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DownloadViewController.swift; sourceTree = ""; }; + 1FEFF45292BDFB5B2A258CD8 /* Pods-StorageExampleSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExampleSwift.release.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExampleSwift/Pods-StorageExampleSwift.release.xcconfig"; sourceTree = ""; }; + 275992C1D4D7B0F7F41CCBF7 /* Pods-StorageExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExample/Pods-StorageExample.release.xcconfig"; sourceTree = ""; }; 5F5A534C1ADE670C00F81DF0 /* StorageExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = StorageExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 5F5A53501ADE670C00F81DF0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 5F5A53511ADE670C00F81DF0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; @@ -74,6 +79,13 @@ 5F9961071AE0CF4F0034F503 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = ""; }; 5FDE05581B0DAA090037B82F /* StorageExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StorageExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 5FDE055C1B0DAA090037B82F /* AppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppTests.m; sourceTree = ""; }; + 9DE1812457FD7634B381E4CA /* Pods-StorageExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExampleTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExampleTests/Pods-StorageExampleTests.release.xcconfig"; sourceTree = ""; }; + A45A5B2408E22A874DCA5D49 /* Pods-StorageExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExample/Pods-StorageExample.debug.xcconfig"; sourceTree = ""; }; + A7C393C39F8593A013363716 /* Pods_StorageExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StorageExample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BFEFBDEAC29ED97B476552DB /* Pods_StorageExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StorageExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C717A1FDD7BDBDC9B16A7B3A /* Pods-StorageExampleSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExampleSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExampleSwift/Pods-StorageExampleSwift.debug.xcconfig"; sourceTree = ""; }; + D5AE618EAB015ED245046D98 /* Pods_StorageExampleSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_StorageExampleSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E9ADB951831063CADBBC6E78 /* Pods-StorageExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StorageExampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-StorageExampleTests/Pods-StorageExampleTests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -95,6 +107,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 2F5C3DBE9C73118ADC5D8CB7 /* Pods_StorageExample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -102,6 +115,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C72F3C11C1B9EA93473D10D3 /* Pods_StorageExampleSwift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -109,12 +123,23 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 007FD419802ABC797AC89639 /* Pods_StorageExampleTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 043A74E964160BDF026F670C /* Frameworks */ = { + isa = PBXGroup; + children = ( + A7C393C39F8593A013363716 /* Pods_StorageExample.framework */, + D5AE618EAB015ED245046D98 /* Pods_StorageExampleSwift.framework */, + BFEFBDEAC29ED97B476552DB /* Pods_StorageExampleTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; 107347E120315A84004A66D1 /* StorageExampleSwiftUITests */ = { isa = PBXGroup; children = ( @@ -143,6 +168,8 @@ 1073487B20333C27004A66D1 /* StorageExampleUITests */, 5F5A534D1ADE670C00F81DF0 /* Products */, 5F9961041AE0CF4F0034F503 /* Shared */, + 96BAB57749B74BE7E38D800B /* Pods */, + 043A74E964160BDF026F670C /* Frameworks */, ); sourceTree = ""; wrapsLines = 0; @@ -211,6 +238,19 @@ path = StorageExampleTests; sourceTree = ""; }; + 96BAB57749B74BE7E38D800B /* Pods */ = { + isa = PBXGroup; + children = ( + A45A5B2408E22A874DCA5D49 /* Pods-StorageExample.debug.xcconfig */, + 275992C1D4D7B0F7F41CCBF7 /* Pods-StorageExample.release.xcconfig */, + C717A1FDD7BDBDC9B16A7B3A /* Pods-StorageExampleSwift.debug.xcconfig */, + 1FEFF45292BDFB5B2A258CD8 /* Pods-StorageExampleSwift.release.xcconfig */, + E9ADB951831063CADBBC6E78 /* Pods-StorageExampleTests.debug.xcconfig */, + 9DE1812457FD7634B381E4CA /* Pods-StorageExampleTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -254,9 +294,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A536F1ADE670C00F81DF0 /* Build configuration list for PBXNativeTarget "StorageExample" */; buildPhases = ( + 0C6070575E0D0A5172777A6F /* [CP] Check Pods Manifest.lock */, 5F5A53481ADE670C00F81DF0 /* Sources */, 5F5A53491ADE670C00F81DF0 /* Frameworks */, 5F5A534A1ADE670C00F81DF0 /* Resources */, + 2092E6FD7388FD6820E466B0 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -271,9 +313,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5F5A53991ADE67D500F81DF0 /* Build configuration list for PBXNativeTarget "StorageExampleSwift" */; buildPhases = ( + CCD01A07F512136F588B49F9 /* [CP] Check Pods Manifest.lock */, 5F5A53751ADE67D500F81DF0 /* Sources */, 5F5A53761ADE67D500F81DF0 /* Frameworks */, 5F5A53771ADE67D500F81DF0 /* Resources */, + E8B5AC4004C52D562145A5F3 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -288,9 +332,11 @@ isa = PBXNativeTarget; buildConfigurationList = 5FDE05621B0DAA090037B82F /* Build configuration list for PBXNativeTarget "StorageExampleTests" */; buildPhases = ( + 4A53A99A675234DD38DAFA6A /* [CP] Check Pods Manifest.lock */, 5FDE05541B0DAA090037B82F /* Sources */, 5FDE05551B0DAA090037B82F /* Frameworks */, 5FDE05561B0DAA090037B82F /* Resources */, + 638C2ECE832853DF3C186D2F /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -314,6 +360,7 @@ TargetAttributes = { 107347DF20315A84004A66D1 = { CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; TestTargetID = 5F5A53781ADE67D500F81DF0; }; @@ -329,7 +376,7 @@ }; 5F5A53781ADE67D500F81DF0 = { CreatedOnToolsVersion = 6.3; - LastSwiftMigration = 0900; + LastSwiftMigration = 1010; ProvisioningStyle = Automatic; }; 5FDE05571B0DAA090037B82F = { @@ -406,6 +453,129 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 0C6070575E0D0A5172777A6F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-StorageExample-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; + }; + 2092E6FD7388FD6820E466B0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-StorageExample/Pods-StorageExample-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StorageExample/Pods-StorageExample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 4A53A99A675234DD38DAFA6A /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-StorageExampleTests-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; + }; + 638C2ECE832853DF3C186D2F /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-StorageExampleTests/Pods-StorageExampleTests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StorageExampleTests/Pods-StorageExampleTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + CCD01A07F512136F588B49F9 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-StorageExampleSwift-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; + }; + E8B5AC4004C52D562145A5F3 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-StorageExampleSwift/Pods-StorageExampleSwift-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-StorageExampleSwift/Pods-StorageExampleSwift-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 107347DC20315A84004A66D1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -495,6 +665,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = StorageExampleSwiftUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -502,7 +673,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.StorageExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = StorageExampleSwift; }; @@ -520,13 +692,15 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = StorageExampleSwiftUITests/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.StorageExampleSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = StorageExampleSwift; }; @@ -543,6 +717,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = StorageExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -566,6 +741,7 @@ CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = ""; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = StorageExampleUITests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.2; @@ -684,6 +860,7 @@ }; 5F5A53701ADE670C00F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = A45A5B2408E22A874DCA5D49 /* Pods-StorageExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -700,6 +877,7 @@ }; 5F5A53711ADE670C00F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 275992C1D4D7B0F7F41CCBF7 /* Pods-StorageExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -716,6 +894,7 @@ }; 5F5A53951ADE67D500F81DF0 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = C717A1FDD7BDBDC9B16A7B3A /* Pods-StorageExampleSwift.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -727,13 +906,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Debug; }; 5F5A53961ADE67D500F81DF0 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 1FEFF45292BDFB5B2A258CD8 /* Pods-StorageExampleSwift.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -746,13 +926,14 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 3.0; + SWIFT_SWIFT3_OBJC_INFERENCE = On; + SWIFT_VERSION = 4.2; }; name = Release; }; 5FDE05601B0DAA090037B82F /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E9ADB951831063CADBBC6E78 /* Pods-StorageExampleTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -782,6 +963,7 @@ }; 5FDE05611B0DAA090037B82F /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 9DE1812457FD7634B381E4CA /* Pods-StorageExampleTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; diff --git a/storage/StorageExampleSwift/AppDelegate.swift b/storage/StorageExampleSwift/AppDelegate.swift index 822b1544c..7e3eda56f 100644 --- a/storage/StorageExampleSwift/AppDelegate.swift +++ b/storage/StorageExampleSwift/AppDelegate.swift @@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // [START firebase_configure] // Use Firebase library to configure APIs FirebaseApp.configure() diff --git a/storage/StorageExampleSwift/ViewController.swift b/storage/StorageExampleSwift/ViewController.swift index 022562e5f..abc55027c 100644 --- a/storage/StorageExampleSwift/ViewController.swift +++ b/storage/StorageExampleSwift/ViewController.swift @@ -65,12 +65,15 @@ class ViewController: UIViewController, } func imagePickerController(_ picker: UIImagePickerController, - didFinishPickingMediaWithInfo info: [String : Any]) { + didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { +// Local variable inserted by Swift 4.2 migrator. +let info = convertFromUIImagePickerControllerInfoKeyDictionary(info) + picker.dismiss(animated: true, completion:nil) urlTextView.text = "Beginning Upload" // if it's a photo from the library, not an image from the camera - if #available(iOS 8.0, *), let referenceUrl = info[UIImagePickerControllerReferenceURL] as? URL { + if #available(iOS 8.0, *), let referenceUrl = info[convertFromUIImagePickerControllerInfoKey(UIImagePickerController.InfoKey.referenceURL)] as? URL { let assets = PHAsset.fetchAssets(withALAssetURLs: [referenceUrl], options: nil) let asset = assets.firstObject asset?.requestContentEditingInput(with: nil, completionHandler: { (contentEditingInput, info) in @@ -90,8 +93,8 @@ class ViewController: UIViewController, // [END uploadimage] }) } else { - guard let image = info[UIImagePickerControllerOriginalImage] as? UIImage else { return } - guard let imageData = UIImageJPEGRepresentation(image, 0.8) else { return } + guard let image = info[convertFromUIImagePickerControllerInfoKey(UIImagePickerController.InfoKey.originalImage)] as? UIImage else { return } + guard let imageData = image.jpegData(compressionQuality: 0.8) else { return } let imagePath = Auth.auth().currentUser!.uid + "/\(Int(Date.timeIntervalSinceReferenceDate * 1000)).jpg" let metadata = StorageMetadata() @@ -127,3 +130,13 @@ class ViewController: UIViewController, picker.dismiss(animated: true, completion:nil) } } + +// Helper function inserted by Swift 4.2 migrator. +fileprivate func convertFromUIImagePickerControllerInfoKeyDictionary(_ input: [UIImagePickerController.InfoKey: Any]) -> [String: Any] { + return Dictionary(uniqueKeysWithValues: input.map {key, value in (key.rawValue, value)}) +} + +// Helper function inserted by Swift 4.2 migrator. +fileprivate func convertFromUIImagePickerControllerInfoKey(_ input: UIImagePickerController.InfoKey) -> String { + return input.rawValue +}