Enums and classes not found after codegen

Hello, We’ve been using Apollo without issue for our iOS app, but our backend team made changes to the schema (new stucts and enums) and they are not found. Our generated code is output to a local Swift package. For example, we have a new enum (CertificationAction) that’s been added and it’s being used in a struct CertificationCheckResultInput. The struct gives this error next to the line where CertificationAction is used:
Cannot find type 'CertificationAction' in scope
I can see the file for CertificationAction was generated, and is in the package, but it’s not found in scope. Does anyone have advice?

It’s really difficult to diagnose these issues without being able to look at the package.

our backend team made changes to the schema (new stucts and enums) and they are not found.

If you’re were not seeing the new types generated into new files I was going to say that Apollo iOS will only generate files for types that are used. So simply because a type is in the schema does not mean it will be generated into a Swift file. That does not seem to be the case here though because you said you are seeing the files generated.

I can see the file for CertificationAction was generated, and is in the package, but it’s not found in scope.

What happens if you create a new type in the same location; try a new file or even a new type in the CertificationAction Swift file. Is that available in scope, do you get the same error?