@IBDesignable error: Failed to update auto layout status

后端 未结 2 427
时光取名叫无心
时光取名叫无心 2020-12-22 06:35

My project is shown me below error in storyboard, my project is build successfully also run successfully in simulator, but still error is exist when i open the storyboard. <

相关标签:
2条回答
  • 2020-12-22 06:53

    For Xcode 9.+ version You have to downgrade your pod repository to remove this problem. For this what you have to do.

    • Step1

    Steps which you have to follow

    sudo gem list cocoapods
    
    sudo gem uninstall cocoapods
    
    sudo gem install cocoapods -v 1.4.0
    
    • Step 2

    Go to your project Directory and Update Your Pod like

    pod update 
    
    • Step 3

    Clear your project as well as Derived Data.Build and run your project. This error will remove after this.

    ADD This Script on your POD File

    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
    

    Note:- if you are facing this issues on XCODE 10.+ Follow all the steps with sudo gem install cocoapods instead of sudo gem install cocoapods -v 1.4.0 it works for me.

    Hope this will help you.

    0 讨论(0)
  • 2020-12-22 07:14

    Try pod install, it temporary solves this problem

    0 讨论(0)
提交回复
热议问题