No release in over a year
A CocoaPods plugin to reduce effort executing local plugin code in a project
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

> 1.3
>= 0
 Project Readme

cocoapods-ezplugin

Test License Gem

A CocoaPods plugin to reduce effort executing local plugin code in a project.

Motivation

CocoaPods plugins are means to extend CocoaPods usage. However, the effort to create and maintain such a plugin is not optimal for iOS engineers.

Engineers sometimes place the gem code in the same project with iOS code for convenience. However, not all project contributors understand gem folder structure. They might get distracted by a scatter of non-iOS files even when only one of those files is of interest. Moreover, when creating a gem (ex. by running bundle gem <name>), there are many placeholders you have to fill in... just to make bundle install works.

This plugin helps engineers set up their (local) plugin code without caring much about how to properly organize a gem. Engineers just need to write their code in a file ezplugin.rb in the project.

Disclaimer: If you intend to write unit tests when developing the plugin code, this may not be a good choice.

Installation

Via Bundler:

# In Gemfile
gem "cocoapods-ezplugin"

Via RubyGems:

$ gem install cocoapods-ezplugin

Usage

Create a file ezplugin.rb in the project and place the code there.