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.

Podfile 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. end
  18. target 'JitsiMeetSDK' do
  19. project 'sdk/sdk.xcodeproj'
  20. # React Native and its dependencies
  21. #
  22. config = use_native_modules!
  23. flags = get_default_flags()
  24. use_react_native!(
  25. :path => config[:reactNativePath],
  26. :hermes_enabled => true,
  27. :fabric_enabled => false,
  28. # An absolute path to your application root.
  29. :app_path => "#{Pod::Config.instance.installation_root}/.."
  30. )
  31. # We use auto linking, but some dependencies are excluded from the lite build
  32. # (see react-native.config.js) so we add them here.
  33. pod 'giphy-react-native-sdk', :path => '../node_modules/@giphy/react-native-sdk'
  34. pod 'RNCalendarEvents', :path => '../node_modules/react-native-calendar-events'
  35. pod 'RNGoogleSignin', :path => '../node_modules/@react-native-google-signin/google-signin'
  36. pod 'RNWatch', :path => '../node_modules/react-native-watch-connectivity'
  37. # Native pod dependencies
  38. #
  39. cocoa_utilities
  40. pod 'ObjectiveDropboxOfficial', '6.2.3'
  41. end
  42. target 'JitsiMeetSDKLite' do
  43. project 'sdk/sdk.xcodeproj'
  44. # This is a more lightweight target, which removes some functionality.
  45. # Check the react-native.config.js for the list of excluded packages.
  46. # React Native and its dependencies
  47. #
  48. config = use_native_modules!
  49. use_react_native!(
  50. :path => config[:reactNativePath],
  51. :hermes_enabled => true,
  52. :fabric_enabled => false,
  53. # An absolute path to your application root.
  54. :app_path => "#{Pod::Config.instance.installation_root}/.."
  55. )
  56. # Native pod dependencies
  57. #
  58. cocoa_utilities
  59. end
  60. post_install do |installer|
  61. react_native_post_install(
  62. installer,
  63. use_native_modules![:reactNativePath],
  64. :mac_catalyst_enabled => false
  65. )
  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'] = '15.1'
  76. config.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface'
  77. end
  78. end
  79. # Patch SocketRocket to support TLS 1.3
  80. %x(patch Pods/SocketRocket/SocketRocket/SRSecurityPolicy.m -N < patches/ws-tls13.diff)
  81. end