How to build framework with multiple Device and Simulator both

When we build our own framework, is it possible to combine Release/Debug, Simulator/Device all in one?

Or do we have to build separate framework for each combination?

For example;

Device+Release
Device+Debug
Simulator+Debug


No it's not possible to have a "Device+Release and Device+Debug" in one framework.
You can have "Device+Release and Simulator+Debug" OR "Device+Debug and Simulator+Debug" in one framework.

P.S.: The now recommended method distributing frameworks is to use an XCFramework.
As mentioned by electricbolt, the recommded solution here is to package the different variants as an XCFramework. There was a session on this at WWDC 2019 Binary Frameworks in Swift (the XCFramework content applies to any framework, not just ones implemented in Swift).
How to build framework with multiple Device and Simulator both
 
 
Q