diff --git a/FirebaseFirestoreSwift.podspec b/FirebaseFirestoreSwift.podspec index 684307065f7..048d8c7e3ab 100644 --- a/FirebaseFirestoreSwift.podspec +++ b/FirebaseFirestoreSwift.podspec @@ -23,6 +23,8 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling, s.swift_version = '4.0' s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.11' + s.tvos.deployment_target = '10.0' s.cocoapods_version = '>= 1.4.0' s.static_framework = true diff --git a/Firestore/Example/Firestore.xcodeproj/project.pbxproj b/Firestore/Example/Firestore.xcodeproj/project.pbxproj index 638c0dd74ea..ed77561d395 100644 --- a/Firestore/Example/Firestore.xcodeproj/project.pbxproj +++ b/Firestore/Example/Firestore.xcodeproj/project.pbxproj @@ -88,6 +88,7 @@ 198F193BD9484E49375A7BE7 /* FSTHelpers.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5492E03A2021401F00B64F25 /* FSTHelpers.mm */; }; 1C19D796DB6715368407387A /* annotations.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 618BBE9520B89AAC00B5BCE7 /* annotations.pb.cc */; }; 1C7254742A9F6F7042C9D78E /* FSTEventAccumulator.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5492E0392021401F00B64F25 /* FSTEventAccumulator.mm */; }; + 1C79AE3FBFC91800E30D092C /* CodableIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C932B22C1642C00CA8C2D /* CodableIntegrationTests.swift */; }; 1CAA9012B25F975D445D5978 /* strerror_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = 358C3B5FE573B1D60A4F7592 /* strerror_test.cc */; }; 1CC9BABDD52B2A1E37E2698D /* mutation_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = C8522DE226C467C54E6788D8 /* mutation_test.cc */; }; 1DFAEEE901B4E517A4CB9CAD /* FSTMemoryMutationQueueTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5492E0972021552C00B64F25 /* FSTMemoryMutationQueueTests.mm */; }; @@ -582,6 +583,7 @@ CD78EEAA1CD36BE691CA3427 /* hashing_test_apple.mm in Sources */ = {isa = PBXBuildFile; fileRef = B69CF3F02227386500B281C8 /* hashing_test_apple.mm */; }; CE222EAE5BD7D4CDEA8528BF /* objc_class_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = B3CC6B2ACFDC873F06AE9E3F /* objc_class_test.cc */; }; CEDDC6DB782989587D0139B2 /* datastore_test.mm in Sources */ = {isa = PBXBuildFile; fileRef = 546854A820A36867004BDBD5 /* datastore_test.mm */; }; + CF5DE1ED21DD0A9783383A35 /* CodableIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 124C932B22C1642C00CA8C2D /* CodableIntegrationTests.swift */; }; D063F56AC89E074F9AB05DD3 /* FSTRemoteDocumentCacheTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5492E09C2021552D00B64F25 /* FSTRemoteDocumentCacheTests.mm */; }; D22B96C19A0F3DE998D4320C /* delayed_constructor_test.cc in Sources */ = {isa = PBXBuildFile; fileRef = D0A6E9136804A41CEC9D55D4 /* delayed_constructor_test.cc */; }; D44DA2F61B854E8771E4E446 /* memory_index_manager_test.mm in Sources */ = {isa = PBXBuildFile; fileRef = 73F1F7392210F3D800E1F692 /* memory_index_manager_test.mm */; }; @@ -3366,6 +3368,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 1C79AE3FBFC91800E30D092C /* CodableIntegrationTests.swift in Sources */, 95ED06D2B0078D3CDB821B68 /* FIRArrayTransformTests.mm in Sources */, EC160876D8A42166440E0B53 /* FIRCursorTests.mm in Sources */, EA38690795FBAA182A9AA63E /* FIRDatabaseTests.mm in Sources */, @@ -3396,6 +3399,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + CF5DE1ED21DD0A9783383A35 /* CodableIntegrationTests.swift in Sources */, 660E99DEDA0A6FC1CCB200F9 /* FIRArrayTransformTests.mm in Sources */, A55266E6C986251D283CE948 /* FIRCursorTests.mm in Sources */, 7DD67E9621C52B790E844B16 /* FIRDatabaseTests.mm in Sources */, diff --git a/Firestore/Example/Podfile b/Firestore/Example/Podfile index bbd09d3fa58..78c896f71fe 100644 --- a/Firestore/Example/Podfile +++ b/Firestore/Example/Podfile @@ -93,6 +93,7 @@ target 'Firestore_Example_macOS' do target 'Firestore_IntegrationTests_macOS' do inherit! :search_paths + pod 'FirebaseFirestoreSwift', :path => '../../' pod 'GoogleTest', :podspec => 'GoogleTest.podspec' pod 'OCMock' @@ -123,6 +124,7 @@ target 'Firestore_Example_tvOS' do target 'Firestore_IntegrationTests_tvOS' do inherit! :search_paths + pod 'FirebaseFirestoreSwift', :path => '../../' pod 'GoogleTest', :podspec => 'GoogleTest.podspec' pod 'OCMock' diff --git a/scripts/sync_project.rb b/scripts/sync_project.rb index d4efffc1b0c..01710141cc6 100755 --- a/scripts/sync_project.rb +++ b/scripts/sync_project.rb @@ -183,6 +183,7 @@ def sync_firestore(test_only) 'Firestore/Example/Tests/Util/FSTIntegrationTestCase.mm', 'Firestore/Example/Tests/Util/XCTestCase+Await.mm', 'Firestore/Example/Tests/en.lproj/InfoPlist.strings', + 'Firestore/Swift/Tests/Integration/**', 'Firestore/core/test/firebase/firestore/testutil/**', ] t.xcconfig = xcconfig_objc + xcconfig_swift @@ -318,7 +319,7 @@ def each_target_file(target) class Syncer HEADERS = %w{.h} - SOURCES = %w{.c .cc .m .mm} + SOURCES = %w{.c .cc .m .mm .swift} def initialize(project, root_dir) @project = project