Commit 421d428
authored
Only insert libXCTestBundleInject.dylib for unit tests (#2530)
Fixes #2528.
Stop adding libXCTestBundleInject.dylib for UI tests. Xcode only injects
this dylib when running unit tests with host app.
This diff was tested with Xcode 15.2 and Xcode 16 RC1.
```
bazel test //test:ios_xctestrun_runner_ui_test
bazel test //test:ios_xctestrun_runner_unit_test
```1 parent 19c7caf commit 421d428
1 file changed
Lines changed: 16 additions & 3 deletions
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
288 | 292 | | |
289 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
290 | 298 | | |
| 299 | + | |
291 | 300 | | |
292 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
293 | 306 | | |
294 | 307 | | |
295 | 308 | | |
| |||
0 commit comments