1# Copyright (c) Meta Platforms, Inc. and affiliates.
2#
3# This source code is licensed under the MIT license found in the
4# LICENSE file in the root directory of this source tree.
5
6require "json"
7
8package = JSON.parse(File.read(File.join(__dir__, "..", "..", "..", "package.json")))
9version = package['version']
10
11
12
13Pod::Spec.new do |s|
14  s.name                   = "ABI49_0_0React-debug"
15  s.version                = version
16  s.summary                = "-"  # TODO
17  s.homepage               = "https://reactnative.dev/"
18  s.license                = package["license"]
19  s.author                 = "Meta Platforms, Inc. and its affiliates"
20  s.platforms              = { :ios => min_ios_version_supported }
21  s.source                 = { :path => "." }
22  s.source_files           = "**/*.{cpp,h}"
23  s.header_dir             = "ABI49_0_0react/debug"
24  s.pod_target_xcconfig    = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" }
25
26  if ENV['USE_FRAMEWORKS']
27    s.module_name            = "ABI49_0_0React_debug"
28    s.header_mappings_dir  = File.absolute_path("../..")
29  end
30end
31