How to add dynamic structure to inner block (static library)?

Our company is developing an internal module that contains all the libraries used by all the developers here.

Now I need to add a dynamic framework (more specifically: GoogleCast framework ) to this inner block and write some wrapper files to use the GoogleCast framework in the inner container.

In podspec we add a link to the GoogleCast framework and all dependencies:

s.frameworks = 'MediaAccessibility, Accelerate, AudioToolbox, AVFoundation, CoreBluetooth, CoreGraphic, CoreText, Foundation, MediaPlayer, MediaToolbox, QuartzCore, SystemConfiguration, UIKit'
s.vendored_frameworks = 'company / frameworks / GoogleCast.framework'

> pod update

The application can be compiled, but the GoogleCast structure was not found and caused a crash:

dyld: Library not loaded: @ rpath / GoogleCast.framework / GoogleCast
Referenced from: ... Library / Developer / CoreSimulator / Devices ...
Reason: image not found

Any help? Thanks to

Note. App supports iOS8 +

+3


source to share





All Articles