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 11source = { :git => 'https://github.com/facebook/ABI48_0_0react-native.git' } 12if version == '1000.0.0' 13 # This is an unpublished version, use the latest commit hash of the ABI48_0_0react-native repo, which we’re presumably in. 14 source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1") 15else 16 source[:tag] = "v#{version}" 17end 18 19Pod::Spec.new do |s| 20 s.name = "ABI48_0_0React" 21 s.version = version 22 s.summary = package["description"] 23 s.description = <<-DESC 24 React Native apps are built using the React JS 25 framework, and render directly to native UIKit 26 elements using a fully asynchronous architecture. 27 There is no browser and no HTML. We have picked what 28 we think is the best set of features from these and 29 other technologies to build what we hope to become 30 the best product development framework available, 31 with an emphasis on iteration speed, developer 32 delight, continuity of technology, and absolutely 33 beautiful and fast products with no compromises in 34 quality or capability. 35 DESC 36 s.homepage = "https://reactnative.dev/" 37 s.license = package["license"] 38 s.author = "Facebook, Inc. and its affiliates" 39 s.platforms = { :ios => "12.4" } 40 s.source = { :path => "." } 41 s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" 42 s.cocoapods_version = ">= 1.10.1" 43 44 s.dependency "ABI48_0_0React-Core", version 45 s.dependency "ABI48_0_0React-Core/DevSupport", version 46 s.dependency "ABI48_0_0React-Core/RCTWebSocket", version 47 s.dependency "ABI48_0_0React-RCTActionSheet", version 48 s.dependency "ABI48_0_0React-RCTAnimation", version 49 s.dependency "ABI48_0_0React-RCTBlob", version 50 s.dependency "ABI48_0_0React-RCTImage", version 51 s.dependency "ABI48_0_0React-RCTLinking", version 52 s.dependency "ABI48_0_0React-RCTNetwork", version 53 s.dependency "ABI48_0_0React-RCTSettings", version 54 s.dependency "ABI48_0_0React-RCTText", version 55 s.dependency "ABI48_0_0React-RCTVibration", version 56end 57