Problem with cmake and BinaryData.h in Xcode

A question for my users. Since I moved some projects to cmake (frequalizer and PluginGuiMagic examples) I get multiple user feedbacks that BinaryData.h is not found. I could replicate this once with a fresh checkout of Frequalizer, doing

mkdir build
cd build
cmake -G Xcode ..
open Frequalizer.xcodeproj

But hitting build twice fixed it and the problem never occurred again. Can I do something to improve things for the users other than write in the readme: hit build twice?

Could there be a dependency specified wrong? Do I need to change the order of some cmake commands?

Here’s the project using CMake:

N.B. github actions has no problem

Here are some user posts: