Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Podfile 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
  2. require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
  3. require File.join(File.dirname(`node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"`), "native_modules")
  4. platform :ios, '12.0'
  5. require 'json'
  6. podfile_properties = JSON.parse(File.read('./Podfile.properties.json')) rescue {}
  7. target 'budgetizr' do
  8. use_expo_modules!
  9. config = use_native_modules!
  10. use_react_native!(
  11. :path => config[:reactNativePath],
  12. :hermes_enabled => podfile_properties['expo.jsEngine'] == 'hermes'
  13. )
  14. # Uncomment to opt-in to using Flipper
  15. #
  16. # if !ENV['CI']
  17. # use_flipper!('Flipper' => '0.75.1', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' => '1.3.1')
  18. # end
  19. post_install do |installer|
  20. react_native_post_install(installer)
  21. # Workaround `Cycle inside FBReactNativeSpec` error for react-native 0.64
  22. # Reference: https://github.com/software-mansion/react-native-screens/issues/842#issuecomment-812543933
  23. installer.pods_project.targets.each do |target|
  24. if (target.name&.eql?('FBReactNativeSpec'))
  25. target.build_phases.each do |build_phase|
  26. if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
  27. target.build_phases.move(build_phase, 0)
  28. end
  29. end
  30. end
  31. end
  32. end
  33. end