After setting Pulse_NATIVE_BUILD_DIR to my macos root build directory, CMake does not configure

Im trying to use the engine for a visionOS project. I built the macOS version no problem and my bin populated with protoc. As I go to make the iOS version and set my root directory to the macOSBuild and it says CMake Error at CMakeLists.txt:103 (message):
Could not find expected binding directory in provided NATIVE_BUILD_DIR,
expecting:
/Users/fahim/Desktop/PulseEngine/macBuild/Innerbuild/src/cpp/pulse

You have to build the engine twice, once as a native os build. The 2nd is the visionOS, where you reference the original native os build.

https://gitlab.kitware.com/physiology/engine#ios

If im not mistaken, I believe that is what I did. I did a native build calling it Mac build and then tried to do the iOS build and as instructed tried to set the root directory to macbuild but thats where I come across the issue again.

The directory it is specifically looking for would be

macBuild/Innerbuild/src/cpp/pulse, does that exist?

macBuild/Innerbuild/src/cpp exists, but no pulse after that

I cloned the engine. Named my native build macBuild which built fine. After I built the Xcode project my bin folder populated with everything as seen in my 2nd post. Then I proceed to make my iOS build and when setting root directory I get that same error

It looks like there was an issue building your native macBuild build

you do not have the pule folder, nor are there any executables in the bin directory…

That build failed somewhere…

Sorry, this is new to me. When I made the native build, I cloned the engine, then went to cmake, selected the engine as the source, and made the binaries build location macOS build, which generated an XCode project and populated the macOS build folder, then I built the XCode project and got stuff in my bin, include, and lib. I see in the instructions https://gitlab.kitware.com/physiology/engine#ios in step one it says “In order to generate the necessary files during the build process, you will need to build Pulse for the native MacOS platform. Simply follow the above build instructions.” I’m not sure what that refers to. There’s lots of stuff above iOS, and I’m not sure what that pertains to.

Also for the native build when I configured it in CMake I turned off JAVA and Python

Check the build log in XCode for errors