I use Cocoapods to integrate my lib into other projects.
For my lib to work, the hosting application must include other iOS frameworks, such as SystemConfiguration, CoreTelephony
and an iOS library: libicucore.tbd
.
My question is, can I add these dependencies to my podspec file so these framework and lib will be added automatically to the hosting application, once my lib is installed via Cocoapods?
I looked for hours and couldn't find the way to do so, or my trials failed.
ADDITIONS:
This is what I added to my podspec:
s.frameworks = 'SystemConfiguration', 'CoreTelephony', 'Security'
Tried this as well:
s.vendored_frameworks = 'SystemConfiguration.framework', 'CoreTelephony.framework', 'Security.framework'
I created a test project and added my lib to it using Cocoapods. Lib was added successfully, but the frameworks are not included in the project.