Resolve run script build phase warnings (#48495)

Summary:
This PR updates podspecs and resolve the following Xcode warnings:

```
Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
```

```
Run script build phase '[CP-User] [RN]Check FBReactNativeSpec' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
```

Enabling the `always_out_of_date` flag will uncheck "Based on dependency analysis" in a script phase.

## Changelog:

[INTERNAL] [FIXED] - Resolve run script build phase warnings

Pull Request resolved: https://github.com/facebook/react-native/pull/48495

Test Plan:
1. Run `bundle exec pod install` in the RNTester folder
2. Open the Xcode workspace
3. Check "Based on dependency analysis" is unchecked in the '[CP-User] [RN]Check rncore' script phase and the '[CP-User] [RN]Check FBReactNativeSpec' script phase

Reviewed By: cipolleschi

Differential Revision: D67835376

Pulled By: rshest

fbshipit-source-id: 11eec80d8172bc0129bfdcf7c79b5edf40427fab
This commit is contained in:
woxtu
2025-01-06 00:46:51 -08:00
committed by Facebook GitHub Bot
parent e99b47ce48
commit 088fcb1e5d
3 changed files with 3 additions and 0 deletions
@@ -73,6 +73,7 @@ Pod::Spec.new do |s|
{
:name => '[RN]Check FBReactNativeSpec',
:execution_position => :before_compile,
:always_out_of_date => '1',
:script => <<-EOS
echo "Checking whether Codegen has run..."
fbReactNativeSpecPath="$REACT_NATIVE_PATH/React/FBReactNativeSpec"
@@ -256,6 +256,7 @@ Pod::Spec.new do |s|
{
:name => '[RN]Check rncore',
:execution_position => :before_compile,
:always_out_of_date => '1',
:script => <<-EOS
echo "Checking whether Codegen has run..."
rncorePath="$REACT_NATIVE_PATH/ReactCommon/react/renderer/components/rncore"
@@ -193,6 +193,7 @@ Pod::Spec.new do |s|
{
:name => '[RN]Check rncore',
:execution_position => :before_compile,
:always_out_of_date => '1',
:script => <<-EOS
echo "Checking whether Codegen has run..."
rncorePath="$REACT_NATIVE_PATH/ReactCommon/react/renderer/components/rncore"