1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- # Resolve react_native_pods.rb with node to allow for hoisting.
- require Pod::Executable.execute_command('node', ['-p',
- 'require.resolve(
- "react-native/scripts/react_native_pods.rb",
- {paths: [process.argv[1]]},
- )', __dir__]).strip
-
- platform :ios, '13.4'
- workspace 'jitsi-meet'
-
- install! 'cocoapods', :deterministic_uuids => false
-
- use_modular_headers!
-
- target 'JitsiMeet' do
- project 'app/app.xcodeproj'
-
- pod 'Firebase/Analytics', '~> 10.0'
- pod 'Firebase/Crashlytics', '~> 10.0'
- pod 'Firebase/DynamicLinks', '~> 10.0'
- end
-
- target 'JitsiMeetSDK' do
- project 'sdk/sdk.xcodeproj'
-
- # React Native and its dependencies
- #
-
- config = use_native_modules!
- flags = get_default_flags()
- 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}/.."
- )
-
- # 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'
-
- # Native pod dependencies
- #
-
- pod 'CocoaLumberjack', '3.7.2'
- pod 'ObjectiveDropboxOfficial', '6.2.3'
- end
-
- 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
-
- post_install do |installer|
- react_native_post_install(
- installer,
- use_native_modules![:reactNativePath],
- :mac_catalyst_enabled => false
- )
- __apply_Xcode_12_5_M1_post_install_workaround(installer)
- installer.pods_project.targets.each do |target|
- # 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
- target.build_configurations.each do |config|
- config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.4'
- config.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface'
- end
- end
- end
|