Cleaning the build didn’t help, but completely deleting the Intermediate directory fixed the problem.