Commit 19af5c8
committed
Set always_out_of_date on hermes-engine Replace Hermes phase
The `[Hermes] Replace Hermes for the right configuration, if needed`
script_phase has no declared outputs because it overwrites the prebuilt
Hermes binary in place based on `$CONFIGURATION`. Xcode 14+ emits
"will be run during every build because it does not specify any
outputs" on every clean build of every project on the prebuilt-release
tarball path.
Set `script_phase[:always_out_of_date] = "1"` guarded by a
`Pod::VERSION >= 1.13.0` check. Apple's documented opt-in for "yes,
this phase intentionally runs every build." The phase still runs every
build. The warning downgrades to a `note`.
Matches the existing shape of the two sibling `Replace X for the right
configuration` script_phases in the same package:
- `React-Core-prebuilt.podspec` (#52133)
- `third-party-podspecs/ReactNativeDependencies.podspec` (#49812)
Same property previously accepted in #48495 (`088fcb1e5d`) for
`React-RCTFBReactNativeSpec.podspec` and the codegen podspecs (later
consolidated in #50317). `hermes-engine` is the last `Replace X` phase
in the package without it.1 parent ef683f7 commit 19af5c8
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
| |||
0 commit comments