FlatButton icon indicating copy to clipboard operation
FlatButton copied to clipboard

CocoaPods installs an outdated version of FlatButton

Open FelixLisczyk opened this issue 8 years ago • 2 comments

Podfile

use_frameworks!

target 'test' do
  platform :osx, '10.13'
  pod 'FlatButton'
end

Terminal

$ pod install
Analyzing dependencies
Downloading dependencies
Installing FlatButton (1.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

Notice that CocoaPods installs version 1.2 although version 1.4 is the latest release. I assume you have to update the master repo?

https://github.com/CocoaPods/Specs/tree/master/Specs/9/7/f/FlatButton

Thank you!

As a workaround for others, you can specify this repo in the podfile directly. This will install the latest version.

pod 'FlatButton', :git => 'https://github.com/OskarGroth/FlatButton.git'

FelixLisczyk avatar Nov 05 '17 17:11 FelixLisczyk

Thanks for sharing this..

grantkemp avatar Jan 22 '18 23:01 grantkemp

Can you update the cocoapods.org site with the latest version? It would be very helpful to maintain clean Podfile. Thanks a lot.

itsdamslife avatar May 02 '19 16:05 itsdamslife