mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: For better cocoapods compatibility, refactored TM podspec to be a subspec of ReactCommon, then use `<ReactCommon/` header prefix for all TM files. Relevant efforts: https://github.com/facebook/react-native/pull/25619 https://github.com/facebook/react-native/pull/25393 Reviewed By: hramos Differential Revision: D16231697 fbshipit-source-id: 38d3418b19978ff54aa0c61b064ac45ac0e1c36c
44 lines
1007 B
Ruby
44 lines
1007 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 '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
|