Replace the deprecated CoreServices UTI calls
(UTTypeCreatePreferredIdentifierForTag / UTTypeCopyPreferredTagWithClass)
in GCDWebServerGetMimeTypeForExtension with the modern
[UTType typeWithFilenameExtension:].preferredMIMEType, removing the
-Wdeprecated-declarations pragma. Behavior is unchanged: known
extensions map to the same MIME type, unknown ones fall back to the
default.
The UniformTypeIdentifiers framework (macOS 11+ / iOS 14+ / tvOS 14+,
within the project's deployment targets) is now linked in all three
build systems: Xcode (OTHER_LDFLAGS), CocoaPods (Core subspec
frameworks), and SwiftPM (linkedFramework).
Verified: Run-Tests.sh, swift build, and pod lib lint all pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Remove `-I$(SDKROOT)/usr/include/libxml2` from the WebDAV subspec: the
modern SDK ships a libxml2 module map that resolves <libxml/parser.h>
with no extra header search path (verified via pod lib lint).
- Remove all `requires_arc = true` declarations: ARC is the CocoaPods
default and the sources already enforce it with #error guards. They
were leftovers from when GCDWebServer <= 3.1 supported MRC.
- Remove the leftover pod trunk template comment block.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>