Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

44 wiersze
1.4 KiB

  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. target 'LessPass' do
  6. config = use_native_modules!
  7. # Flags change depending on the env values.
  8. flags = get_default_flags()
  9. use_react_native!(
  10. :path => config[:reactNativePath],
  11. # Hermes is now enabled by default. Disable by setting this flag to false.
  12. # Upcoming versions of React Native may rely on get_default_flags(), but
  13. # we make it explicit here to aid in the React Native upgrade process.
  14. :hermes_enabled => true,
  15. :fabric_enabled => flags[:fabric_enabled],
  16. # Enables Flipper.
  17. #
  18. # Note that if you have use_frameworks! enabled, Flipper will not work and
  19. # you should disable the next line.
  20. :flipper_configuration => FlipperConfiguration.enabled,
  21. # An absolute path to your application root.
  22. :app_path => "#{Pod::Config.instance.installation_root}/.."
  23. )
  24. target 'LessPassTests' do
  25. inherit! :complete
  26. # Pods for testing
  27. end
  28. post_install do |installer|
  29. react_native_post_install(
  30. installer,
  31. # Set `mac_catalyst_enabled` to `true` in order to apply patches
  32. # necessary for Mac Catalyst builds
  33. :mac_catalyst_enabled => false
  34. )
  35. __apply_Xcode_12_5_M1_post_install_workaround(installer)
  36. end
  37. end