Apps in apps

I want to make many small apps then using xcode to compile them together
Some apps using native code, some apps using Unity
How could I do it?

no one know?