You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the tutorial to generate a client inside Xcode. The client is successfully generated but Xcode shows two warnings:
no rule to process file '/Users/fumoboy007/Downloads/OpenAPIGenerator-NoRuleToProcessFileWarningRepro/OpenAPIGenerator-NoRuleToProcessFileWarningRepro/openapi-generator-config.yaml' of type 'text.yaml' for architecture 'arm64'
no rule to process file '/Users/fumoboy007/Downloads/OpenAPIGenerator-NoRuleToProcessFileWarningRepro/OpenAPIGenerator-NoRuleToProcessFileWarningRepro/openapi.yaml' of type 'text.yaml' for architecture 'arm64'
Assuming you have the build plugin enabled for your target, then these files are used and any warning in Xcode that they are not is an Xcode bug. It sounds like these are cosmetic and your project builds successfully? If you would like to see these warnings addressed you will probably need to file an issue with Feedback Assistant, for Xcode.
I don't know much about Xcode project file structure, but wonder if this is meaningful:
/* Begin PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet section */
E6AC3B73303412A100AFB1E0 /* Exceptions for "OpenAPIGenerator-NoRuleToProcessFileWarningRepro" folder in "Compile Sources" phase from "OpenAPIGenerator-NoRuleToProcessFileWarningRepro" target */ = {
isa = PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet;
buildPhase = E67A5277303410980009054A /* Sources */;
membershipExceptions = (
"openapi-generator-config.yaml",
openapi.yaml,
);
};
/* End PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet section */
The issue appears to be the presence of the files in the list of "Compile Sources" for the target:
However, you cannot simply remove them from the list because they will not be made available to the build plugin and it will fail to run.
A workaround I found was to go to the "Build Rules" tab (to the right of the "Build Phases" tab and add a custom rule:
Use */openapi-generator-config.yaml as the matching string, use a custom but EMPTY script, and declare $(DERIVED_FILES_DIR)/nothing-to-see-here as the output file.
Activity
simonjbeaumont commentedon Aug 18, 2026
Assuming you have the build plugin enabled for your target, then these files are used and any warning in Xcode that they are not is an Xcode bug. It sounds like these are cosmetic and your project builds successfully? If you would like to see these warnings addressed you will probably need to file an issue with Feedback Assistant, for Xcode.
I don't know much about Xcode project file structure, but wonder if this is meaningful:
simonjbeaumont commentedon Aug 18, 2026
OK, I have a workaround...
The issue appears to be the presence of the files in the list of "Compile Sources" for the target:
However, you cannot simply remove them from the list because they will not be made available to the build plugin and it will fail to run.
A workaround I found was to go to the "Build Rules" tab (to the right of the "Build Phases" tab and add a custom rule:
Use
*/openapi-generator-config.yamlas the matching string, use a custom but EMPTY script, and declare$(DERIVED_FILES_DIR)/nothing-to-see-hereas the output file.Create an equivalent one for
*/openapi.yaml.When I did this, it got rid of the warnings.
czechboy0 commentedon Aug 18, 2026
Wow, that's a great find, @simonjbeaumont. But yeah, @fumoboy007 please file a bug on Xcode for this, and post the FB number here please.
fumoboy007 commentedon Aug 18, 2026
@simonjbeaumont Thanks for finding a workaround! 😃
@czechboy0 FB24402412
czechboy0 commentedon Sep 25, 2026
Closing, as this was now filed through Feedback Assistant on the Xcode team. Will pin the issue for visibility.