Boris-Em/BEMCheckBox

Error: IB Designables: Failed to render and update auto layout status

FattGuy opened this issue · 4 comments

I am getting this issue while my UIView conformed to BEMCheckBox. I tried all the solutions I can find from Stack Overflow, like clear the derived data, uncomment the use_frameworks! in Podfile, pod reintegrate, install, update. None of them fix it.

I'm facing exactly same issue. And after cleaning my project and building again, my xcode crashed due to some error on IB Compiler.

After that I'm able to compile, but still my xib isn't opening. During runtime its fine tho.

PaymentOnlineViewController.xib: error: IB Designables: Failed to render and update auto layout status for UIView (i5M-Pr-FkT): dlopen(BEMCheckBox.framework, 1): no suitable image found. Did find:
BEMCheckBox.framework: required code signature missing for 'BEMCheckBox.framework'

Simply add the following to your Podfile in order to resolve this issue. Make sure to pod install or pod update afterwards

  post_install do |installer|
    installer.pods_project.build_configurations.each do |config|
        config.build_settings.delete('CODE_SIGNING_ALLOWED')
        config.build_settings.delete('CODE_SIGNING_REQUIRED')
    end
  end

Source

Finally, it turns out if we only have one check box, it is fine. If we have two, Xcode will yell at you.

I was still getting errors, so I ended up manually import the files and it works.