naoty / Timepiece

Intuitive date handling in Swift
MIT License
2.63k stars 147 forks source link

Swift 2.0, cocoapods 0.39.0 pod issue #42

Closed crarau closed 9 years ago

crarau commented 9 years ago

Using swift 2.0 with Cocoapods 0.39.0 I'm getting the issue below:

Pre-downloading: Timepiece from https://github.com/naoty/Timepiece.git, branch swift-2 fatal: No names found, cannot describe anything. [!] Unable to satisfy the following requirements:

Thx

naoty commented 9 years ago

@crarau Sorry for confusion. The support for swift 2.0 has been already merged into master. So, You should use master. Just now, I deleted swift-2 branch.

crarau commented 9 years ago

Yes, using master fixes the issue! Thanks!

a81j commented 9 years ago

I cannot use Master either now. Pre-downloading: Timepiece from https://github.com/naoty/Timepiece.git fatal: No names found, cannot describe anything. [!] Unable to satisfy the following requirements:

It look like this line in the pod spec is the issue: s.version = git describe --tags --abbrev=0

naoty commented 9 years ago

Just now, I successfully installed Timepiece by following Podfile. I use cocoapod 0.39.0 and ruby 2.2.2.

source "https://github.com/CocoaPods/Specs.git"

use_frameworks!

pod "Timepiece"

@retroneo, would you let me know about your environment such as versions and Podfile?

a81j commented 9 years ago

use_frameworks! platform :ios, '9.1' platform :watchos, '2.0' pod 'Timepiece', :git => 'https://github.com/naoty/Timepiece.git'

naoty commented 9 years ago

@retroneo Fixed. Would you try to install?

a81j commented 9 years ago

Excellent. Now working. Thanks.