Xcode 8 - IB Designables - Failed to render and update auto layout status, The agent crashed

后端 未结 20 1025
半阙折子戏
半阙折子戏 2020-11-27 09:55

I recently upgraded to Xcode 8 and I am having issues with the Storyboard.

If I open the project and I don\'t have the Storyboard open, it will compile and run just

相关标签:
20条回答
  • 2020-11-27 10:46

    I tried clean and run the project won't solve this issue.

    But Close and reopened the project did.

    0 讨论(0)
  • 2020-11-27 10:46

    This is the easiest way for me: add this script to your Podfile

    Podfile:

    post_install do |installer|
      installer.pods_project.targets.each do |target|
        next if target.product_type == "com.apple.product-type.bundle"
        target.build_configurations.each do |config|
          config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
        end
      end
    end
    

    Source:

    This workaround for @IBDesignable can be found here: https://github.com/CocoaPods/CocoaPods/issues/5334

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