pmusolino / PMAlertController

PMAlertController is a great and customizable alert that can substitute UIAlertController
MIT License
2.52k stars 187 forks source link

Got Error dependency `PMAlertController` is not used in any concrete target with pod 1.0.0 #8

Closed afiq90 closed 8 years ago

afiq90 commented 8 years ago

Why did I get this error when running pod install command?

The dependency PMAlertController is not used in any concrete target.

I'm using xcode 7.3 with objective-c project and pod version 1.0.0

Thanks in advance.

pmusolino commented 8 years ago

Hi @afiq90. Please, update to pod version 1.0.3. Objective-C is supported from the version 1.0.2.

Let me know.

afiq90 commented 8 years ago

I tried to uninstall and install my pod but it still given me version 1.0.0, how can I update version 1.0.3?

pmusolino commented 8 years ago

In your podfile, don't specify the version, like this:

pod 'PMAlertController'

then, call

pod update in Terminal.

Let me know.

afiq90 commented 8 years ago

thank you, after i ran pod update command, I tried pod install again and now it's successfully installed.