Commit d8a11a2
committed
Bundle swift-testing helper dylibs in CI build products
Xcode 26.4 split swift-testing's interop logic out of Testing.framework
into a separate lib_TestingInterop.dylib that lives in
Platforms/<plat>/Developer/usr/lib. `xcodebuild build-for-testing`
embeds Testing.framework into the .app/Frameworks but leaves this
sibling dylib behind, so when the test stage runs on a machine whose
Xcode predates the split (e.g. macos-15 with Xcode 16.4), dyld can't
locate @rpath/lib_TestingInterop.dylib and the app aborts before any
test starts.
Copy every lib_*.dylib next to Testing.framework after the build to
restore the previous self-contained xctestproducts layout. Globbing
the lib_* prefix keeps the workaround forward-compatible if Apple
splits further helpers in later Xcodes.1 parent 6c35142 commit d8a11a2
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
56 | 95 | | |
57 | 96 | | |
58 | 97 | | |
| |||
0 commit comments