This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

using a cocoapod that is in a library that is in an app?

I am trying to use your swift iOSDFULibrary cocoapod. What I am doing is the following. I have a library written in swift. That library is where I have your iOSDFULibrary. I have a class object that imports your iOSDFULibrary. I can build my library just fine and I can access your cocoapod fine as well.

The problem I am having is when I try to use my library inside a test app that we have, which that test app is also written in swift. When I try to build my test app, it is telling me that it cannot find your cocoapod that is referenced in my library (ex via the import statement: import iOSDFULibrary).

I did try to add the iOSDFULibrary cocoapod to our test app as well and the error I had that it could not see the Zip cocoapod, which your iOSDFULibray cocoapod needs and is automatically installed when I install your cocoapod.

Has anyone seen or done anything like this? Am I supposed to do anything in the configuration so our app will recognize your iOSDFULibrary cocoapod and its dependency Zip cocoapod when those are installed inside my library? Any information on this would be great. Thanks.

Related