mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7dc0d4bfee
Summary: TurboModule is now included by default, so no need to have a toggle in autolink script anymore. Reviewed By: mdvacca Differential Revision: D16173820 fbshipit-source-id: 215ce7d188ce526b5a71df881bdc992c1ef34b34
44 lines
1021 B
Ruby
44 lines
1021 B
Ruby
platform :ios, '9.0'
|
|
|
|
require_relative '../scripts/autolink-ios'
|
|
|
|
def pods()
|
|
# Uncomment for Swift
|
|
# use_frameworks!
|
|
|
|
project 'RNTesterPods.xcodeproj'
|
|
|
|
# Enable TurboModule
|
|
use_react_native!(path: "..")
|
|
pod 'React-turbomodule-samples', :path => '../ReactCommon/turbomodule/samples'
|
|
|
|
# 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
|