Rasto
Rasto

Reputation: 17744

Creating a Cocoapod: CocoaPods could not find compatible versions for pod

I have created a pod. It is here: https://cocoapods.org/pods/FlexColorPicker. Here is the podspec file.

The problem is that I cannot install it with pod install. When runing it I get this:

CocoaPods could not find compatible versions for pod "FlexColorPicker":
In Podfile:
  FlexColorPicker
Specs satisfying the `FlexColorPicker` dependency were found, but they required a higher minimum deployment target.

However, the pod supports iOS 10.0 or higher (see podspec) and the project I am trying to include it in has deployment target 10.2. Where is the problem??

Second issue is thatCocoapods website does not seems to index my pod... It does not appear in seach results even for it's own name. You can try to search for FlexColorPicker here to see for yourself.

Any help is very appreciated.

Upvotes: 3

Views: 3404

Answers (2)

valosip
valosip

Reputation: 3402

Since you already figured out the first issue, I'll only address the second one.

How long has it been since you created and pushed the pod? It will take a while for it to show up in the search results, and thats normal. Give it a day for the first version. It will be much faster after that.

Upvotes: 2

Rasto
Rasto

Reputation: 17744

My bad. I did not notice that I had platform :ios, '9.0' in the podfile of the project that I am adding my pod to.

The second issue persists however.

Upvotes: 4

Related Questions