File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Sources/FirebaseFirestore Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ let SwiftFirebase =
208208 ] ) ,
209209 . executableTarget( name: " FireBaseUI " ,
210210 dependencies: [
211+ " firebase " ,
211212 " FirebaseCore " ,
212213 " FirebaseAuth " ,
213214 " FirebaseFirestore " ,
@@ -219,6 +220,7 @@ let SwiftFirebase =
219220 cxxSettings: [
220221 . define( " INTERNAL_EXPERIMENTAL " ) ,
221222 . define( " _CRT_SECURE_NO_WARNINGS " , . when( platforms: [ . windows] ) ) ,
223+ . headerSearchPath( " ../../third_party/firebase-development/usr/include " ) ,
222224 ] ,
223225 swiftSettings: [
224226 . interoperabilityMode( . Cxx) ,
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ extension Timestamp: Codable {
4949
5050extension Date {
5151 internal func firestoreTimestamp( ) -> Timestamp {
52- var secondsDouble : Double = 0.0
53- var fraction = modf ( timeIntervalSince1970, & secondsDouble)
52+ var ( secondsDouble, fraction) = modf ( timeIntervalSince1970)
5453
5554 // Re-implementation of https://github.com/firebase/firebase-ios-sdk/blob/master/Firestore/Source/API/FIRTimestamp.m#L50
5655 if ( fraction < 0 ) {
You can’t perform that action at this time.
0 commit comments