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                   = "ABI48_0_0React-RCTText"
15  s.version                = version
16  s.summary                = "A React component for displaying text."
17  s.homepage               = "https://reactnative.dev/"
18  s.documentation_url      = "https://reactnative.dev/docs/text"
19  s.license                = package["license"]
20  s.author                 = "Facebook, Inc. and its affiliates"
21  s.platforms              = { :ios => "12.4" }
22  s.source                 = { :path => "." }
23  s.source_files           = "**/*.{h,m}"
24  s.preserve_paths         = "package.json", "LICENSE", "LICENSE-docs"
25  s.header_dir             = "ABI48_0_0RCTText"
26
27  s.dependency "ABI48_0_0React-Core/RCTTextHeaders", version
28end
29