pod repo lint错误:[!]在`<Parent Dir>`存储库中遇到'<Parent Dir>`Pod的意外版本目录``dir>`

Ant*_*nts 5 ios cocoapods podspec

我试着lint我的pod规范并得到以下错误.

[!] An unexpected version directory 'ios' was encountered for the 'Classes' Pod in the 'Classes' repository.

我的源文件夹设置如下:

类 - ios - osx

Podspec的源文件如下:

s.source_files = 'Classes/**/*.*'
Run Code Online (Sandbox Code Playgroud)

是什么原因造成了这个错误?

Ant*_*nts 9

好的,我今天过得很糟糕.应该一直在使用:

pod spec lint.

  • 我已经看过这个问题并回答了十二遍,每次您的“确定,我今天过得很糟糕。”当我在控制台中键入“ pod spec lint。”时,我都会大笑。 (2认同)