So, I am trying to make a component used in several applications as a private cocoapod. It has a storyboard and a couple of images with versions @ 1x and @ 2x. The storyboard uses these images in UIImageViews.
Works great if images are placed as simple resources (and not as part of an object library).
If the images are in the asset library - in IB the images are displayed well, however, when the application crashes, it crashes at runtime and complains that it cannot see the images. Any ideas how to fix this?
--- UPD
I have a resource specified this way in podspec : s.resource_bundle = { 'PodResources' => 'Pod/resource/*.*' }. It copies the images in a separate package PodResources; Images are simply copied, and object libraries are compiled into a .car file.
source
share