this repo has no description
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
6version = "0.81.4"
7source = { :git => 'https://github.com/facebook/react-native.git' }
8if version == '1000.0.0'
9 # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
10 source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
11else
12 source[:tag] = "v#{version}"
13end
14
15Pod::Spec.new do |s|
16 s.name = "ReactAppDependencyProvider"
17 s.version = version
18 s.summary = "The third party dependency provider for the app"
19 s.homepage = "https://reactnative.dev/"
20 s.documentation_url = "https://reactnative.dev/"
21 s.license = "MIT"
22 s.author = "Meta Platforms, Inc. and its affiliates"
23 s.platforms = min_supported_versions
24 s.source = source
25 s.source_files = "**/RCTAppDependencyProvider.{h,mm}"
26
27 # This guard prevent to install the dependencies when we run `pod install` in the old architecture.
28 s.pod_target_xcconfig = {
29 "CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
30 "DEFINES_MODULE" => "YES"
31 }
32
33 s.dependency "ReactCodegen"
34end