我想在我的项目中组合2个pod。一个是:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'DJKFlipper'
另一个是:
platform :ios, '9.0'
pod 'HQPagerViewController', :git=> 'https://github.com/quangpc/HQPagerViewController.git', :branch=> 'master'
问题是,一个是要求平台8.0而另一个是9.0
我尝试将整个文件平台更改为8.0,但出现以下错误:Specs satisfying the HQPagerViewController (from https://github.com/quangpc/HQPagerViewController.git, branch master), HQPagerViewController (= 1.0) dependency were found, but they required a higher minimum deployment target.
如果将目标保持在9.0,我在安装pod之后会在应用程序中遇到100个问题,因为目标平台不正确。
我也试过这个:
target 'Bhaskar' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
platform :ios, ‘9.0’
use_frameworks!
pod 'HQPagerViewController', :git=> 'https://github.com/quangpc/HQPagerViewController.git', :branch=> 'master'
end
target 'Bhaskar - FlipView’ do
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'DJKFlipper'
end
但也在这里收到错误。我可能是第二次使用pods,并且总是使用相同的平台。我怎样才能将这两者结合起来?
任何帮助将不胜感激! 谢谢!