Crashing build when testing my app

The Test target not build for not such file or directory: 'CoreGraphics'.

Not sure why I get this error, but I configured the target without forgetting the variables BUNDLE_LOADER with $(BUILT_PRODUCTS_DIR)/MyExistingApp.app/MyExistingApp value and TEST_HOST with $(BUNDLE_LOADER) value.

App target (not the test target), the Symbols Hidden by Default build setting its equal to NO, unlike the Test target that is set to YES.

Any variable more for this? I'm not sure if I should take anything into account when using Xcode 26.1.1 and Swift Testing framework.

Crashing build when testing my app
 
 
Q