Commit 67d78d2
Teach the lint script about DERIVED_FILE_DIR
A `sourceTree` the script does not know makes the whole project file
undecodable, failing the `[Lint] Check AppLocalizedString usage` phase after the
Swift compile has already succeeded.
Failing there is right — an unresolvable reference means a file silently goes
unlinted — but the report was
`The data couldn't be read because it isn't in the correct format`, naming
neither the setting nor the value.
`localizedDescription` was throwing that detail away.
Interpolating the error itself yields
`Cannot initialize SourceTree from invalid String value SOME_FUTURE_DIR`,
with the offending object's UUID and key path.
---
Generated with the help of Claude Code, https://claude.com/claude-code
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 85f7309 commit 67d78d2
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
324 | | - | |
| 325 | + | |
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
0 commit comments