PSLocationManager icon indicating copy to clipboard operation
PSLocationManager copied to clipboard

Unable to setup PSLocationManager via CocoaPods

Open EvgenyKarkan opened this issue 11 years ago • 5 comments

[!] Unable to find a specification for PSLocationManager.

This error I received on pod install command.

Any suggestions?

EvgenyKarkan avatar Jan 31 '14 22:01 EvgenyKarkan

same. Was getting an unterminated string error.

devpascoe avatar Feb 07 '14 01:02 devpascoe

I found editing the Podfile using Text Wrangler instead of text edit put in the correct quote characters.

platform :ios, '7.0' pod 'PSLocationManager'

devpascoe avatar Feb 07 '14 01:02 devpascoe

But now i get '[!] Unable to find a specification for PSLocationManager.' Doesnt seem to be listed...https://github.com/CocoaPods/Specs

Ended up just importing the h and m files manually. Seriously cool location gear though. Was able to get going in minutes, thanks man!

devpascoe avatar Feb 07 '14 01:02 devpascoe

Creating a Cocoapod requires version tagging. And since this project doesn't have any version tags, I doubt the pod was successfully added to the specs repo. (I came here to paste a link to the documentation, but realized just now that the entire process has changed just today! It still requires version tagging though. I guess the new way involves some kind of pod trunk command.)

Details here: http://guides.cocoapods.org/making/making-a-cocoapod.html

mgrider avatar May 20 '14 22:05 mgrider

I was having the same issue, but after reading some of the cocoapods documentation I found a workaround. Instead of adding: " pod 'PSLocationManager' " to your podfile you can add: "pod 'PSLocationManager', :git => 'https://github.com/perspecdev/PSLocationManager.git' " and cocoapods will download straight from github, instead of having to go through whatever server cocoapods typically goes through.

I hope this helps you guys.

nlundie avatar May 22 '14 16:05 nlundie