You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Resolve react_native_pods.rb with node to allow for hoisting.
  2. require Pod::Executable.execute_command('node', ['-p',
  3. 'require.resolve(
  4. "react-native/scripts/react_native_pods.rb",
  5. {paths: [process.argv[1]]},
  6. )', __dir__]).strip
  7. platform :ios, '13.4'
  8. workspace 'jitsi-meet'
  9. install! 'cocoapods', :deterministic_uuids => false
  10. use_modular_headers!
  11. target 'JitsiMeet' do
  12. project 'app/app.xcodeproj'
  13. pod 'Firebase/Analytics', '~> 10.0'
  14. pod 'Firebase/Crashlytics', '~> 10.0'
  15. pod 'Firebase/DynamicLinks', '~> 10.0'
  16. end
  17. target 'JitsiMeetSDK' do
  18. project 'sdk/sdk.xcodeproj'
  19. # React Native and its dependencies
  20. #
  21. config = use_native_modules!
  22. flags = get_default_flags()
  23. use_react_native!(
  24. :path => config[:reactNativePath],
  25. :hermes_enabled => false,
  26. :fabric_enabled => false,
  27. # An absolute path to your application root.
  28. :app_path => "#{Pod::Config.instance.installation_root}/.."
  29. )
  30. # We use auto linking, but some dependencies are excluded from the lite build
  31. # (see react-native.config.js) so we add them here.
  32. pod 'giphy-react-native-sdk', :path => '../node_modules/@giphy/react-native-sdk'
  33. pod 'RNCalendarEvents', :path => '../node_modules/react-native-calendar-events'
  34. pod 'RNGoogleSignin', :path => '../node_modules/@react-native-google-signin/google-signin'
  35. pod 'RNWatch', :path => '../node_modules/react-native-watch-connectivity'
  36. # Native pod dependencies
  37. #
  38. pod 'CocoaLumberjack', '3.7.2'
  39. pod 'ObjectiveDropboxOfficial', '6.2.3'
  40. end
  41. target 'JitsiMeetSDKLite' do
  42. project 'sdk/sdk.xcodeproj'
  43. # This is a more lightweight target, which removes some functionality.
  44. # Check the react-native.config.js for the list of excluded packages.
  45. # React Native and its dependencies
  46. #
  47. config = use_native_modules!
  48. use_react_native!(
  49. :path => config[:reactNativePath],
  50. :hermes_enabled => false,
  51. :fabric_enabled => false,
  52. # An absolute path to your application root.
  53. :app_path => "#{Pod::Config.instance.installation_root}/.."
  54. )
  55. # Native pod dependencies
  56. #
  57. pod 'CocoaLumberjack', '3.7.2'
  58. end
  59. post_install do |installer|
  60. react_native_post_install(
  61. installer,
  62. use_native_modules![:reactNativePath],
  63. :mac_catalyst_enabled => false
  64. )
  65. __apply_Xcode_12_5_M1_post_install_workaround(installer)
  66. installer.pods_project.targets.each do |target|
  67. # https://github.com/CocoaPods/CocoaPods/issues/11402
  68. if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
  69. target.build_configurations.each do |config|
  70. config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
  71. end
  72. end
  73. target.build_configurations.each do |config|
  74. config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
  75. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.4'
  76. config.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface'
  77. end
  78. end
  79. end