From 76bb59bc7658057143954fb9f17bea3bf52a22af Mon Sep 17 00:00:00 2001 From: Arnaud Dorgans Date: Sat, 16 Feb 2019 20:16:46 +0100 Subject: [PATCH] swift 4.2, osx --- Podfile | 23 +- Podfile.lock | 62 +---- RxFirebase.podspec | 33 +-- RxFirebase.xcodeproj/project.pbxproj | 261 +++++------------- .../xcshareddata/xcschemes/Example.xcscheme | 24 -- RxFirebaseDatabase.podspec | 34 +++ RxFirebaseFirestore.podspec | 32 +++ RxFirebaseFunctions.podspec | 32 +++ RxFirebaseRemoteConfig.podspec | 32 +++ RxFirebaseStorage.podspec | 34 +++ RxSwiftFirebaseAuth.podspec | 35 +++ .../Storage/FIRStorageObservableTask+Rx.swift | 1 - Tests/Info.plist | 24 -- Tests/Tests.swift | 28 -- 14 files changed, 297 insertions(+), 358 deletions(-) create mode 100644 RxFirebaseDatabase.podspec create mode 100644 RxFirebaseFirestore.podspec create mode 100644 RxFirebaseFunctions.podspec create mode 100644 RxFirebaseRemoteConfig.podspec create mode 100644 RxFirebaseStorage.podspec create mode 100644 RxSwiftFirebaseAuth.podspec delete mode 100644 Tests/Info.plist delete mode 100644 Tests/Tests.swift diff --git a/Podfile b/Podfile index 131eff2..b74a538 100644 --- a/Podfile +++ b/Podfile @@ -1,17 +1,14 @@ -platform :ios, '8.0' use_frameworks! target 'RxFirebase_Example' do - pod 'RxFirebase/Firestore', :path => './' - pod 'RxFirebase/RemoteConfig', :path => './' - pod 'RxFirebase/Database', :path => './' - pod 'RxFirebase/Storage', :path => './' - pod 'RxFirebase/Auth', :path => './' - pod 'RxFirebase/Functions', :path => './' - - target 'RxFirebase_Tests' do - inherit! :search_paths - - end + platform :ios, '8.0' + pod 'RxFirebaseFirestore', :path => './' + pod 'RxFirebaseRemoteConfig', :path => './' + pod 'RxFirebaseDatabase', :path => './' + #pod 'RxFirebase/Firestore', :path => './' + #pod 'RxFirebase/RemoteConfig', :path => './' + #pod 'RxFirebase/Database', :path => './' + #pod 'RxFirebase/Storage', :path => './' + #pod 'RxFirebase/Auth', :path => './' + #pod 'RxFirebase/Functions', :path => './' end - diff --git a/Podfile.lock b/Podfile.lock index 7bfeeb8..5412230 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -17,11 +17,6 @@ PODS: - GoogleUtilities/Network (~> 5.2) - "GoogleUtilities/NSData+zlib (~> 5.2)" - nanopb (~> 0.3) - - FirebaseAuth (5.3.0): - - FirebaseAuthInterop (~> 1.0) - - FirebaseCore (~> 5.2) - - GoogleUtilities/Environment (~> 5.2) - - GTMSessionFetcher/Core (~> 1.1) - FirebaseAuthInterop (1.0.0) - FirebaseCore (5.2.0): - GoogleUtilities/Logger (~> 5.2) @@ -44,10 +39,6 @@ PODS: - leveldb-library (~> 1.20) - nanopb (~> 0.3.901) - Protobuf (~> 3.1) - - FirebaseFunctions (2.2.0): - - FirebaseAuthInterop (~> 1.0) - - FirebaseCore (~> 5.2) - - GTMSessionFetcher/Core (~> 1.1) - FirebaseInstanceID (3.4.0): - FirebaseCore (~> 5.2) - GoogleUtilities/Environment (~> 5.3) @@ -60,10 +51,6 @@ PODS: - GoogleUtilities/Environment (~> 5.2) - "GoogleUtilities/NSData+zlib (~> 5.2)" - Protobuf (~> 3.5) - - FirebaseStorage (3.1.0): - - FirebaseAuthInterop (~> 1.0) - - FirebaseCore (~> 5.2) - - GTMSessionFetcher/Core (~> 1.1) - GoogleAppMeasurement (5.5.0): - GoogleUtilities/AppDelegateSwizzler (~> 5.2) - GoogleUtilities/MethodSwizzler (~> 5.2) @@ -104,7 +91,6 @@ PODS: - gRPC-Core/Interface (= 1.17.0) - nanopb (~> 0.3) - gRPC-Core/Interface (1.17.0) - - GTMSessionFetcher/Core (1.2.1) - leveldb-library (1.20) - nanopb (0.3.901): - nanopb/decode (= 0.3.901) @@ -115,61 +101,41 @@ PODS: - RxAtomic (4.4.0) - RxCocoa (4.4.0): - RxSwift (~> 4.0) - - RxFirebase/Auth (0.2.6): - - FirebaseAuth (~> 5) - - FirebaseCore (~> 5.1) - - RxCocoa (~> 4) - - RxSwift (~> 4) - - RxFirebase/Database (0.2.6): + - RxFirebaseDatabase (5.1.0): - FirebaseDatabase (~> 5) - RxCocoa (~> 4) - RxSwift (~> 4) - - RxFirebase/Firestore (0.2.6): + - RxFirebaseFirestore (1.0.0): - FirebaseFirestore (~> 1) - RxCocoa (~> 4) - RxSwift (~> 4) - - RxFirebase/Functions (0.2.6): - - FirebaseFunctions (~> 2) - - RxCocoa (~> 4) - - RxSwift (~> 4) - - RxFirebase/RemoteConfig (0.2.6): + - RxFirebaseRemoteConfig (3.1.0): - FirebaseRemoteConfig (~> 3) - RxCocoa (~> 4) - RxSwift (~> 4) - - RxFirebase/Storage (0.2.6): - - FirebaseStorage (~> 3) - - RxCocoa (~> 4) - - RxSwift (~> 4) - RxSwift (4.4.0): - RxAtomic (~> 4.4) DEPENDENCIES: - - RxFirebase/Auth (from `./`) - - RxFirebase/Database (from `./`) - - RxFirebase/Firestore (from `./`) - - RxFirebase/Functions (from `./`) - - RxFirebase/RemoteConfig (from `./`) - - RxFirebase/Storage (from `./`) + - RxFirebaseDatabase (from `./`) + - RxFirebaseFirestore (from `./`) + - RxFirebaseRemoteConfig (from `./`) SPEC REPOS: https://github.com/cocoapods/specs.git: - BoringSSL-GRPC - FirebaseABTesting - FirebaseAnalytics - - FirebaseAuth - FirebaseAuthInterop - FirebaseCore - FirebaseDatabase - FirebaseFirestore - - FirebaseFunctions - FirebaseInstanceID - FirebaseRemoteConfig - - FirebaseStorage - GoogleAppMeasurement - GoogleUtilities - "gRPC-C++" - gRPC-Core - - GTMSessionFetcher - leveldb-library - nanopb - Protobuf @@ -178,35 +144,37 @@ SPEC REPOS: - RxSwift EXTERNAL SOURCES: - RxFirebase: + RxFirebaseDatabase: + :path: "./" + RxFirebaseFirestore: + :path: "./" + RxFirebaseRemoteConfig: :path: "./" SPEC CHECKSUMS: BoringSSL-GRPC: 2a230d9cd93e7ce39916044f645cebb31f37dde6 FirebaseABTesting: 1f50b8d50f5e3469eea54e7463a7b7fe221d1f5e FirebaseAnalytics: d35d47c03c50c73c14a7fd31463c5775843e78a9 - FirebaseAuth: c9b3ff063c223d2841d97240af547ce511bce19a FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc FirebaseCore: ea2d1816723ef21492b8e9113303e1350db5e08c FirebaseDatabase: 23acb0c53cd4d4070a427b60100b2e4aaa97c45d FirebaseFirestore: 6f2b93b4f7bb8416628142763c91ccc00fa04c86 - FirebaseFunctions: f35dd01ba4cfd036c1c521b3ed99851d7ec08c70 FirebaseInstanceID: 97ea7a5dca9afd72c79bfcdddb7a44aa1cbb42a1 FirebaseRemoteConfig: 7e11c65f0769c09bff6947997c209515058c5318 - FirebaseStorage: 29075f874c2b3cf61e5221a62c4ceefc809e5412 GoogleAppMeasurement: 621f3bc6211d5ba548debe01fafad30cf5ab6859 GoogleUtilities: 111a012f4c3a29c9e7c954c082fafd6ee3c999c0 "gRPC-C++": e76441995900ac90e9bd98644ab4733f12521edf gRPC-Core: 4028031ed2c5267cca0d846c876d8046b1ecb9b6 - GTMSessionFetcher: 32aeca0aa144acea523e1c8e053089dec2cb98ca leveldb-library: 08cba283675b7ed2d99629a4bc5fd052cd2bb6a5 nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48 Protobuf: 1eb9700044745f00181c136ef21b8ff3ad5a0fd5 RxAtomic: eacf60db868c96bfd63320e28619fe29c179656f RxCocoa: df63ebf7b9a70d6b4eeea407ed5dd4efc8979749 - RxFirebase: 90cdbd288d2cc2bd0c6d2614eb9b8715f5628427 + RxFirebaseDatabase: b7404c0e60e9ae61e702a74932f6be65bc4e0936 + RxFirebaseFirestore: 0522d63b90f1d456e8d214b2c392b930e8421ea3 + RxFirebaseRemoteConfig: ec4b8917ea04aba96be59b66272e6b00fcf50b33 RxSwift: 5976ecd04fc2fefd648827c23de5e11157faa973 -PODFILE CHECKSUM: db4e0a593103ec732f32da4bf8e8163883660ceb +PODFILE CHECKSUM: 6d900796960614fd12cfea3b7065cc31218716c9 COCOAPODS: 1.5.3 diff --git a/RxFirebase.podspec b/RxFirebase.podspec index 380f2f7..8240ea5 100644 --- a/RxFirebase.podspec +++ b/RxFirebase.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'RxFirebase' - s.version = '0.2.7' + s.version = '0.3' s.summary = 'RxSwift extensions for Firebase.' # This description is used to generate tags and improve search results. @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.description = <<-DESC RxSwift extensions for Firebase. - Including for now Database, Firestore, RemoteConfig, Storage, Functions + Including for now Database, Firestore, RemoteConfig, Storage, Functions, Auth DESC s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' @@ -29,39 +29,22 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } # s.social_media_url = 'https://twitter.com/' - s.cocoapods_version = '>= 1.4.0' - s.swift_version = '4.0' - s.ios.deployment_target = '8.0' - s.tvos.deployment_target = '10.0' - s.osx.deployment_target = '10.10' - - s.static_framework = true - s.dependency 'RxSwift', '~> 4' - s.dependency 'RxCocoa', '~> 4' - s.subspec 'Firestore' do |firestore| - firestore.source_files = 'Sources/Firestore/**/*' - firestore.dependency 'FirebaseFirestore', '~> 1' + firestore.dependency 'RxFirebaseFirestore', '~> 1' end s.subspec 'RemoteConfig' do |remote| - remote.source_files = 'Sources/RemoteConfig/**/*' - remote.dependency 'FirebaseRemoteConfig', '~> 3' + remote.dependency 'RxFirebaseRemoteConfig', '~> 3' end s.subspec 'Database' do |database| - database.source_files = 'Sources/Database/**/*' - database.dependency 'FirebaseDatabase', '~> 5' + database.dependency 'RxFirebaseDatabase', '~> 5' end s.subspec 'Storage' do |storage| - storage.source_files = 'Sources/Storage/**/*' - storage.dependency 'FirebaseStorage', '~> 3' + storage.dependency 'RxFirebaseStorage', '~> 3' end s.subspec 'Functions' do |functions| - functions.source_files = 'Sources/Functions/**/*' - functions.dependency 'FirebaseFunctions', '~> 2' + functions.dependency 'RxFirebaseFunctions', '~> 2' end s.subspec 'Auth' do |auth| - auth.source_files = 'Sources/Auth/**/*' - auth.dependency 'FirebaseAuth', '~> 5' - auth.dependency 'FirebaseCore', '~> 5.1' + auth.dependency 'RxSwiftFirebaseAuth', '~> 5' end end diff --git a/RxFirebase.xcodeproj/project.pbxproj b/RxFirebase.xcodeproj/project.pbxproj index 7800734..61d55fc 100644 --- a/RxFirebase.xcodeproj/project.pbxproj +++ b/RxFirebase.xcodeproj/project.pbxproj @@ -12,23 +12,17 @@ 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; - AE6D4B05CBAA91CD8E6ECA09 /* Pods_RxFirebase_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BF2ABCDD7184B5EE57E1330 /* Pods_RxFirebase_Tests.framework */; }; - E901C7DBD4E2AC7D39908563 /* Pods_RxFirebase_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C6A32035D43AEC5C5947CB67 /* Pods_RxFirebase_Example.framework */; }; + 89687B4350920944772DFBF5 /* Pods_RxFirebase_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C580F5CD4C129AE9AE8D4CB4 /* Pods_RxFirebase_Example.framework */; }; + 97510B32221891EE00722D52 /* RxFirebaseStorage.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 97510B31221891EE00722D52 /* RxFirebaseStorage.podspec */; }; + 97510B342218928800722D52 /* RxFirebaseFunctions.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 97510B332218928800722D52 /* RxFirebaseFunctions.podspec */; }; + 97510B36221893C000722D52 /* RxSwiftFirebaseAuth.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 97510B35221893C000722D52 /* RxSwiftFirebaseAuth.podspec */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = RxFirebase; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXFileReference section */ - 1CD820DF94FDAAC9440B2B81 /* Pods-RxFirebase_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example/Pods-RxFirebase_Example.debug.xcconfig"; sourceTree = ""; }; + 28D3B84F8236F93098CCE50D /* Pods-RxFirebase_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example/Pods-RxFirebase_Example.debug.xcconfig"; sourceTree = ""; }; + 31EFDA0E742AC894F3661AC2 /* Pods-RxFirebase_Example_macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example_macOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example_macOS/Pods-RxFirebase_Example_macOS.release.xcconfig"; sourceTree = ""; }; + 4331B45F2C53B041BD18D705 /* Pods-RxFirebase_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example/Pods-RxFirebase_Example.release.xcconfig"; sourceTree = ""; }; + 43B3387481C4516DAB44B114 /* Pods_RxFirebase_Example_macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxFirebase_Example_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD01AFB9204008FA782 /* RxFirebase_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RxFirebase_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -36,17 +30,17 @@ 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* RxFirebase_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RxFirebase_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; - 6BF2ABCDD7184B5EE57E1330 /* Pods_RxFirebase_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxFirebase_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 89BF759F7539983B6504973B /* Pods-RxFirebase_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example/Pods-RxFirebase_Example.release.xcconfig"; sourceTree = ""; }; 8D1F218AB871F5DC9A8661D7 /* RxFirebase.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = RxFirebase.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9DE96A3C1B64D32C3F85F23E /* Pods-RxFirebase_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Tests/Pods-RxFirebase_Tests.release.xcconfig"; sourceTree = ""; }; + 943F8B6AD163EF4A603AB7C4 /* Pods-RxFirebase_Example_macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Example_macOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Example_macOS/Pods-RxFirebase_Example_macOS.debug.xcconfig"; sourceTree = ""; }; + 971AAF3A220315A90023D6CD /* RxFirebaseFirestore.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RxFirebaseFirestore.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 971AAF3C220316D90023D6CD /* RxFirebaseRemoteConfig.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = RxFirebaseRemoteConfig.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 974E84332218299C00F76D10 /* RxFirebaseDatabase.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = RxFirebaseDatabase.podspec; sourceTree = ""; }; + 97510B31221891EE00722D52 /* RxFirebaseStorage.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RxFirebaseStorage.podspec; sourceTree = ""; }; + 97510B332218928800722D52 /* RxFirebaseFunctions.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RxFirebaseFunctions.podspec; sourceTree = ""; }; + 97510B35221893C000722D52 /* RxSwiftFirebaseAuth.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RxSwiftFirebaseAuth.podspec; sourceTree = ""; }; A5ECD0739495588E75E2ACBB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; B2E93982D2C0A28AF5F580D4 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; - C6A32035D43AEC5C5947CB67 /* Pods_RxFirebase_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxFirebase_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D519C2B489975AD7FFBC1420 /* Pods-RxFirebase_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxFirebase_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RxFirebase_Tests/Pods-RxFirebase_Tests.debug.xcconfig"; sourceTree = ""; }; + C580F5CD4C129AE9AE8D4CB4 /* Pods_RxFirebase_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxFirebase_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -54,50 +48,21 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - E901C7DBD4E2AC7D39908563 /* Pods_RxFirebase_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - AE6D4B05CBAA91CD8E6ECA09 /* Pods_RxFirebase_Tests.framework in Frameworks */, + 89687B4350920944772DFBF5 /* Pods_RxFirebase_Example.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 2869DEEE4CC2978638933B72 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C6A32035D43AEC5C5947CB67 /* Pods_RxFirebase_Example.framework */, - 6BF2ABCDD7184B5EE57E1330 /* Pods_RxFirebase_Tests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 3316FD9AF6F2CD2CEE4CFE74 /* Pods */ = { - isa = PBXGroup; - children = ( - 1CD820DF94FDAAC9440B2B81 /* Pods-RxFirebase_Example.debug.xcconfig */, - 89BF759F7539983B6504973B /* Pods-RxFirebase_Example.release.xcconfig */, - D519C2B489975AD7FFBC1420 /* Pods-RxFirebase_Tests.debug.xcconfig */, - 9DE96A3C1B64D32C3F85F23E /* Pods-RxFirebase_Tests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; 607FACC71AFB9204008FA782 = { isa = PBXGroup; children = ( 607FACF51AFB993E008FA782 /* Podspec Metadata */, 607FACD21AFB9204008FA782 /* Example for RxFirebase */, - 607FACE81AFB9204008FA782 /* Tests */, 607FACD11AFB9204008FA782 /* Products */, - 3316FD9AF6F2CD2CEE4CFE74 /* Pods */, - 2869DEEE4CC2978638933B72 /* Frameworks */, + D690D55366CD11A9606FDE60 /* Pods */, + A48248668B3A076324D3877C /* Frameworks */, ); sourceTree = ""; }; @@ -105,7 +70,6 @@ isa = PBXGroup; children = ( 607FACD01AFB9204008FA782 /* RxFirebase_Example.app */, - 607FACE51AFB9204008FA782 /* RxFirebase_Tests.xctest */, ); name = Products; sourceTree = ""; @@ -132,31 +96,40 @@ name = "Supporting Files"; sourceTree = ""; }; - 607FACE81AFB9204008FA782 /* Tests */ = { + 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { isa = PBXGroup; children = ( - 607FACEB1AFB9204008FA782 /* Tests.swift */, - 607FACE91AFB9204008FA782 /* Supporting Files */, + 8D1F218AB871F5DC9A8661D7 /* RxFirebase.podspec */, + 971AAF3A220315A90023D6CD /* RxFirebaseFirestore.podspec */, + 971AAF3C220316D90023D6CD /* RxFirebaseRemoteConfig.podspec */, + 974E84332218299C00F76D10 /* RxFirebaseDatabase.podspec */, + 97510B31221891EE00722D52 /* RxFirebaseStorage.podspec */, + 97510B332218928800722D52 /* RxFirebaseFunctions.podspec */, + 97510B35221893C000722D52 /* RxSwiftFirebaseAuth.podspec */, + A5ECD0739495588E75E2ACBB /* README.md */, + B2E93982D2C0A28AF5F580D4 /* LICENSE */, ); - path = Tests; + name = "Podspec Metadata"; sourceTree = ""; }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { + A48248668B3A076324D3877C /* Frameworks */ = { isa = PBXGroup; children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, + C580F5CD4C129AE9AE8D4CB4 /* Pods_RxFirebase_Example.framework */, + 43B3387481C4516DAB44B114 /* Pods_RxFirebase_Example_macOS.framework */, ); - name = "Supporting Files"; + name = Frameworks; sourceTree = ""; }; - 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { + D690D55366CD11A9606FDE60 /* Pods */ = { isa = PBXGroup; children = ( - 8D1F218AB871F5DC9A8661D7 /* RxFirebase.podspec */, - A5ECD0739495588E75E2ACBB /* README.md */, - B2E93982D2C0A28AF5F580D4 /* LICENSE */, + 28D3B84F8236F93098CCE50D /* Pods-RxFirebase_Example.debug.xcconfig */, + 4331B45F2C53B041BD18D705 /* Pods-RxFirebase_Example.release.xcconfig */, + 943F8B6AD163EF4A603AB7C4 /* Pods-RxFirebase_Example_macOS.debug.xcconfig */, + 31EFDA0E742AC894F3661AC2 /* Pods-RxFirebase_Example_macOS.release.xcconfig */, ); - name = "Podspec Metadata"; + name = Pods; sourceTree = ""; }; /* End PBXGroup section */ @@ -166,11 +139,11 @@ isa = PBXNativeTarget; buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RxFirebase_Example" */; buildPhases = ( - DC29F84E2AC3FEA6B3C2358F /* [CP] Check Pods Manifest.lock */, + 05098544E4F32B7E900094BE /* [CP] Check Pods Manifest.lock */, 607FACCC1AFB9204008FA782 /* Sources */, 607FACCD1AFB9204008FA782 /* Frameworks */, 607FACCE1AFB9204008FA782 /* Resources */, - F8E61F8D59E53C6D306BEF7A /* [CP] Embed Pods Frameworks */, + 8463BE9C1C90994FB0A39A07 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -181,32 +154,13 @@ productReference = 607FACD01AFB9204008FA782 /* RxFirebase_Example.app */; productType = "com.apple.product-type.application"; }; - 607FACE41AFB9204008FA782 /* RxFirebase_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RxFirebase_Tests" */; - buildPhases = ( - E0EC50B7CB04671B7D5EC9B2 /* [CP] Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = RxFirebase_Tests; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* RxFirebase_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 607FACC81AFB9204008FA782 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0830; + LastSwiftUpdateCheck = 1010; LastUpgradeCheck = 0930; ORGANIZATIONNAME = RxSwiftCommunity; TargetAttributes = { @@ -214,11 +168,6 @@ CreatedOnToolsVersion = 6.3.1; LastSwiftMigration = 0900; }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 0900; - TestTargetID = 607FACCF1AFB9204008FA782; - }; }; }; buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "RxFirebase" */; @@ -235,7 +184,6 @@ projectRoot = ""; targets = ( 607FACCF1AFB9204008FA782 /* RxFirebase_Example */, - 607FACE41AFB9204008FA782 /* RxFirebase_Tests */, ); }; /* End PBXProject section */ @@ -246,31 +194,31 @@ buildActionMask = 2147483647; files = ( 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, + 97510B342218928800722D52 /* RxFirebaseFunctions.podspec in Resources */, + 97510B32221891EE00722D52 /* RxFirebaseStorage.podspec in Resources */, + 97510B36221893C000722D52 /* RxSwiftFirebaseAuth.podspec in Resources */, 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - DC29F84E2AC3FEA6B3C2358F /* [CP] Check Pods Manifest.lock */ = { + 05098544E4F32B7E900094BE /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( "${PODS_PODFILE_DIR_PATH}/Podfile.lock", "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); outputPaths = ( "$(DERIVED_FILE_DIR)/Pods-RxFirebase_Example-checkManifestLockResult.txt", ); @@ -279,55 +227,39 @@ 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; }; - E0EC50B7CB04671B7D5EC9B2 /* [CP] Check Pods Manifest.lock */ = { + 8463BE9C1C90994FB0A39A07 /* [CP] Embed Pods Frameworks */ = { 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-RxFirebase_Tests-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; - }; - F8E61F8D59E53C6D306BEF7A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( + inputFileListPaths = ( ); inputPaths = ( "${SRCROOT}/Pods/Target Support Files/Pods-RxFirebase_Example/Pods-RxFirebase_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities-00567490/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/RxAtomic-iOS/RxAtomic.framework", + "${BUILT_PRODUCTS_DIR}/RxCocoa-iOS/RxCocoa.framework", + "${BUILT_PRODUCTS_DIR}/RxSwift-iOS/RxSwift.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library-iOS/leveldb.framework", "${BUILT_PRODUCTS_DIR}/BoringSSL-GRPC/openssl_grpc.framework", - "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", - "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", - "${BUILT_PRODUCTS_DIR}/RxAtomic/RxAtomic.framework", - "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework", - "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.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"; + outputFileListPaths = ( + ); outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/openssl_grpc.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxAtomic.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/openssl_grpc.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.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; @@ -347,24 +279,8 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* RxFirebase_Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin PBXVariantGroup section */ 607FACD91AFB9204008FA782 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -492,7 +408,7 @@ }; 607FACF01AFB9204008FA782 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1CD820DF94FDAAC9440B2B81 /* Pods-RxFirebase_Example.debug.xcconfig */; + baseConfigurationReference = 28D3B84F8236F93098CCE50D /* Pods-RxFirebase_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Example/Info.plist; @@ -507,7 +423,7 @@ }; 607FACF11AFB9204008FA782 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 89BF759F7539983B6504973B /* Pods-RxFirebase_Example.release.xcconfig */; + baseConfigurationReference = 4331B45F2C53B041BD18D705 /* Pods-RxFirebase_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = Example/Info.plist; @@ -520,44 +436,6 @@ }; name = Release; }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D519C2B489975AD7FFBC1420 /* Pods-RxFirebase_Tests.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9DE96A3C1B64D32C3F85F23E /* Pods-RxFirebase_Tests.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -579,15 +457,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "RxFirebase_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 607FACC81AFB9204008FA782 /* Project object */; diff --git a/RxFirebase.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/RxFirebase.xcodeproj/xcshareddata/xcschemes/Example.xcscheme index 1bbd9c4..82a205c 100644 --- a/RxFirebase.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +++ b/RxFirebase.xcodeproj/xcshareddata/xcschemes/Example.xcscheme @@ -20,20 +20,6 @@ ReferencedContainer = "container:RxFirebase.xcodeproj"> - - - - - - - - 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.10' + s.tvos.deployment_target = '10.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseDatabase', '~> 5' + + s.source_files = 'Sources/Database/**/*' +end diff --git a/RxFirebaseFirestore.podspec b/RxFirebaseFirestore.podspec new file mode 100644 index 0000000..76b6e2c --- /dev/null +++ b/RxFirebaseFirestore.podspec @@ -0,0 +1,32 @@ +Pod::Spec.new do |s| + s.name = 'RxFirebaseFirestore' + s.version = '0.3' + s.summary = 'RxSwift extensions for FirebaseFirestore.' + + # This description is used to generate tags and improve search results. + # * Think: What does it do? Why did you write it? What is the focus? + # * Try to keep it short, snappy and to the point. + # * Write the description between the DESC delimiters below. + # * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC + RxSwift extensions for FirebaseFirestore. + DESC + + s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseFirestore', '~> 1' + + s.source_files = 'Sources/Firestore/**/*' +end diff --git a/RxFirebaseFunctions.podspec b/RxFirebaseFunctions.podspec new file mode 100644 index 0000000..05718ca --- /dev/null +++ b/RxFirebaseFunctions.podspec @@ -0,0 +1,32 @@ +Pod::Spec.new do |s| + s.name = 'RxFirebaseFunctions' + s.version = '0.3' + s.summary = 'RxSwift extensions for FirebaseFunctions.' + + # This description is used to generate tags and improve search results. + # * Think: What does it do? Why did you write it? What is the focus? + # * Try to keep it short, snappy and to the point. + # * Write the description between the DESC delimiters below. + # * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC + RxSwift extensions for FirebaseFunctions. + DESC + + s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseFunctions', '~> 2' + + s.source_files = 'Sources/Functions/**/*' +end diff --git a/RxFirebaseRemoteConfig.podspec b/RxFirebaseRemoteConfig.podspec new file mode 100644 index 0000000..ee06462 --- /dev/null +++ b/RxFirebaseRemoteConfig.podspec @@ -0,0 +1,32 @@ +Pod::Spec.new do |s| + s.name = 'RxFirebaseRemoteConfig' + s.version = '0.3' + s.summary = 'RxSwift extensions for FirebaseFirestore.' + + # This description is used to generate tags and improve search results. + # * Think: What does it do? Why did you write it? What is the focus? + # * Try to keep it short, snappy and to the point. + # * Write the description between the DESC delimiters below. + # * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC + RxSwift extensions for RxFirebaseRemoteConfig. + DESC + + s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseRemoteConfig', '~> 3' + + s.source_files = 'Sources/RemoteConfig/**/*' +end diff --git a/RxFirebaseStorage.podspec b/RxFirebaseStorage.podspec new file mode 100644 index 0000000..05b9e48 --- /dev/null +++ b/RxFirebaseStorage.podspec @@ -0,0 +1,34 @@ +Pod::Spec.new do |s| + s.name = 'RxFirebaseStorage' + s.version = '0.3' + s.summary = 'RxSwift extensions for FirebaseStorage.' + + # This description is used to generate tags and improve search results. + # * Think: What does it do? Why did you write it? What is the focus? + # * Try to keep it short, snappy and to the point. + # * Write the description between the DESC delimiters below. + # * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC + RxSwift extensions for FirebaseStorage. + DESC + + s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.10' + s.tvos.deployment_target = '10.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseStorage', '~> 3' + + s.source_files = 'Sources/Storage/**/*' +end diff --git a/RxSwiftFirebaseAuth.podspec b/RxSwiftFirebaseAuth.podspec new file mode 100644 index 0000000..8cb39c2 --- /dev/null +++ b/RxSwiftFirebaseAuth.podspec @@ -0,0 +1,35 @@ +Pod::Spec.new do |s| + s.name = 'RxSwiftFirebaseAuth' + s.version = '0.3' + s.summary = 'RxSwift extensions for FirebaseAuth.' + + # This description is used to generate tags and improve search results. + # * Think: What does it do? Why did you write it? What is the focus? + # * Try to keep it short, snappy and to the point. + # * Write the description between the DESC delimiters below. + # * Finally, don't worry about the indent, CocoaPods strips it! + + s.description = <<-DESC + RxSwift extensions for FirebaseAuth. + DESC + + s.homepage = 'https://github.com/RxSwiftCommunity/RxFirebase' + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Arnaud Dorgans' => 'arnaud.dorgans@gmail.com' } + s.source = { :git => 'https://github.com/RxSwiftCommunity/RxFirebase.git', :tag => s.version.to_s } + # s.social_media_url = 'https://twitter.com/' + + s.cocoapods_version = '>= 1.4.0' + s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.10' + s.tvos.deployment_target = '10.0' + + s.static_framework = true + s.dependency 'RxSwift', '~> 4' + s.dependency 'RxCocoa', '~> 4' + s.dependency 'FirebaseAuth', '~> 5' + s.dependency 'FirebaseCore', '~> 5' + + s.source_files = 'Sources/Auth/**/*' +end diff --git a/Sources/Storage/FIRStorageObservableTask+Rx.swift b/Sources/Storage/FIRStorageObservableTask+Rx.swift index 76dbb69..812ad92 100644 --- a/Sources/Storage/FIRStorageObservableTask+Rx.swift +++ b/Sources/Storage/FIRStorageObservableTask+Rx.swift @@ -5,7 +5,6 @@ // Created by Arnaud Dorgans on 19/07/2018. // -import UIKit import RxSwift import FirebaseStorage diff --git a/Tests/Info.plist b/Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Tests/Tests.swift b/Tests/Tests.swift deleted file mode 100644 index dbebd6e..0000000 --- a/Tests/Tests.swift +++ /dev/null @@ -1,28 +0,0 @@ -import XCTest -import RxFirebase - -class Tests: XCTestCase { - - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // This is an example of a functional test case. - XCTAssert(true, "Pass") - } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measure() { - // Put the code you want to measure the time of here. - } - } - -}