title: Error build react native ios use yarn ios new project
body: <p>I want to build ios with xcode 12.4, ios14.4 with react native. the error like this</p>
  <pre><code>** BUILD FAILED **
  
  
  The following build commands failed:
          PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/user/Library/Developer/Xcode/DerivedData/testIos2-gadmwivyqenuohhdfabybpprezqk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E00015310.sh
  (1 failure)
  </code></pre>
  <p>Please someone help me, i am using intel mac os catalina and this my pod file</p>
  <pre><code>require_relative '../node_modules/react-native/scripts/react_native_pods'
  require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  
  platform :ios, '12.4'
  install! 'cocoapods', :deterministic_uuids =&gt; false
  
  production = ENV[&quot;PRODUCTION&quot;] == &quot;1&quot;
  
  target 'cobaIos' do
    config = use_native_modules!
  
    # Flags change depending on the env values.
    flags = get_default_flags()
  
    use_react_native!(
      :path =&gt; config[:reactNativePath],
      # to enable hermes on iOS, change `false` to `true` and then install pods
      :production =&gt; production,
      :hermes_enabled =&gt; flags[:hermes_enabled],
      :fabric_enabled =&gt; flags[:fabric_enabled],
      :flipper_configuration =&gt; FlipperConfiguration.enabled,
      # An absolute path to your application root.
      :app_path =&gt; &quot;#{Pod::Config.instance.installation_root}/..&quot;
    )
  
    target 'cobaIosTests' do
      inherit! :complete
      # Pods for testing
    end
  
  
    post_install do |installer|
      react_native_post_install(installer)
      __apply_Xcode_12_5_M1_post_install_workaround(installer)
    end
  end
  </code></pre>
  <p>thank you i hope it can be solve because it takse 2 day and not solving anymore</p>