How to add private depedency inside of Podspec when building a framework?

Hello, I am afraid I won’t create a framework before deadline… Basically we are creating a compiled framework which will distributed with cocoaPods… Right now I need to add dependency to that Framework, but added dependency is not ours and it is not publicly available from CocoaPods, because it has a specific path…

It is easy to integrate with PodFile, but I cannot integrate it inside of PodSpec as a dependency because CocoaPods can’t find it… I even have a compiled dynamic framework of that third party library, but I can’t embed it inside of our framework too… I tried static frameworks, umbrella frameworks and everything resulted into issues…

Right now I only need to add that third party depedency inside of our PodSpec and it would work well, without any umbrella frameworks…

If someone knows a correct way of distributing a framework with another framework please suggest something.

@wellbranding Please check out our tutorial when you get a chance:

https://www.raywenderlich.com/5109-creating-a-framework-for-ios

I hope it helps!

@shogunkaramazov no… Here is our well defined problem:
ios - #if canImport() does not find frameworks with CocoaPods - Stack Overflow

This topic was automatically closed after 166 days. New replies are no longer allowed.