xref: /MusicFree/ios/Podfile (revision bf6e62f27bf21a011995d7561e0093fae1a2d72e)
1require_relative '../node_modules/react-native/scripts/react_native_pods'
2require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3
4platform :ios, '12.4'
5install! 'cocoapods', :deterministic_uuids => false
6
7target 'MusicFree' do
8  config = use_native_modules!
9
10  # Flags change depending on the env values.
11  flags = get_default_flags()
12
13  use_react_native!(
14    :path => config[:reactNativePath],
15    # to enable hermes on iOS, change `false` to `true` and then install pods
16    :hermes_enabled => flags[:hermes_enabled],
17    :fabric_enabled => flags[:fabric_enabled],
18    # An absolute path to your application root.
19    :app_path => "#{Pod::Config.instance.installation_root}/.."
20  )
21
22  target 'MusicFreeTests' do
23    inherit! :complete
24    # Pods for testing
25  end
26
27  # Enables Flipper.
28  #
29  # Note that if you have use_frameworks! enabled, Flipper will not work and
30  # you should disable the next line.
31  use_flipper!()
32
33  post_install do |installer|
34    react_native_post_install(installer)
35    __apply_Xcode_12_5_M1_post_install_workaround(installer)
36  end
37end
38