Files
react-native/RNTester/Podfile
T
Ramanpreet Nara ff3b839e9a Make RCTTestModule TurboModule-compatible
Reviewed By: fkgozali

Differential Revision: D18545790

fbshipit-source-id: 035df69671ec44d13b79b014bfe90f5af9f43e58
2020-02-01 15:19:40 -08:00

46 lines
1.0 KiB
Ruby

platform :ios, '10.0'
require_relative '../scripts/autolink-ios'
if ENV['USE_FRAMEWORKS'] == '1'
puts "Installing pods with use_frameworks!"
use_frameworks!
end
def pods()
project 'RNTesterPods.xcodeproj'
# Enable TurboModule
use_react_native!(path: "..")
pod 'ReactCommon/turbomodule/samples', :path => '../ReactCommon'
# Additional Pods which aren't included in the default Podfile
pod 'React-ART', :path => '../Libraries/ART'
pod 'React-RCTPushNotification', :path => '../Libraries/PushNotificationIOS'
# Additional Pods which are classed as unstable
#
# To use fabric: add `fabric_enabled` option to the use_react_native method above, like below
# use_react_native!(path: "..", fabric_enabled: true)
end
target 'RNTester' do
pods()
end
target 'RNTesterUnitTests' do
pods()
pod 'React-RCTTest', :path => "./RCTTest"
end
target 'RNTesterIntegrationTests' do
pods()
pod 'React-RCTTest', :path => "./RCTTest"
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts target.name
end
end