Since I've upgraded to XCode 10, Unit Tests fail before they are being executed with the following error "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. Underlying error: Test session exited(1) without checking in."
In the console I am also getting the message "
NSLocalizedDescription=The bundle “UnitTests” couldn’t be loaded
"
Unfortunately, I have no clue why the bundle couldn't be loaded. I'm using CocoaPods for Firebase/Core, but it does not seem to me that this is related.
After googling I found some posts by people who fixed a similar issues by making sure that the deployment targets for all bundles are set to iOS 12. That did not work for me.
Deleting the Unit Test target and creating a new one from within XCode 10 also did not fix it.
Only starting a completely new project makes the UnitTests run in XCode 10.
Has anyone had a similar problem and fixed it other than by updating the deployment targets?
Many Thanks