由于之前集成私有pod,遇到问题,

 默认的头文件目录设置为:s.public_header_files = ‘Pod/Classes/**/*.h’;但是如果Classes目录中,你的代码文件夹层次结构超过两级,就会出现以下错误: 
- ERROR | [iOS] file patterns: The public_header_files pattern did not match any file. 
这是因为文件夹层次结构过浅,导致无法找到对应的文件;如果你的文件夹层次结构有三级,就应该修改成:s.public_header_files = ‘Pod/Classes/* * /* * /*.h’;

 

 更多参考:http://guides.cocoapods.org/syntax/podspec.html#specification  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2021-04-21
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-05-21
猜你喜欢
  • 2022-12-23
  • 2021-07-31
  • 2021-09-22
  • 2021-03-28
  • 2022-12-23
相关资源
相似解决方案