Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

13
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
13
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?