I am meeting a similiar situtation.
Here are two workarounds.
Integrate Cordova into the plugin development environment, i.e, turn a pure Xcode project into a Cordova based project. If we want to use cordova plugins for iOS, they are available via Cocoapods too.
Introduce Cocoapods to the Xcode project generated by Cordova. This way, we need to put the generated code into source control and be careful when we add other plugins since files we modified can be modified by cordova.
I don't know yet which one is a better choice.
The following pods info are helpful for workaround #1.
pod search cordova
-> Cordova (4.0.1)
Cordova iOS
pod 'Cordova', '~> 4.0.1'
- Homepage: https://github.com/apache/cordova-ios
- Source: https://github.com/apache/cordova-ios.git
- Versions: 4.0.1, 3.9.1, 3.8.0, 3.7.0, 3.6.0, 3.5.0, 3.4.1, 3.4.0, 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.9.0, 2.8.0,
2.7.0, 2.6.0, 2.5.0, 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.9.0, 1.8.1, 1.8.0, 1.7.0, 1.6.1, 1.6.0, 1.5.0, 1.4.1,
1.4.0, 1.3.0, 1.2.0, 1.1.0, 1.0.0 [master repo]
-> Cordova-Lib (3.9.1)
镜像自github,部署在git.oschina.net解决国内访问的连接速度。Apache Cordova is a platform for building native mobile applications
using HTML, CSS and JavaScript.
pod 'Cordova-Lib', '~> 3.9.1'
- Homepage: https://git.oschina.net/liubiqu/cordova-ios
- Source: https://git.oschina.net/liubiqu/cordova-ios.git
- Versions: 3.9.1, 3.9.0, 3.8.0 [master repo]