无法设置(heroID)用户定义的检查属性

时间:2017-06-15 09:19:28

标签: ios swift

我遇到了Hero的问题,首先我尝试在我的项目中使用Hero而我无法使其工作,然后尝试使其适用于故事板在示例项目中,但我收到此错误。

Failed to set (heroID) user defined inspected property on (UIButton): [<UIButton 0x100f1a700> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key heroID.

我不知道该怎么做:

IsHeroEnabled = On

storyboard

HeroID非常严谨。storyboard2

请帮助我,我已经阅读了互联网上的所有内容,但我找不到解决方案。

1 个答案:

答案 0 :(得分:0)

The Framework was not in Linked Frameworks and Libraries caprute

Normally when I put a framework in podfile and install pods it is automatically imported to this list.