Step 1:
Make shure that session is registered.
$ pod trunk me
Step 2:
Start session if not registered.
$ pod trunk register orta@cocoapods.org 'Orta Therox' --description='macbook pro'
Step 3:
Check for syntax errors in podfile.
$ pod lib lint
Step 4:
Check for build errors.
$ pod spec lint
Step 5:
Push if spec ok.
$ pod trunk push [NAME.podspec]
Note source: https://guides.cocoapods.org/making/getting-setup-with-trunk.html
In case if 'None of your spec sources contain a spec satisfying the dependencies':
$ pod repo update