I have learned how to create my own framework for "iOS" and "iOS Simulator" and then creating a single xcframework that I can drop into any project that needs to use my xcframework. So if I am working on an app, I can go to the app's project navigator > General tab > Frameworks, Libraries, and Embedded Content section, and drag my xcframework from Finder into that section. It works just fine.
But while working on the app, if I realize I need to make a change to the framework, I'd have to launch the project for the framework, make my changes, then in Terminal, run xcodebuild archive, run xcodebuild -create-xcframework, then go back to my app, run Cmd-B / Cmd-R to build/run it. And if there are still issues in the framework code, I'd have to keep executing these steps over and over again.
Is there a way to somehow link my app project to the framework project such that I simply make changes to the framework code and run Cmd-B in the app code immediately?