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 2.7KB

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