链接podfile与多个项目

时间:2013-08-09 13:14:28

标签: xcode cocoapods

我的工作区RTComponents中至少有两个xcodeproj

  • RTComponents
    • RTCore
    • RTExtension

我想添加一个Pods项目来实现这个直接的层次结构:

  • RTComponents
    • RTCore
    • RTExtension

两个项目RTCore和RTExtension都应该能够利用Pods项目带来的所有框架。

我有以下Podfile(遗憾的是忽略了RTCore):

workspace 'RTComponents.xcworkspace'
platform :ios, "6.0"

xcodeproj 'RTCore/RTCore.xcodeproj'
xcodeproj 'RTExtension/RTExtension.xcodeproj'

link_with ['RTCore', 'RTExtension']

pod 'RestKit'
pod 'GoogleAnalytics-iOS-SDK'

我尝试了各种配置,但是cocoapods不想将自己介绍给RTCore。

0 个答案:

没有答案
相关问题