Search code examples
ioscocoapodspodspec

pod repo lint error: [!] An unexpected version directory `<a dir>` was encountered for the `<Parent Dir>` Pod in the `<Parent Dir>` repository


I am tryin to lint my pod spec and getting the following error.

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

My source folders are set as follows:

Classes - ios - osx

Podspec has source files as:

s.source_files = 'Classes/**/*.*'

Any ideas what is causing this error?


Solution

  • OK I was having a bad day. Should have been using:

    pod spec lint .