LoginSignup
33
21

More than 3 years have passed since last update.

IB Designables: Failed to render and update auto layout status が出たときの対処法

Last updated at Posted at 2018-06-15

IB Designables: Failed to render and update auto layout status が出たときの対処法

現象

iPhoneアプリ開発をしていて、CocoaPodsで落としてきたライブラリを利用したとき、Storyboardで「IB Designables: Failed to render and update auto layout status...」というエラーが出るときがあります。
その対処法です。

構成

  • Xcode 9.4.1
  • CocoaPods 1.5.3

対処方法

  1. 殆どの場合)  Xcodeを閉じる => pod update => Xcode 起動 => Xcode clean => Xcode build => 「Editor > Refresh All Views」
  2. 1で直らない場合)  Xcode 「Prefarences... > Locations > Derivied Data にあるパスの右にある矢印アイコンからDerivedDataフォルダをFinderに表示」 => DerivedDataをフォルダごと削除 => 1を最初から試す
  3. 2でも直らないとき)  CocoaPods pod --version => 1.5.0以上の時 Podfileにこれを追加
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

どうも1.5系のバグらしい。

33
21
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
33
21