Reply to How to get Darwin user cache dir via swift? It's done like this: let cachesDirectory = Filemanager.default.urls(for: .cachesDirectory, in: .userDomainMask).first let darwinUserCacheDir = cachesDirectory!.appendingPathComponent("com.apple.darwin.user-cache", isDirectory: true).absoluteString App & System Services General May ’24