macosPodTargetXcconfig top-level constant

String const 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

const String macosPodTargetXcconfig = r"""s.pod_target_xcconfig = {
    'DEFINES_MODULE' => 'YES',
    'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
    '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"'
  }""";