Commit df1bde4
fix(ios): make Podfile.lock SPEC CHECKSUMS deterministic across machines
Two sources of non-determinism cause Podfile.lock to differ between
machines, breaking `pod install --deployment` in CI:
1. Yoga.podspec: Dir.glob returns files in filesystem-dependent order.
Add .sort to ensure consistent ordering regardless of OS/filesystem.
2. hermes-engine.podspec: require.resolve with __dir__ produces an
absolute path containing the user's home directory. Compute a relative
path from Pod::Config sandbox root and use $(PODS_ROOT) so the xcconfig
is deterministic while supporting any project layout.
Fixes #56975
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 707e366 commit df1bde4
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | | - | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
0 commit comments