gpt4 book ai didi

ios - 架构 arm64 的 undefined symbol : "_OBJC_CLASS_$_RadioUIButton"

转载 作者:行者123 更新时间:2023-11-29 11:38:45 25 4
gpt4 key购买 nike

我正在尝试创建自定义 UIButton。这是我的 .h 类:

@interface RadioUIButton : UIButton

@property (strong) NSString* stringTag;

@end

当我尝试从 FeedbackViewController.m 访问该类时,出现此错误:

Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RadioUIButton", referenced from: objc-class-ref in FeedbackViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

到目前为止我尝试了什么:

Enable Bitcode: set to NO

Build Active Architecture only: set to NO

以上均无效。我还能尝试什么?

最佳答案

检查是否为该类检查了目标成员资格。对于您的项目,选择 RadioUIButton.m 文件并检查。

enter image description here

关于ios - 架构 arm64 的 undefined symbol : "_OBJC_CLASS_$_RadioUIButton",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47727756/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com