添加来一个class文件,在其他文件调用时,报下面这个错误:

undefined reference to `__objc_class_name_Test'

 

右击Test这个类的文件弹出Properties属性文件,勾选Build->Compile file/Link file复选框即可

相关文章:

  • 2021-05-02
  • 2021-05-27
  • 2021-05-09
  • 2021-07-04
  • 2021-05-06
  • 2021-07-29
  • 2022-12-23
  • 2021-09-23
猜你喜欢
  • 2021-06-15
  • 2021-06-24
  • 2021-07-11
  • 2021-12-15
  • 2022-02-03
  • 2022-03-12
  • 2022-12-23
相关资源
相似解决方案