53 lines
1.4 KiB
Ruby
53 lines
1.4 KiB
Ruby
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
platform :ios, '12.0'
|
|
workspace 'jitsi-meet'
|
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
target 'JitsiMeet' do
|
|
project 'app/app.xcodeproj'
|
|
|
|
pod 'Firebase/Analytics', '~> 6.33.0'
|
|
pod 'Firebase/Crashlytics', '~> 6.33.0'
|
|
pod 'Firebase/DynamicLinks', '~> 6.33.0'
|
|
end
|
|
|
|
target 'JitsiMeetSDK' do
|
|
project 'sdk/sdk.xcodeproj'
|
|
|
|
# React Native and its dependencies
|
|
#
|
|
|
|
config = use_native_modules!
|
|
use_react_native!(
|
|
:path => config["reactNativePath"],
|
|
:hermes_enabled => false
|
|
)
|
|
|
|
# Native pod dependencies
|
|
#
|
|
|
|
pod 'CocoaLumberjack', '~>3.5.3'
|
|
pod 'ObjectiveDropboxOfficial', '~>6.1.0'
|
|
end
|
|
|
|
post_install do |installer|
|
|
react_native_post_install(installer)
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['ENABLE_BITCODE'] = 'YES'
|
|
config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
|
|
end
|
|
# 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
|
|
end
|
|
end
|