在同一个项目中使用私人吊舱和公共吊舱
问题描述:
我刚将一个私人吊舱推到my.domain.com:apps/MyPrivatePod.git
。我想在我的项目中使用这个专用吊舱和其他公共吊舱在同一个项目中使用私人吊舱和公共吊舱
platform :ios, '8.0'
target 'Testing' do
pod 'AFNetworking', '2.6.0 ' // This is supposed to be a public Pod
pod 'MyPrivatePod', '~> 1.1' // This is the private pod I talked about
end
我该如何实现这一目标?
答
使用此并更改路径为您的私人舱路径
platform :ios, '8.0'
target 'Testing' do
pod 'AFNetworking', '2.6.0 ' // This is supposed to be a public Pod
pod 'MyPrivatePod', '~> 1.1' , :path => 'libraries/MyPrivatePod/'
end
希望这有助于你
@ 7ball让我知道如果这能解决你的问题 –