0

Currently i'm trying to change icon image from designables image

I have main project with bundle com.abc.def (firstbundle) I put the image on another bundle com.abc.ghi (another framework connected to main project)

When i set the image on viewcontroller (in the first bundle), the image shown in the interface builder. (2nd image)

But when i run it on simulator, the image is not shown. And there is error in console

Could not load the "hide" image referenced from a nib in the bundle with identifier com.abc.def -> This error means, xcode try to find image from first bundle not from second bundle. How to make it also check image from second bundle ?

The problem is only if i using designable option from XIB. If i'm not using it, just define directly inside source code "remove @IBInspectable from the 1st image" (from another bundle). The image shown correctly

enter image description here

enter image description here

lauwis
  • 323
  • 1
  • 4
  • 15

0 Answers0