2022-01-06 12:48:08 +00:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
2021-03-05 11:07:25 +00:00
|
|
|
platform :ios, '12.0'
|
2017-05-08 15:21:30 +00:00
|
|
|
workspace 'jitsi-meet'
|
2022-01-06 12:48:08 +00:00
|
|
|
|
2020-11-18 14:17:00 +00:00
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
2017-05-08 15:21:30 +00:00
|
|
|
|
2020-12-17 08:40:29 +00:00
|
|
|
target 'JitsiMeet' do
|
2018-12-28 09:38:56 +00:00
|
|
|
project 'app/app.xcodeproj'
|
|
|
|
|
2020-09-29 12:24:44 +00:00
|
|
|
pod 'Firebase/Analytics', '~> 6.33.0'
|
|
|
|
pod 'Firebase/Crashlytics', '~> 6.33.0'
|
|
|
|
pod 'Firebase/DynamicLinks', '~> 6.33.0'
|
2018-12-28 09:38:56 +00:00
|
|
|
end
|
|
|
|
|
2020-12-17 08:40:29 +00:00
|
|
|
target 'JitsiMeetSDK' do
|
2017-06-06 22:43:51 +00:00
|
|
|
project 'sdk/sdk.xcodeproj'
|
|
|
|
|
2019-05-08 12:51:14 +00:00
|
|
|
# React Native and its dependencies
|
|
|
|
#
|
|
|
|
|
2022-01-06 12:48:08 +00:00
|
|
|
config = use_native_modules!
|
2022-01-14 10:44:02 +00:00
|
|
|
use_react_native!(
|
|
|
|
:path => config["reactNativePath"],
|
|
|
|
:hermes_enabled => false
|
|
|
|
)
|
2019-05-08 12:51:14 +00:00
|
|
|
|
|
|
|
# Native pod dependencies
|
|
|
|
#
|
|
|
|
|
2019-08-28 10:31:38 +00:00
|
|
|
pod 'CocoaLumberjack', '~>3.5.3'
|
2021-09-02 12:17:08 +00:00
|
|
|
pod 'ObjectiveDropboxOfficial', '~>6.1.0'
|
2017-05-08 15:21:30 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
post_install do |installer|
|
2022-01-14 10:44:02 +00:00
|
|
|
react_native_post_install(installer)
|
2017-05-08 15:21:30 +00:00
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
target.build_configurations.each do |config|
|
2019-05-03 13:44:05 +00:00
|
|
|
config.build_settings['ENABLE_BITCODE'] = 'YES'
|
2019-10-03 08:24:00 +00:00
|
|
|
config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
|
2021-03-05 11:07:25 +00:00
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
|
2017-05-08 15:21:30 +00:00
|
|
|
end
|
2022-01-20 18:05:12 +00:00
|
|
|
# https://github.com/facebook/react-native/issues/32351#issuecomment-939157955
|
|
|
|
case target.name
|
|
|
|
when 'RCT-Folly'
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
|
|
|
|
end
|
|
|
|
end
|
2017-05-08 15:21:30 +00:00
|
|
|
end
|
|
|
|
end
|