@@ -481,7 +481,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
481
481
" CLANG_ENABLE_MODULES " : " YES " ,
482
482
" CLANG_ENABLE_EXPLICIT_MODULES " : " YES " ,
483
483
" GENERATE_INFOPLIST_FILE " : " YES " ,
484
- " MODULE_DEPENDENCIES " : " Foundation " ,
484
+ " MODULE_DEPENDENCIES " : " Accelerate " ,
485
485
" VALIDATE_MODULE_DEPENDENCIES " : " YES_ERROR " ,
486
486
" SDKROOT " : " $(HOST_PLATFORM) " ,
487
487
" SUPPORTED_PLATFORMS " : " $(HOST_PLATFORM) " ,
@@ -507,6 +507,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
507
507
try await tester. fs. writeFileContents ( SRCROOT . join ( " Sources/CoreFoo.m " ) ) { contents in
508
508
contents <<< """
509
509
#include <Foundation/Foundation.h>
510
+ #include <Foundation/NSObject.h>
510
511
#include <Accelerate/Accelerate.h>
511
512
512
513
void f0(void) { };
@@ -515,7 +516,7 @@ fileprivate struct DependencyValidationTests: CoreBasedTests {
515
516
516
517
// Expect complaint about undeclared dependency
517
518
try await tester. checkBuild ( parameters: BuildParameters ( configuration: " Debug " ) , runDestination: . host, persistent: true ) { results in
518
- results. checkError ( . contains( " Missing entries in MODULE_DEPENDENCIES: Accelerate " ) )
519
+ results. checkError ( . contains( " Missing entries in MODULE_DEPENDENCIES: Foundation (for task " ) )
519
520
}
520
521
521
522
// Declaring dependencies resolves the problem
0 commit comments