Xcode 16 Beta3 Build Error:Did not find header '***.h'

Error message: Could not build module or Did not find header '***.h'

my project build setting CLANG_ENABLE_MODULES = YES

build error when module header has method like:

- (void)subTaskWithName:(NSString*)name module:(NSString *)module;

module has been recognized as a keyword. and if I delete this method, it build succeed

Xcode recognizing module as an unexpected keyword is an issue we're aware of (FB13828950) and investigating, but we're not aware of any recommended workaround so far. If you find something that helps you avoid the issue, please share it with the community by posting it here.

Even though we're aware of this issue, we still encourage you to open a bug report, and post the FB number here once you do. The specific info you include your bug report might help our investigation, as well as allows you to get notified when it is resolved. Bug Reporting: How and Why? explains how you can open a bug report.

We've reported a Feedback for the same issue, for a 3rd party vendor that has issues with the 'module' keyword (FB14505030)

We believe this is resolved in Xcode 16 beta 6, released today. Please give it a test, and if you continue to see this issue, please either update your existing bug reports, or if you don't yet have one, please file new ones and post the FB numbers here.

— Ed Ford,  DTS Engineer

I've confirmed that Xcode 16 Beta 6 resolves the build issue in FB14505030

Xcode 16 Beta3 Build Error:Did not find header '***.h'
 
 
Q