Issue 50. Changed CSV file directory
MODIFY
BT-Tracking/Services/CSV/CSVWriter.swift
BT-Tracking/Services/CSV/CSVWriter.swift
@@ -34,8 +34,7 @@ final class CSVMaker: CSVMakering {
private(set) var fromDate: Date?
init?(fromDate: Date?) {
- guard let documents = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first else { return nil }
- self.fileURL = URL(fileURLWithPath: documents).appendingPathComponent("db.csv")
+ self.fileURL = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("db.csv")
self.fromDate = fromDate
}

Issue 50. Changed CSV file directory