Cocoapods dependencies on dynamic framework module

I have an application that has three goals:

  • Application purpose
  • General dynamic structure
  • Keyboard extension

An Xcode project defines a shared as a target dependency in the app and keyboard (the library has the code that is required by both).

My subfile has a "target" block for each target where I define dependencies. My guess now was that any libraries included under "Shared" as Cocoapods dependencies would also be available to Xcode's App and Keyboard targets thanks to this. This does not seem to be the case at this point. If I instead try to import the specified dependency for all three targets, I get duplicate characters.

Can someone explain to me the correct way to achieve what I am looking for?


source to share

All Articles