You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'dopod'Cool'# local development, no longer requires a defined :pathend
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.
Please add the following entry to the
plugins.json
file:cocoapods-localsource
cocoapods-localsource allows to import local development pods without specifying a path.
Installation
Usage
In your apps
Podfile
, require the gem and define the local module directory by passing the path tolocal_source
.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.
The text was updated successfully, but these errors were encountered: