Search code examples
iosiphonestoryboardxcode9ibdesignable

Designables: Failed to render and update auto layout status. I am using Xcode 9.3


I am working with Xcode 9 and using Cocoa framework throws this error. I have tried all possible ways but not able to resolved it. enter image description here


Solution

  • So, if label is a lib in a pod, you probably are affected by a cocoapods bug; try to add this post_install in your podfile

    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
    

    I suggest you to remove all derived data and clean from xcode. Then, re-install pods with pod install