Reference a CocoaPod from a local Swift Package

Viewed 157

I have an Xcode 11 iOS project where I have created a local Swift Package for some basic services.

I have also added CocoaPod support where I am using a CocoaPod (SwiftEntryKit) for some UI stuff in the main project (not the Swift Package) which works fine.

Now I would like to reference a new CocoaPod (SwifterSwift) from within the local Swift Package itself. Is this possible? It does not have access to the SwiftEntryKit Pod I am already using in the main project - if I import it, it does not know the modules.

If you cannot reference Cocoapods from a Swift Package it makes the package rather limiting.

Thanks.

0 Answers
Related