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.9KB

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