getCocoaPodsCachePath static method

String? getCocoaPodsCachePath()

Gets the CocoaPods cache directory (macOS only).

Implementation

static String? getCocoaPodsCachePath() {
  if (!Platform.isMacOS) return null;

  final home = PathUtils.getHomeDirectory();
  if (home.isEmpty) return null;

  return PathUtils.resolveAbsolute(
      path.join(home, 'Library', 'Caches', 'CocoaPods'));
}