Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/117.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 无法设置(d)用户定义的已检查属性_Ios_Swift - Fatal编程技术网

Ios 无法设置(d)用户定义的已检查属性

Ios 无法设置(d)用户定义的已检查属性,ios,swift,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

我的
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.

英雄主义是正确的


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

该框架不在
链接的框架和库中


通常,当我将框架放入podfile并安装pods时,它会自动导入到此列表。

检查herobutton的IBoutlet&最好将其类设置为UIButton没有Herobuton的IBoutlet&按钮的类为UIButton
IsHeroEnabled = On