Building and deploying both framework and test-app at the same time



I’m currently transitioning an iOS Framework to be built and deployed by CircleCI.
The framework is being built successfully. So far so good. The framework artefact will be uploaded to an artefact repository.

After each successful build of the framework we also have a test-app in the same repository we also want to build and upload to HockeyApp.

So essentially a 2 step deployment. First deploy the framework and then also deploy a test app using the framework artefact just created.

Is this possible? How would one go about setting this up?