[GH-ISSUE #312] Can we tag latest commits? #189

Closed
opened 2026-03-03 16:46:31 +03:00 by kerem · 1 comment
Owner

Originally created by @robertmryan on GitHub (Nov 14, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/312

Description:

When I update via Carthage 0.18.1, I get the following error:

$ carthage update --platform macOS
*** Fetching OAuthSwift
*** Checking out OAuthSwift at "1.1.0"
*** xcodebuild output can be found in /var/folders/jr/lhvt2ks57fg_fwtz8mnmwxr80000gn/T/carthage-xcodebuild.FHfXl7.log
*** Building scheme "OAuthSwiftOSX" in OAuthSwift.xcworkspace
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any
/Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:137:53: warning: expression implicitly coerced from 'Error?' to Any

In diagnosing this, it appears that these have been fixed in commits subsequent to the last tag. Can we please add a new tag when we do fixes so that Carthage will grab these. If you don't tag it, Carthage won't grab it.

When I forked it and added a tag bumping the revision number, as shown below, it got the latest and greatest:

$ git tag -a 1.1.1 -m "Version 1.1.1"
$ git push --tags

When I did that, and then changed the Cartfile to point to my fork, it worked fine.

I can submit this as a pull request, but it seems that incrementing the revision number should just be part of every commit.

OAuth Provider (Twitter, Github, ..):

N/A

OAuth Version:

  • Version 1
  • Version 2

OS (Please fill the version) :

  • iOS :
  • macOS :
  • tvOS :
  • watchOS :

Installation method:

  • Carthage
  • CocoaPods
  • Manually

Library version:

  • head
  • v1.0.0
  • v0.6
  • other: (Please fill in the version you are using.)

Xcode version:

  • 8.1 (Swift 3.0)
  • 8.0 (Swift 2.3)
  • 7.3.1
  • other: (Please fill in the version you are using.)
  • objective c
Originally created by @robertmryan on GitHub (Nov 14, 2016). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/312 ### Description: When I update via Carthage 0.18.1, I get the following error: <pre> $ carthage update --platform macOS *** Fetching OAuthSwift *** Checking out OAuthSwift at "1.1.0" *** xcodebuild output can be found in /var/folders/jr/lhvt2ks57fg_fwtz8mnmwxr80000gn/T/carthage-xcodebuild.FHfXl7.log *** Building scheme "OAuthSwiftOSX" in OAuthSwift.xcworkspace /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:142:42: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:55: warning: expression implicitly coerced from 'String?' to Any /Users/rryan/.../Carthage/Checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:137:53: warning: expression implicitly coerced from 'Error?' to Any </pre> In diagnosing this, it appears that these have been fixed in commits subsequent to the last tag. Can we please add a new tag when we do fixes so that Carthage will grab these. If you don't tag it, Carthage won't grab it. When I forked it and added a tag bumping the revision number, as shown below, it got the latest and greatest: <pre> $ git tag -a 1.1.1 -m "Version 1.1.1" $ git push --tags </pre> When I did that, and then changed the `Cartfile` to point to my fork, it worked fine. I can submit this as a pull request, but it seems that incrementing the revision number should just be part of every commit. ### OAuth Provider (Twitter, Github, ..): N/A ### OAuth Version: - [ ] Version 1 - [ ] Version 2 ### OS (Please fill the version) : - [ ] iOS : - [x] macOS : - [ ] tvOS : - [ ] watchOS : ### Installation method: - [x] Carthage - [ ] CocoaPods - [ ] Manually ### Library version: - [x] head - [ ] v1.0.0 - [ ] v0.6 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [x] 8.1 (Swift 3.0) - [ ] 8.0 (Swift 2.3) - [ ] 7.3.1 - [ ] other: (Please fill in the version you are using.) - [ ] objective c
kerem 2026-03-03 16:46:31 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@phimage commented on GitHub (Nov 14, 2016):

done
thx

<!-- gh-comment-id:260269260 --> @phimage commented on GitHub (Nov 14, 2016): done thx
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#189
No description provided.