How create a private SDK Scheme used only for Main Project?

How to create a scheme that should have the ability to provide public methods that are only accessible to the main application.

For example, I have my Main Test project on XCode, I added my custom local Dependency Swift Package SDK, and I want to create a scheme only for access to the swift classes SDK and SDK+TestApp, the main project must not access/could to any other file, I research in the official documentation but are the main example, I'm looking for theses specifically details, any help, please?

How create a private SDK Scheme used only for Main Project?
 
 
Q