CocoaPods / CocoaPods/cocoapods-plugins

[plugins.json] Add cocoapods-localsource

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
80
Forks
36
PR merge metrics
No merged PRs in 30d

Description

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
```bash
$ 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`.

```ruby
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](https://github.com/ohitsdaniel/cocoapods-localsource-example).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.