There isn't really an accurate way.

Perhaps we can do https://github.com/CocoaPods/pod-template/issues/45 but abort and error if it's missing?