diff --git a/Package.swift b/Package.swift index 18641b4..89a76b0 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,8 @@ import PackageDescription let package = Package( name: "FileMonitor", platforms: [ - .macOS(.v13) + .macOS(.v13), + .iOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. diff --git a/Sources/FileMonitor/FileMonitor.swift b/Sources/FileMonitor/FileMonitor.swift index 65f9c11..867fadd 100644 --- a/Sources/FileMonitor/FileMonitor.swift +++ b/Sources/FileMonitor/FileMonitor.swift @@ -50,7 +50,7 @@ public struct FileMonitor: WatcherDelegate { #elseif os(macOS) watcher = try MacosWatcher(directory: url) #else - throw FileMonitorErrors.unsupported_os() + throw FileMonitorErrors.unsupported_os #endif watcher.delegate = self