[iOS] file patterns: The `public_header_files` pattern did not match any file.

由于之前集成私有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  

原文地址:https://www.cnblogs.com/DafaRan/p/7524607.html