如果你想引用头文件,且头文件里是引用.h的文件 ,你需要注意

  1.在Build Settings下 找到Swift Compiler - Code Generation 下的 Objective-C Bridging Header 选项,并将其值设值为你的头文件路径

  2.Apple LLVM 7.0 - Language - Modules 》》Enable Modules(C and Objective-C) 》》Yes

 

相关文章:

  • 2021-05-14
  • 2021-12-04
  • 2021-08-28
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-10-13
  • 2021-04-20
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案