'ExtensionFoundation/EXMacros.h' file not found

I have a project which will not build on with XCode 16. I get a bunch of build errors like the following:

<module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/ExtensionFoundation.h" ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/ExtensionFoundation.framework/Headers/ExtensionFoundation.h:9:9: error: 'ExtensionFoundation/EXMacros.h' file not found #import <ExtensionFoundation/EXMacros.h> ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/ExtensionFoundation.framework/Headers/ExtensionFoundation.h:9:9: note: did not find header 'EXMacros.h' in framework 'ExtensionFoundation' (loaded from '/System/Library/PrivateFrameworks') #import <ExtensionFoundation/EXMacros.h> ^ <unknown>:0: error: could not build Objective-C module 'ExtensionFoundation'

I'm stumped. Can anyone help?

I'm running Sequoia 15.0.

Answered by mallman in 804163022

Nevermind. I found a strange build setting in my build, deleting which removed the build error.

Accepted Answer

Nevermind. I found a strange build setting in my build, deleting which removed the build error.

'ExtensionFoundation/EXMacros.h' file not found
 
 
Q