Ants
Ants

Reputation: 1338

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?

Upvotes: 6

Views: 4464

Answers (1)

Ants
Ants

Reputation: 1338

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

pod spec lint .

Upvotes: 9

Related Questions