Reply to dyld: could not load inserted library libXCTestBundleInject.dylib I hit this same situation. (Xcode iPhone SE2 iOS 13.5) I just do: remove signing account and run the tests, let it show the ' signing for ...' error, and re-choose the account to sign. And fix it Developer Tools & Services Xcode Nov ’22