LoginSignup
13
8

More than 5 years have passed since last update.

CocoaPods1.5.0で導入したライブラリで@IBDesignableを指定したViewのStroyBoard上の描画でエラーになる。"IB Designables: Failed to render and update auto layout status for ViewController"

Posted at

CocoaPods経由で導入したライブラリで、 @IBDesignableを を指定したViewクラスをStoryBoard上に配置すると、描画で以下のようなエラーが起こります。(プロジェクトのビルドは通ります)

error: 
IB Designables: 
Failed to render and update auto layout status for ViewController (BYZ-38-t0r): 
dlopen(XXXX.framework, 1): 
no suitable image found.  
Did find: XXXX.framework: required code signature missing for 'XXXX.framework'

スクリーンショット 2018-05-13 14.13.30.png

1.5.0のまま使用するにいは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

参考

13
8
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
13
8