macosPodTargetXcconfig top-level property

String get macosPodTargetXcconfig

The pod_target_xcconfig block for macOS podspecs.

Uses Flutter's macOS .symlinks path (Flutter/ephemeral) instead of the iOS CocoaPods root path.

Implementation

String get macosPodTargetXcconfig =>
    """s.pod_target_xcconfig = {
    'DEFINES_MODULE' => 'YES',
    'CLANG_CXX_LANGUAGE_STANDARD' => '${BuildVersions.podCxxStandard}',
    'CLANG_CXX_LIBRARY' => 'libc++',
    'HEADER_SEARCH_PATHS' => '\$(inherited) "\${PODS_ROOT}/../Flutter/ephemeral/.symlinks/plugins/nitro/src/native" "\${PODS_TARGET_SRCROOT}/../src" "\${PODS_TARGET_SRCROOT}/../lib/src/generated/cpp"'
  }""";