Commit a05a2f3
committed
Work around Testing.framework ABI mismatch for cross-Xcode test runs
Standalone SPM test bundles (PatronArchiverKitTests) resolve @rpath
frameworks via DYLD_FRAMEWORK_PATH → __SHAREDFRAMEWORKS__, which points
to the local Xcode's SharedFrameworks. When the build Xcode (26) is
newer than the test-runner Xcode (16.x/15.x), Testing.framework has
ABI differences and dlopen fails with missing symbols.
Copy all build-time frameworks from the app bundle into __TESTROOT__/
Debug/ before testing so DYLD_FRAMEWORK_PATH finds compatible copies
first.1 parent 0ad72e7 commit a05a2f3
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
197 | 215 | | |
198 | 216 | | |
199 | 217 | | |
| |||
0 commit comments