@@ -100,7 +100,7 @@ private protocol _FileWatcher {
100100 func stop( )
101101}
102102
103- #if os(OpenBSD)
103+ #if os(OpenBSD) || os(iOS)
104104extension FSWatch . _WatcherDelegate : NoOpWatcherDelegate { }
105105extension NoOpWatcher : _FileWatcher { }
106106#elseif os(Windows)
@@ -118,7 +118,7 @@ extension FSEventStream: _FileWatcher{}
118118
119119// MARK:- inotify
120120
121- #if os(OpenBSD)
121+ #if os(OpenBSD) || os(iOS)
122122
123123public protocol NoOpWatcherDelegate {
124124 func pathsDidReceiveEvent( _ paths: [ AbsolutePath ] )
@@ -404,10 +404,10 @@ public final class Inotify {
404404 private var wds : [ Int32 : AbsolutePath ] = [ : ]
405405
406406 /// The queue on which we read the events.
407- private let readQueue = DispatchQueue ( label: " org.swift.swiftpm. \( Inotify . self) .read) " )
407+ private let readQueue = DispatchQueue ( label: " org.swift.swiftpm. \( Inotify . self) .read " )
408408
409409 /// Callback queue for the delegate.
410- private let callbacksQueue = DispatchQueue ( label: " org.swift.swiftpm. \( Inotify . self) .callback) " )
410+ private let callbacksQueue = DispatchQueue ( label: " org.swift.swiftpm. \( Inotify . self) .callback " )
411411
412412 /// Condition for handling event reporting.
413413 private var reportCondition = Condition ( )
@@ -796,7 +796,7 @@ public final class FSEventStream {
796796 private var runLoop : CFRunLoop ?
797797
798798 /// Callback queue for the delegate.
799- fileprivate let callbacksQueue = DispatchQueue ( label: " org.swift.swiftpm. \( FSEventStream . self) .callback) " )
799+ fileprivate let callbacksQueue = DispatchQueue ( label: " org.swift.swiftpm. \( FSEventStream . self) .callback " )
800800
801801 public init (
802802 paths: [ AbsolutePath ] ,
0 commit comments