Commit a30ffe9
Fix xcodemake argument corruption from overly broad string replacement (#178)
The executeXcodemakeCommand function was using .replace() to remove project
directory paths from arguments, which would corrupt any argument containing
the project directory path as a substring (not just as a prefix).
Changed to use .startsWith() and .substring() to only remove the project
directory when it appears as a path prefix, matching the approach already
used in doesMakeLogFileExist.
Fixes XCODEBUILD-MCP-12S9
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent f5037ce commit a30ffe9
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
215 | 221 | | |
216 | 222 | | |
217 | 223 | | |
| |||
0 commit comments