Podfile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. install! 'cocoapods', :deterministic_uuids => false
  5. production = ENV["PRODUCTION"] == "1"
  6. target 'Denet' do
  7. config = use_native_modules!
  8. # Flags change depending on the env values.
  9. flags = get_default_flags()
  10. use_react_native!(
  11. :path => config[:reactNativePath],
  12. # to enable hermes on iOS, change `false` to `true` and then install pods
  13. :production => production,
  14. :hermes_enabled => flags[:hermes_enabled],
  15. :fabric_enabled => flags[:fabric_enabled],
  16. :flipper_configuration => FlipperConfiguration.enabled,
  17. # An absolute path to your application root.
  18. :app_path => "#{Pod::Config.instance.installation_root}/.."
  19. )
  20. target 'DenetTests' do
  21. inherit! :complete
  22. # Pods for testing
  23. end
  24. post_install do |installer|
  25. react_native_post_install(installer)
  26. __apply_Xcode_12_5_M1_post_install_workaround(installer)
  27. end
  28. end