Recently i saw an error in the Xcode 16, when ever i try to build the app for testing it is throwing this error missing required module 'Testing'.
Everything was working fine in Xcode 15 but now my UI tests are not compiling at all.
I have the same problem an no clue yet
I have the same problem. I noticed one of external dependency swift-snapshot-testing
use framework Testing. I have swift-snapshot-testing
in local package AppTestUtils
. Target AppUITests
use AppTestUtils
in «Build phases» -> «Link binary with libraries» and was imported in several files. I remove all import AppTestUtils
from files for UI tests and it worked. It's strange, but it's not necessary to remove AppTestUtils
package from the AppTestUtils
target, remove imports is enough.
1 Like