New take on adding cocoapods support

Especially useful when combined with custom template overrides.