Skip to content
Allows to link local development pods without specifying a path.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
cocoapods-localsource.gemspec
podfileedit.gif

README.md


Gem Version

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

Required folder structure

local_source requires a simple folder structure. All folders contained at the contained path are treated as individual modules. cocoapods-localsource supports multiple podspecs in one module folder.

App
- LocalModules
-- Local Dependency A
--- A.podspec
-- Local Dependency B
--- B.podspec
--- B-Star.podspec

Example project

An example project can be found here.

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.

You can’t perform that action at this time.