【发布时间】:2014-01-04 02:02:30
【问题描述】:
我正在将 one of my github repos(如果有帮助,请在此处提供完整代码)与 Cocopods 集成,当我运行 pod spec lint 时出现此错误。
-> DropDownMenu (0.0.1)
- ERROR | [iOS] The `source_files` pattern did not match any file.
这是我的.podspec 的相关代码,我认为这是导致问题的原因。
s.source_files = 'Classes/*.{h,m}'
s.source_files = 'Classes/DropDownMenu.{h,m}'
s.source_files = 'Classes'
s.source_files = 'Classes/**/*.{h,m}'
我的s.source_files 字段不正确吗?还是我对.podspec 做错了什么?我该怎么做才能解决这个问题?
我的问题类似于this question,但是该解决方案对我不起作用(我的代码已在 Github 上更新)。
【问题讨论】: