diff --git a/FileProvider.podspec b/FileProvider.podspec index cccfb9b..ace9359 100644 --- a/FileProvider.podspec +++ b/FileProvider.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "FileProvider" - s.version = "0.8.2" + s.version = "0.8.3" s.summary = "FileManager replacement for Local and Remote (WebDAV/Dropbox/SMB2) files on iOS and macOS." # This description is used to generate tags and improve search results. diff --git a/FileProvider.xcodeproj/project.pbxproj b/FileProvider.xcodeproj/project.pbxproj index 62c0db3..0dd041a 100644 --- a/FileProvider.xcodeproj/project.pbxproj +++ b/FileProvider.xcodeproj/project.pbxproj @@ -513,7 +513,7 @@ 799396601D48B7BF00086753 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BUNDLE_VERSION_STRING = 0.7.0; + BUNDLE_VERSION_STRING = 0.8.3; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -543,7 +543,7 @@ 799396611D48B7BF00086753 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BUNDLE_VERSION_STRING = 0.7.0; + BUNDLE_VERSION_STRING = 0.8.3; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_EMPTY_BODY = YES; diff --git a/Sources/FileObject.swift b/Sources/FileObject.swift index 7cb7b14..4706318 100644 --- a/Sources/FileObject.swift +++ b/Sources/FileObject.swift @@ -59,7 +59,7 @@ open class FileObject { return allValues[URLResourceKey.fileSizeKey.rawValue] as? Int64 ?? -1 } set { - allValues[URLResourceKey.fileSizeKey.rawValue] = Int(exactly: newValue) ?? Int.max + allValues[URLResourceKey.fileSizeKey.rawValue] = newValue } }