Right now Cocoapods supports Swift, and I can make a Cocoapod based on Swift code and get it working.
But in one scenario the Swift code need to use an Objective C class defined in another Cocoapod. I added the dependency in the podspec, and in the main project both the swift pod and the Objective C pod are installed, but the compiler complains about undeclared type on the line where the Swift code is referencing the Objective C class. I added the Objective C header in the main project's bridging-header.h, and it works when i use that class in the swift files in the main project, but the in the Swift cocoapod it doesn't.
I also tried to add a {project name}-Bridging-Header.h file in the Swift cocoapod, and imported the Objective C header, and it still doesn't work.
Is it possible to let a Swift cocoapod depend on an Objective C cocoapod now? Am I doing something incorrect?