50 lines
1.3 KiB
Ruby
50 lines
1.3 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', '~> 8.0'
|
|
pod 'Firebase/Crashlytics', '~> 8.0'
|
|
pod 'Firebase/DynamicLinks', '~> 8.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,
|
|
:fabric_enabled => false,
|
|
# An absolute path to your application root.
|
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
)
|
|
|
|
# Native pod dependencies
|
|
#
|
|
|
|
pod 'CocoaLumberjack', '3.7.2'
|
|
pod 'ObjectiveDropboxOfficial', '6.2.3'
|
|
end
|
|
|
|
post_install do |installer|
|
|
react_native_post_install(installer)
|
|
__apply_Xcode_12_5_M1_post_install_workaround(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
|
|
end
|
|
end
|