The general app that starts a lot of secondary apps

Problem:

Need to create an app (General) that will start/stop and manage other apps (Secondary). The general app will be only one, but secondary apps will be as many as user want. As well the general app should communicate with secondary apps.

PS: The secondary app MUST start only as a separated instance app.

Question:

I want to know your thoughts, adviсes, and best practices for:

  1. Should I create one Xcode project with two targets (General and Secondary)? Or should I create two different Xcode projects?

As for me: maybe one of the best solution will be the second one with using some ci/cd. What do you think?

  1. How the general app should communicate with second apps?

As for me: Could Distributed Notifications helps in this situation?

Thank you, I will be glad for any information, word, or sources.

The general app that starts a lot of secondary apps
 
 
Q