mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Summary: Simplifies the code anyone on iOS using RN has _to see_. In this case, React Native knows that everyone probably wants all these imports (unless they're using dev mode) and so we can auto-import the pod specs for a user from inside the lib. Basically auto-link for the React side. [iOS] [Added] - Adds a ruby function which imports the Pods for RN, so that users only have to include this function and it can change per RN version. Pull Request resolved: https://github.com/facebook/react-native/pull/24555 Differential Revision: D15044780 Pulled By: cpojer fbshipit-source-id: c3702a52104706def51da6f1d11ab966d57d1edb
29 lines
1.0 KiB
Ruby
29 lines
1.0 KiB
Ruby
platform :ios, '9.0'
|
|
|
|
require_relative '../scripts/autolink-ios'
|
|
|
|
target 'RNTester' do
|
|
# Uncomment for Swift
|
|
# use_frameworks!
|
|
|
|
project 'RNTesterPods.xcodeproj'
|
|
use_react_native!(path: "..")
|
|
|
|
# Additional Pods which aren't included in the default Podfile
|
|
pod 'React-RCTCameraRoll', :path => '../Libraries/CameraRoll'
|
|
pod 'React-ART', :path => '../Libraries/ART'
|
|
pod 'React-RCTPushNotification', :path => '../Libraries/PushNotificationIOS'
|
|
|
|
# Additional Pods which are classed as unstable
|
|
#
|
|
# Fabric Pods, uncomment these to enable in RNTester
|
|
# pod 'React-Fabric', :path => '../ReactCommon'
|
|
# pod 'React-graphics', :path => '../ReactCommon/fabric/graphics'
|
|
# pod 'React-jsi/Fabric', :path => '../ReactCommon/jsi'
|
|
# pod 'React-RCTFabric', :path => '../React'
|
|
# pod 'Folly/Fabric', :podspec => '../third-party-podspecs/Folly.podspec'
|
|
|
|
pod 'React-turbomodule-core', :path => '../ReactCommon/turbomodule/core'
|
|
pod 'React-turbomodule-samples', :path => '../ReactCommon/turbomodule/samples'
|
|
end
|