Is there a way to use a cocoapod written swift?
Swift support has not been added to Cocoapods ( Check discussion ).
Other discussion links: Here and Here
Xcode does not currently support Swift static libraries , so your only solution is to create Swift classes within the framework. That being said, the biggest problem when creating a structure is that the implementation details of the structure are hidden, which makes it difficult to actively participate in your structure and make changes to the code during development.
This makes the current popular integration solution across subprojects, see AlamoFire and SwiftyJSON
Theres also discusses the Apple Forums where they discuss the iOS 7 Frameworks crashing issues given below:
In one of their conversations with the developers, they said that if not necessary, the main application will continue to work on iOS 7. So for example, you can package an extension with an iOS 7-compatible application, and the extension will not be available, but the application will still work. But if the application does try to load the framework, it will crash on iOS 7. They described the reason that iOS doesn't understand the encrypted structure format they are using.
So there seems to be a lot of work going on to make this work. We are currently building all of our internal reusable components in Objective-C and all applications in Swift.
source to share