Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podspec version #211

Open
nakp opened this issue Oct 2, 2018 · 1 comment
Open

Podspec version #211

nakp opened this issue Oct 2, 2018 · 1 comment

Comments

@nakp
Copy link

nakp commented Oct 2, 2018

Noticed you released and tagged version 5.0.0 but the podspec still points to 4.0.0, also there is an unreleased 4.0.1 (nor even 4.0.0 was released)

As these specs were not sent yet, you could delete the tag, update the podspec and tag it again before sending these podspec to cocoapods

@autumnssun
Copy link

autumnssun commented Nov 26, 2018

Take a look at the [https://github.com/CocoaPods/Specs/search?q=SwiftValidator&unscoped_q=SwiftValidator ](podspec trunk )
It looks like the trunk haven't been updated since 3.0.3.

I have updated the podspec file.

Pod::Spec.new do |s|
s.name = "SwiftValidator"
s.version = "5.0.0"
s.summary = "A UITextField Validation library for Swift"
s.homepage = "https://github.com/SwiftValidatorCommunity/SwiftValidator.git"
s.screenshots = "https://raw.githubusercontent.com/jpotts18/SwiftValidator/master/swift-validator-v2.gif"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.author = { "Jeff Potter" => "jeff.potter6@gmail.com" }
s.social_media_url = "http://twitter.com/jpotts18"
s.platform = :ios
s.swift_version = '4.2'
s.ios.deployment_target = '8.0'
s.source = { :git => "https://github.com/SwiftValidatorCommunity/SwiftValidator.git", :tag => s.version.to_s }
s.source_files = "SwiftValidator/**/*.swift"
s.exclude_files = "Validator/AppDelegate.swift"
s.frameworks = ['Foundation', 'UIKit']
s.requires_arc = true
end

try pushed it up with:
pod trunk push SwiftValidator.podspec --verbose
then I encounter this
You (autumns.sun@gmail.com) are not allowed to push new versions for this pod. The owners of this pod are jeff.potter6@gmail.com.`

I wonder if jeff.potter6@gmail.com can add me in the trunk as a collaborator. so we can push the new podspec.
Doing so will save us from having to include the git url and the branch in the podfile.
as well as allow us to build other POD using SwiftValidator as a Dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants