I am importing a package that has exact same extension as its parent app, and the compiler is getting confused about what functions it should execute, the app ones or the package ones, to be more clear here is an example:
// Parent YellowApp
extension UIViewController {
func customPush() {
//some yellow code
}
}
// Child BluePackage
extension UIViewController {
func customPush() {
//some blue code
}
My expectation is that since the extension is not marked as public
it should not create conflicts with it's parent app, that is how it works with cocoapods.
Straightforward solution like renaming functions, deleting extensions or creating wrappers are expensive for me since application is huge. Is there any workaround for this?