2020-05-08 16:37:49 +00:00
|
|
|
platform :ios, '11.0'
|
2020-07-20 16:35:17 +00:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2019-08-07 13:51:34 +00:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
2019-06-21 16:39:20 +00:00
|
|
|
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
|
|
|
|
|
2020-07-20 16:35:17 +00:00
|
|
|
def all_pods
|
2021-10-01 20:35:13 +00:00
|
|
|
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi', :modular_headers => true
|
|
|
|
pod 'simdjson', path: '../node_modules/@nozbe/simdjson'
|
2022-03-14 13:59:13 +00:00
|
|
|
pod 'ReactNativeUiLib', :path => '../node_modules/react-native-ui-lib/lib'
|
2020-07-20 16:35:17 +00:00
|
|
|
config = use_native_modules!
|
|
|
|
use_unimodules!
|
2021-07-21 15:50:39 +00:00
|
|
|
use_react_native!(
|
|
|
|
:path => config[:reactNativePath],
|
|
|
|
:hermes_enabled => true
|
|
|
|
)
|
|
|
|
use_flipper!()
|
2020-05-08 16:37:49 +00:00
|
|
|
end
|
|
|
|
|
2021-01-05 16:23:20 +00:00
|
|
|
abstract_target 'defaults' do
|
2020-11-03 14:18:15 +00:00
|
|
|
# force use our own JitsiMeetSDK
|
|
|
|
pod 'JitsiMeetSDK', :git => 'https://github.com/RocketChat/jitsi-meet-ios-sdk-releases.git'
|
|
|
|
|
2020-07-20 16:35:17 +00:00
|
|
|
all_pods
|
2021-01-05 16:23:20 +00:00
|
|
|
|
|
|
|
target 'RocketChatRN' # Experimental app
|
|
|
|
target 'Rocket.Chat' # Official app
|
2021-08-20 19:54:59 +00:00
|
|
|
target 'ShareRocketChatRN'
|
|
|
|
target 'NotificationService'
|
2020-08-19 17:14:22 +00:00
|
|
|
end
|
|
|
|
|
2018-07-26 14:23:06 +00:00
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
2019-08-07 13:51:34 +00:00
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
|
2021-07-21 15:50:39 +00:00
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
|
2018-07-26 14:23:06 +00:00
|
|
|
end
|
|
|
|
end
|
2021-07-21 15:50:39 +00:00
|
|
|
react_native_post_install(installer)
|
2021-07-28 20:36:06 +00:00
|
|
|
end
|