是否有可能将一个cocoapod包含在另一个中?

时间:2022-04-01 22:58:22

I have a cocoapod which has dependency on another cocoapod, however I do not know how to add this dependency. I am unable to find any online tutorials for the same. Kindly let me know if there is a way we can add one pod into another

我有一个cocoapod依赖于另一个cocoapod,但我不知道如何添加这种依赖。我无法找到相同的在线教程。请告诉我是否有办法将一个吊舱添加到另一个吊舱中

1 个解决方案

#1


1  

you have to add below in you cocoapod podspec file:

你必须在下面添加cocoapod podspec文件:

spec.dependency 'SomeOtherPod'

#1


1  

you have to add below in you cocoapod podspec file:

你必须在下面添加cocoapod podspec文件:

spec.dependency 'SomeOtherPod'