Same error happened to me as well, after upgrading 4.24.1 to 4.24.3.
cannot open GeometryCollectionComponent.ispc.generated.h
or
cannot open PBDCollisionConstraint.ispc.generated.h
The solution was just to completely delete the /Intermediate directory and then regenerate project files. This fixed the issue for me.