HCSStarRatingView: Error with preview in storyboard

Within Xcode 7.0.1 I get the following error in the storyboard:

file:///../Main.storyboard: error: IB Designables: Failed to update auto layout status: The bundle “$(PRODUCT_NAME)” couldn’t be loaded because its executable couldn’t be located.

And there is no preview of the component

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

It’s an issue with CocoaPods 1.5, not this specific component - see here for solution: https://stackoverflow.com/a/50002531/1233767

It seems IB_DESIGNABLE does not work with static libraries. I made it work by telling cocoapod to build dynamic framework instead of static lib. My working sample pod setup is:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

use_frameworks!

pod 'HCSStarRatingView'

Really nice cocoa control btw, gz 👍