Commit aca2373
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 e979b0e commit aca2373
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 | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | 116 | | |
| |||
0 commit comments