Cocoapod: how to push spec to my private repo without lint?

Since no answers were done I assume it's impossible or it's not a good practice. So I've created common repo directories structures in repo, copied PodSpec file and committed/pushed it. After that I was able to use it just like it was pushed using pod repo push ...


When I need to do that I perform the following steps:

  1. Open the CocoaPods script file with a text editor:

    ❯ atom /Library/Ruby/Gems/2.0.0/gems/cocoapods-trunk-1.2.0/lib/pod/command/trunk/push.rb

  2. Comment the validating line:

enter image description here

  1. Try to publish the pod again.

Don't forget to undo the change. If the project maintainers do not add a flag for this, they have their reasons.