IBDesignable IBInspectable

IBDesignable和IBInspectable(xcode的所见即所得)

蓝框即为构建失败.png

解决方案: https://stackoverflow.com/questions/27374330/ibdesignable-error-ib-designables-failed-to-update-auto-layout-status-interf

  1. cmd + Q (偶尔可以)
  2. Try deleting derived data. 1. Close Editor window of your Xcode and quit simulator -> 2. Go to Xcode Preferences -> Locations -> 3. Click small grey arrow showing derived data path -> 4. Select your project -> 5. Delete all the folders inside -> 6. Quit Xcode and reopen (强烈建议)

最终效果如下 Updating --- Up to date


右侧Designable 状态变化.gif

你可能感兴趣的:(IBDesignable IBInspectable)