1 2 3 4 5 |
ViewController.xib: error: IB Designables: Failed to render and update auto layout status for UIView (i5M-Pr-FkT): dlopen(Module.framework, 1): no suitable image found. Did find: Module.framework: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A ViewController.xib: error: IB Designables: Failed to update auto layout status: dlopen(Module.framework, 1): no suitable image found. Did find: Module.framework: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A |
我知道使用 IB_DESIGNABLE,IBInspectable可以实现xib中动态配置属性。
but,最近某个使用IB_DESIGNABLE的类放在了Framework静态库中,xib/storyboard放在了bundle中。结果就报这个错了。google了半天也没解决办法。
下边这些库同样遇到了这个尴尬。
Designable的确是个很好的概念,不过苹果并没有修复和增强他。很遗憾。
https://github.com/CocoaPods/CocoaPods/issues/2792
https://github.com/TTTAttributedLabel/TTTAttributedLabel/issues/460
转载请注明:天狐博客 » IB Designables: Failed to render and update auto layout status....,no suitable image found