Xcode checking for xcframework before run script can build it

My app depends on two frameworks that I don't want to check-in to source. Previously, when I was using traditional frameworks, I had a run script phase in the build steps that would compile the frameworks.

This worked well as the first time one would try to build the app it would also build the needed frameworks.

However, after switching to xcframeworks, this no longer works. Even though the run script phase is before the compile and link steps - the build still fails because the frameworks don't exist yet.

Is there a workaround for this, or have I encountered a bug?

Same Isssue for me. I'm afraid the only option is to revert to original framework.

Xcode checking for xcframework before run script can build it
 
 
Q