Our company develops an internal pod that contains all libraries used by all developers here.
Now, I need to add a dynamic framework (more specific: GoogleCast framework) into this internal pod, and write some wrap up files to use GoogleCast framework in the internal pod.
In podspec, we add the link to GoogleCast framework, and all the 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 framework is not found and caused the crash:
dyld: Library not loaded: @rpath/GoogleCast.framework/GoogleCast Referenced from: ...Library/Developer/CoreSimulator/Devices ... Reason: image not found
Any helps? Thanks
Note: the app supports iOS8+