我有个问题:
error: IB Designables: Failed to update auto layout status: dlopen(My.app, 1): no suitable image found. Did find:
My.app: can't map unslidable segment __TEXT to 0x100000000 with size 0x1050000
我有 ImageButton 控件(例如):
IB_DESIGNABLE
@interface ImageButton : UIControl
{
@private
IBOutlet UIView *view
__weak IBOutlet UIImageView *imageView;
}
@property (strong, nonatomic) IBInspectable NSString *imageName;
一旦我在 Interface Builder 中使用它,我就会收到错误消息。我可以构建和运行应用程序,当我进入视图时,它会正确呈现。当我在 Interface Builder 中时出现问题,我没有正确呈现预览。
条件:(http://opensource.apple.com/source/dyld/dyld-239.3/src/ImageLoaderMachO.cpp?txt)并没有告诉我太多。
我错过了什么?