I created a Swift pod (podspec) which depends on a pod written in Objective-C. In my podspec I use:
s.dependency 'ObjectiveCPod', '~>3.2.1'
To specify the dependent pod. To use it I need a bridging header being installed automatically when my Swift pod is installed. I do not want to create a bridging header in my project myself to integrate the objective-c pods header files.
How can I configure my podspec such that a bridging header file is automatically integrated and linked in my project when I install my Swift pod?
use frameworks!. So surely what you need is to be able to specify a bridging header when Cocoapods builds the framework for your pod? Deferring bridging to the compile phase that attempts to link to your framework surely doesn't make sense? (and, no, I don't have a working answer, but I'm trying to figure it out right now) - Tommy