I'm creating a pod and I have an image asset catalog I'd like to use. In my .podspec file, I have it set up like this:
s.resource_bundles = {
'MyPodResources' => ['*.xcassets']
}
and the Images.xcassets is in the root directory of the pod.
When I'm try to load images using imageNamed()
, it's just not working. I don't get an error or a warning but no images are displayed.
Here's the fun part - if I try to add an image in my Main.storyboard in the example application, I can select the image and it's showing up fine in the Interface Builder. However, when I run the example app, the image is not visible.
I've looked through all issues on GH and still can't find a solution to this ... Is it an Xcode 7/iOS 9 issue?
Thanks!