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 end # https://github.com/facebook/react-native/blob/d7f748a944a9a9324e485ccbe214098e6c8645fc/scripts/react_native_pods.rb#L630 time_header = "#{Pod::Config.instance.installation_root.to_s}/Pods/RCT-Folly/folly/portability/Time.h" `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' #{time_header}` end