Skip to content

tvOS CocoaPods error

Evgenii Neumerzhitckii edited this page May 28, 2016 · 5 revisions

In a tvOS app that uses CocoaPods setup method it may show the following error when trying to set CosmosView in the Interface Builder:

Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(Cosmos.framework, 1): Library not loaded: @rpath/libswiftCore.dylib Referenced from: Cosmos.framework Reason: image not found

This error does not always show up but if it does here is how to fix it:

  • Select the "Cosmos" target in the "Pods" project.
  • Set the "Embedded Content Contains Swift Code" to "Yes" in the "Build settings".

tvOS embedded content contains swift

Related materials

Clone this wiki locally