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.

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