两个项目引用相同的podfile

时间:2018-03-07 10:36:04

标签: ios swift cocoapods

所以我有一个大项目,里面有两个较小的快速项目。enter image description here

您看到的突出显示的PodFile代码如下所示

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Eventful' do
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
    use_frameworks!
    pod 'Firebase/Core'
    pod 'Firebase/Auth’
    pod 'Firebase/Database’
    pod 'Firebase/Storage’
    pod 'Firebase/Messaging’
    pod 'BPStatusBarAlert'
    pod ’SwiftyJSON’
    pod 'Alamofire'
    pod 'AlamofireImage'
    pod 'AlamofireNetworkActivityIndicator'
    pod ‘SVProgressHUD’
    pod "SwiftyCam"
    pod ‘TextFieldEffects’
    pod 'SwiftLocation'
    pod 'EZSwipeController'
    pod 'IGListKit', :git => 'https://github.com/Instagram/IGListKit.git', :branch => 'master'
    pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'FaceAware'
    pod "Hero"    
    # Pods for Eventful

end



target 'DynamoCollectionView' do
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
    use_frameworks!
    pod "Hero"
    # Pods for Eventful

end

它说它无法找到项目如何让这个podfile支持这两个项目,请注意另一个不是工作区。我确实创建了一个工作区,但我不确定如何切换它们,如果这是解决方案......但是,我基本上需要让这个podfile适用于这两个项目。

0 个答案:

没有答案