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'
|
|
|
|
|
2022-06-27 13:48:13 +00:00
|
|
|
pod 'Firebase/Analytics', '~> 8.0'
|
|
|
|
pod 'Firebase/Crashlytics', '~> 8.0'
|
|
|
|
pod 'Firebase/DynamicLinks', '~> 8.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"],
|
2022-04-28 12:25:07 +00:00
|
|
|
:hermes_enabled => false,
|
|
|
|
:fabric_enabled => false,
|
|
|
|
# An absolute path to your application root.
|
|
|
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
2022-01-14 10:44:02 +00:00
|
|
|
)
|
2019-05-08 12:51:14 +00:00
|
|
|
|
2022-08-01 15:15:59 +00:00
|
|
|
# We use auto linking, but some dependencies are excluded from the lite build
|
|
|
|
# (see react-native.config.js) so we add them here.
|
|
|
|
|
|
|
|
pod 'giphy-react-native-sdk', :path => '../node_modules/@giphy/react-native-sdk'
|
|
|
|
pod 'RNCalendarEvents', :path => '../node_modules/react-native-calendar-events'
|
|
|
|
pod 'RNGoogleSignin', :path => '../node_modules/@react-native-google-signin/google-signin'
|
|
|
|
pod 'RNWatch', :path => '../node_modules/react-native-watch-connectivity'
|
|
|
|
|
2019-05-08 12:51:14 +00:00
|
|
|
# Native pod dependencies
|
|
|
|
#
|
|
|
|
|
2022-02-21 13:44:27 +00:00
|
|
|
pod 'CocoaLumberjack', '3.7.2'
|
|
|
|
pod 'ObjectiveDropboxOfficial', '6.2.3'
|
2017-05-08 15:21:30 +00:00
|
|
|
end
|
|
|
|
|
2022-08-01 15:15:59 +00:00
|
|
|
target 'JitsiMeetSDKLite' do
|
|
|
|
project 'sdk/sdk.xcodeproj'
|
|
|
|
|
|
|
|
# This is a more lightweight target, which removes some functionality.
|
|
|
|
# Check the react-native.config.js for the list of excluded packages.
|
|
|
|
|
|
|
|
# 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'
|
|
|
|
end
|
|
|
|
|
2017-05-08 15:21:30 +00:00
|
|
|
post_install do |installer|
|
2022-01-14 10:44:02 +00:00
|
|
|
react_native_post_install(installer)
|
2022-04-05 12:11:09 +00:00
|
|
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
2017-05-08 15:21:30 +00:00
|
|
|
installer.pods_project.targets.each do |target|
|
2022-09-16 22:24:54 +00:00
|
|
|
# https://github.com/CocoaPods/CocoaPods/issues/11402
|
|
|
|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
|
|
|
|
end
|
|
|
|
end
|
2017-05-08 15:21:30 +00:00
|
|
|
target.build_configurations.each do |config|
|
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
|
|
|
|
end
|
|
|
|
end
|