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

NoMethodError - undefined method `skip_import_validation=' when trying to trunk push a podspec #6697

Closed
mentzen opened this issue May 5, 2017 · 6 comments

Comments

@mentzen
Copy link

mentzen commented May 5, 2017

Command

/usr/local/bin/pod trunk push openEars1.podspec

Report

  • What did you do?

tried to push the podspec to CocoaPods

  • What did you expect to happen?

CocoaPods registers my podspec

  • What happened instead?

An Error Occured

Stack

   CocoaPods : 1.2.0
        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
    RubyGems : 2.6.11
        Host : Mac OS X 10.12.4 (16E195)
       Xcode : 8.3.1 (8E1000a)
         Git : git version 2.11.0 (Apple Git-81)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ ecfbfbd3fce400567f3fe9ba608b9797c330b0a3

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.2.0
cocoapods-try         : 1.1.0

Error

NoMethodError - undefined method `skip_import_validation=' for #<Pod::Validator:0x007f9b06c8e558>
/Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-1.2.0/lib/pod/command/trunk/push.rb:121:in `validate_podspec'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-1.2.0/lib/pod/command/trunk/push.rb:66:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
@mentzen mentzen changed the title NoMethodError when trying to trunk push a podspec NoMethodError - undefined method `skip_import_validation=' when trying to trunk push a podspec May 5, 2017
@AndriyGo
Copy link

AndriyGo commented May 5, 2017

+1

Am also seeing this issue

@orta
Copy link
Member

orta commented May 5, 2017

Can you try it on 1.2.1?

@mentzen
Copy link
Author

mentzen commented May 5, 2017

Well... i didn't expect something to change with the new version but apparently it works on 1.2.1.

@mentzen mentzen closed this as completed May 5, 2017
@AndriyGo
Copy link

AndriyGo commented May 5, 2017

Yep works for me too!

@helinyu
Copy link

helinyu commented Jul 3, 2017

my pod version is 1.1.1 ,and I see this issue , should i change it to 1.2.1 version?

@danielt1263
Copy link

FYI. I saw this issue on 1.2.0. I updated to 1.2.1 and it worked.

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

5 participants