Skip to content

[plugins.json] Add cocoapods-localsource #97

Open
@ohitsdaniel

Description

@ohitsdaniel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions