I have two custom frameworks (Main and Child )both present on cocoapods. I want to conditionally import my child.framework into my Main.framework If user has installed child.framework. I am unable to conditionally import child framework into my main.framework as canImport always fails even If user has installed child.framework
I expected that in my main framework #if canImport(childFramework)
will succeed If user has installed child.framework but It's always getting failed.