hide custom framework dependencies from main app

MyApp

|

|-Networking.framework

| |-Alamofire

|-BusinessLogic.framework

|-RxSwift


I have the above app structure where the two frameworks are those that I've created


is it possible to keep Alamofire hidden from MyApp so that MyApp code can not use it directly but has to go through the APIs that I provide via the Networking framework? How can this be done?


i am currently using Cocoapods but can change it if any other method can make this possible.


Would like to do the same thing with RxSwift