UI test runner: failed to load test bundle on macOS 13

When running the UI tests of our Catalyst app on macOS13 with Xcode 14.1, the runner immediately fails with the following (paths and IDs removed):

  Assertions: System: Failed to load the test bundle. If you believe this error represents a bug, please attach the result bundle at (...) (Underlying Error: The bundle “UITests” couldn’t be loaded. The bundle couldn’t be loaded. Try reinstalling the bundle. dlopen(...): tried: '...' (no such file), '...' (no such file), '...' (no such file), '...' (code signature invalid in <...uuid...> '...' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00B61A60, codeBlobSize=0x0001BB10), '...' (no such file), '...' (code signature invalid in <...uuid...> '...' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00B61A60, codeBlobSize=0x0001BB10))

We use manual code signing. Everything works on macOS 12.6.1 with either Xcode 13.4.1 or Xcode 14.1, just not on macOS 13.

Did anything change regarding code signing and Catalyst in the new macOS?

Post not yet marked as solved Up vote post of tjager Down vote post of tjager
1.2k views

Replies

Even we are facing the same issue. We are blocked to older MacOS version due to this bug. Did you file a Radar for this ?