PodGenerator is a command line tool written in Swift that generates your Pod base development workspace with framework and sample app targets.
- Easy setup for a modularized project.
- Create a framework prepared to be distributed using CocoaPods as local or remote, private or public pod.
- Provide a configured workspace for the framework source code with integrated unit tests and a sample app for UX tests simulations.
git clone https://github.com/CaueAlvesSilva/PodGenerator.git
cd PodGenerator
make install
Coming soon...
Navigate to your repo directory and simply run:
podgen YourPodName
The below folders and files structure will be created:
YourPodName
│ - Gemfile
│ - Podile
│ - project.yml
│ - YourPodName.podspec
└── YourPodName
│ │ - Info.plist
│ │ - YourPodName.h
│ └── Classes
│ │ - YourPodName.swift
└── YourPodNameTests
│ │ - Info.plist
│ │ - YourPodNameTests.swift
└── SampleApp
│ │ - project.yml
│ └── SampleApp
│ │ - AppDelegate.swift
│ │ - Info.plist
│ │ - Assets.xcassets
│ │ - Main.storyboard
│ │ - LaunchScreen.storyboard
│ │ - ViewController.swift
Then, a script using brew will install and execute XcodeGen and Bundler to respectively generate the .xcodeproj
and .xcworkspace
.
This tool is powered by:
PodGenerator is licensed under the MIT license. See LICENSE for more info.