CocoaPods / cocoapods-stats

Statistics plugin for CocoaPods
MIT License
6 stars 6 forks source link

If cocoapods-stats is triggered for a machine before `pod setup` is ran and there is no master repo it crashes. #28

Closed jcampbell05 closed 8 years ago

jcampbell05 commented 8 years ago

Whilst fixing this https://github.com/jcampbell05/cocoapods-deploy/issues/3

I discovered that cocoapods-stats will crash if CocoaPods hasn't had pod setup ran. As a workaround in my plugin I set the environmental variable to disable cocoapods-stats unfortunately losing the statistics for CI builds (I will get around to fixing this on my side).

Expected behaviour should be that cocoapods-stats should abort uploading any statistics rather than crashing (perhaps log out the error).

segiddins commented 8 years ago

This ought to be fixed in CocoaPods beta 5.