jinSasaki / InAppPurchase

A Simple and Lightweight framework for In App Purchase (Store Kit 1)
MIT License
288 stars 30 forks source link

cocoapods not working #14

Closed dboydor closed 5 years ago

dboydor commented 6 years ago

I added this line to my podfile:

pod 'InAppPurchase'

then call "pod install" and I get this error:

[!] Unable to find a specification forInAppPurchase``

My other pod dependencies work correctly (ie. PromiseKit, SwiftyJSON, etc)

jinSasaki commented 6 years ago

@dboydor I succeeded the installation via cocoapods in this environment.

Podfile

target 'test' do
  use_frameworks!
  pod 'InAppPurchase'
end
$ pod install
Analyzing dependencies
Downloading dependencies
Installing InAppPurchase (2.0.1)
Generating Pods project
Integrating client project

I guess that your local pod repo version is old. 🤔 I recommend updating cocoapods to the latest version, and executing the following commands. 😄

$ pod repo update
$ pod install
jinSasaki commented 5 years ago

It seems to me that it was resolved because there is no reply. I close this issue. Please reopen or create new issues if you have problems. Thanks! 😄