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.

I’m using Xcode 26.1.1 and Swift Testing framework.

There's not much info to go on, but this sounds like a configuration issue in your Xcode project. Xcode 26.1 does not include the new CoreGraphics-based code in Swift Testing 6.3.

Please file feedback with Apple and include, if you can, your complete (failed) build log. Thanks!

1 Like