I modified a repo on Github to integrate a swift version of my library.
https://github.com/iDevelopper/PBRevealViewController
However when in a new project I try to pod install I get the error:
[!] Unable to satisfy the following requirements:
PBRevealViewController/Swift (= 1.2.3)
required by Podfile
None of your spec sources contain a spec satisfying the dependency: PBRevealViewController/Swift (= 1.2.3)
.
You have either:
* out-of-date source repos which you can update with pod repo update
or with pod install --repo-update
.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, pod repo update
does not happen on pod install
by default.
Some helps are welcome!
Please see the Cocoapods issue:
https://github.com/CocoaPods/CocoaPods/issues/6970#event-1213956994
I am not familiar this, but I also faced the same issue I followed the few steps
delete your podfile and regenerate your pod file once again use the following steps,
pod repo remove master
pod setup
pod install