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 13folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' 14folly_version = '2021.07.22.00' 15 16Pod::Spec.new do |s| 17 s.name = "ABI48_0_0React-RCTAnimation" 18 s.version = version 19 s.summary = "A native driver for the Animated API." 20 s.homepage = "https://reactnative.dev/" 21 s.license = package["license"] 22 s.author = "Facebook, Inc. and its affiliates" 23 s.platforms = { :ios => "12.4" } 24 s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' 25 s.source = { :path => "." } 26 s.source_files = "**/*.{h,m,mm}" 27 s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" 28 s.header_dir = "ABI48_0_0RCTAnimation" 29 s.pod_target_xcconfig = { 30 "USE_HEADERMAP" => "YES", 31 "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", 32 "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\"" 33 } 34 35 s.dependency "RCT-Folly", folly_version 36 s.dependency "ABI48_0_0React-Codegen", version 37 s.dependency "ABI48_0_0RCTTypeSafety", version 38 s.dependency "ABI48_0_0ReactCommon/turbomodule/core", version 39 s.dependency "ABI48_0_0React-jsi", version 40 s.dependency "ABI48_0_0React-Core/RCTAnimationHeaders", version 41end 42