Repository navigation
DirectoryWatcher is now compiled on every Darwin platform (#if canImport(Darwin)), where it was macOS only (#98). A package built for iOS can use the type instead of carrying a stand-in. No source line changes but the gate and the comment above it, and nothing changes on macOS.
A minor release because the type is new public API surface on iOS, visionOS and tvOS.
Checked
- iOS Simulator SDK:
xcodebuild -scheme OCCTSwiftIO -destination 'generic/platform=iOS Simulator' buildsucceeds and the library's object file holds the type's symbols. The test target builds for the same SDK withARCHS=arm64 ONLY_ACTIVE_ARCH=YES; without that setting it fails at the x86_64 link, on OCCT's own symbols. - macOS: the
testsandcode-styleruns on the merged commit passed.
Not checked
- Nothing ran on iOS: no simulator runtime was installed, so that a watcher on an app's sandboxed container reports a change is an expectation from the API's availability, not a result.
- tvOS and visionOS were not compiled. The build stops at OCCT's xcframework, which has no slice for their Simulator SDKs, so the package does not build there with or without this release.
- The descriptor-leak test lists
/dev/fdand stays macOS only; whether an app can list/dev/fdwas not checked.
Full entry: docs/CHANGELOG.md.