# pod-template-me **Repository Path**: ww2009/pod-template-me ## Basic Information - **Project Name**: pod-template-me - **Description**: 自定义pod-template https://github.com/CocoaPods/pod-template - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-06-08 - **Last Updated**: 2024-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README pod-template ============ ## 使用 终端执行: `pod lib create ProjectName --template-url=https://gitee.com/Zss1990/pod-template-me.git` ## 简述 ### 1. 简化了选项,官方模块的一些设置项设置成默认项: - `What platform do you want to use?", ["iOS", "macOS"]` ,默认为:iOS - `What language do you want to use?", ["Swift", "ObjC"]`, 默认为:ObjC - `Would you like to include a demo application with your library", ["Yes", "No"]`,默认为:Yes - `Which testing frameworks will you use", ["Specta", "Kiwi", "None"]`,默认为:None - `Would you like to do view based testing", ["Yes", "No"]`,默认为:No ### 2. 在spec中设置参数,支持参数化切换是二进制集成还是源码集成; pod intall 的参数化。。。 An opinionated template for creating a Pod with the following features: - Git as the source control management system - Clean folder structure - Project generation - MIT license - Testing as a standard - Turnkey access to Travis CI - Also supports Carthage ## Getting started There are two reasons for wanting to work on this template, making your own or improving the one for everyone's. In both cases you will want to work with the ruby classes inside the `setup` folder, and the example base template that it works on from inside `template/ios/`. ## Best practices The command `pod lib create` aims to be ran along with this guide: https://guides.cocoapods.org/making/using-pod-lib-create.html so any changes of flow should be updated there also. It is open to communal input, but adding new features, or new ideas are probably better off being discussed in an issue first. In general we try to think if an average Xcode user is going to use this feature or not, if it's unlikely is it a _very strongly_ encouraged best practice ( ala testing / CI. ) If it's something useful for saving a few minutes every deploy, or isn't easily documented in the guide it is likely to be denied in order to keep this project as simple as possible. ## Requirements: - CocoaPods 1.0.0+