When I try to run an UI and Unit tests, I get an exception:
dyld: could not load inserted library '/private/var/containers/Bundle/Application//AutoTestingApp.app/Frameworks/IDEBundleInjection.framework/IDEBundleInjection' because no suitable image found. Did find:
dyld: Library not loaded: @rpath/XCTest.framework/XCTest
App builds with success but fails when running a test.
I already tried:
- reinstalling Xcode
- checking a provisioning profiles and a certificates
What am I doing wrong?