Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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. end
  38. target 'JitsiMeetSDKLite' do
  39. project 'sdk/sdk.xcodeproj'
  40. # This is a more lightweight target, which removes some functionality.
  41. # Check the react-native.config.js for the list of excluded packages.
  42. # React Native and its dependencies
  43. #
  44. config = use_native_modules!
  45. use_react_native!(
  46. :path => config["reactNativePath"],
  47. :hermes_enabled => false,
  48. :fabric_enabled => false,
  49. # An absolute path to your application root.
  50. :app_path => "#{Pod::Config.instance.installation_root}/.."
  51. )
  52. # Native pod dependencies
  53. #
  54. pod 'CocoaLumberjack', '3.7.2'
  55. end
  56. post_install do |installer|
  57. react_native_post_install(installer)
  58. __apply_Xcode_12_5_M1_post_install_workaround(installer)
  59. installer.pods_project.targets.each do |target|
  60. # https://github.com/CocoaPods/CocoaPods/issues/11402
  61. if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
  62. target.build_configurations.each do |config|
  63. config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
  64. end
  65. end
  66. target.build_configurations.each do |config|
  67. config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
  68. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
  69. config.build_settings['OTHER_SWIFT_FLAGS'] = '$(inherited) -no-verify-emitted-module-interface'
  70. end
  71. end
  72. end