Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plugins.json] Add cocoapods-localsource #97

Open
ohitsdaniel opened this issue Mar 15, 2019 · 0 comments
Open

[plugins.json] Add cocoapods-localsource #97

ohitsdaniel opened this issue Mar 15, 2019 · 0 comments

Comments

@ohitsdaniel
Copy link

ohitsdaniel commented Mar 15, 2019

Please add the following entry to the plugins.json file:

{
  "gem": "cocoapods-localsource",
  "name": "CocoaPods Localsource",
  "author": "Daniel Peter",
  "social_media_url": "https://twitter.com/Oh_Its_Daniel",
  "url": "http://rubygems.org/gems/cocoapods-localsource",
  "description": "Allows including local podspec dependencies withouth the need of an externally hosted pod repo"
}

cocoapods-localsource

cocoapods-localsource allows to import local development pods without specifying a path.

Installation

 $ gem install cocoapods-localsource

Usage

In your apps Podfile, require the gem and define the local module directory by passing the path to local_source.

  require 'cocoapods-localsource'

  local_source './LocalModules'

  target 'LocalModulesExample' do
    pod 'Cool' # local development, no longer requires a defined :path
  end

Benefits over using a Spec Repository

Using this cocoapods plugin allows us to keep all our source code in one central repository while keeping the benefits of a modularized app architecture. As all local dependencies are imported as development pods, engineers can edit source code without having to unlock the files.

Example project

An example project can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant