Skip to content

Instantly share code, notes, and snippets.

@unnamedd
Created May 18, 2015 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unnamedd/f81901df9e560e2ff857 to your computer and use it in GitHub Desktop.
Save unnamedd/f81901df9e560e2ff857 to your computer and use it in GitHub Desktop.
my personal liftoffrc to create new xcode projects
############################################################################
# The following keys can be used to configure defaults for project creation
# project_name:
company: Concrete Solutions
author: Thiago Holanda
# prefix:
company_identifier: br.com.concretesolutions
############################################################################
test_target_name: UnitTests
configure_git: true
warnings_as_errors: true
enable_static_analyzer: true
indentation_level: 4
use_tabs: false
use_cocoapods: true
enable_settings: true
strict_prompts: false
deployment_target: 8.0
run_script_phases:
- file: bundle_version.sh
name: Set version number
templates:
- travis.yml: .travis.yml
- Gemfile.rb: Gemfile
- test.sh: bin/test
- setup.sh: bin/setup
- README.md: README.md
warnings:
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED
- GCC_WARN_MISSING_PARENTHESES
- GCC_WARN_ABOUT_RETURN_TYPE
- GCC_WARN_SIGN_COMPARE
- GCC_WARN_CHECK_SWITCH_STATEMENTS
- GCC_WARN_UNUSED_FUNCTION
- GCC_WARN_UNUSED_LABEL
- GCC_WARN_UNUSED_VALUE
- GCC_WARN_UNUSED_VARIABLE
- GCC_WARN_SHADOW
- GCC_WARN_64_TO_32_BIT_CONVERSION
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS
- GCC_WARN_ABOUT_MISSING_NEWLINE
- GCC_WARN_UNDECLARED_SELECTOR
- GCC_WARN_TYPECHECK_CALLS_TO_PRINTF
- GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
- CLANG_WARN_IMPLICIT_SIGN_CONVERSION
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION
- CLANG_WARN_EMPTY_BODY
- CLANG_WARN_ENUM_CONVERSION
- CLANG_WARN_INT_CONVERSION
- CLANG_WARN_CONSTANT_CONVERSION
xcode_command: open -a 'Xcode' .
project_template: objc
app_target_templates:
objc:
- <%= project_name %>:
- frameworks:
- resources:
- fonts:
- images:
- Images.xcassets
- storyboard:
- Main.storyboard
- xibs:
- LaunchScreen.xib
- sourcecode:
- app:
- <%= prefix %>AppDelegate.h
- <%= prefix %>AppDelegate.m
- controllers:
- models:
- services:
- main.m
- utils:
- supportingfiles:
- Info.plist
- <%= project_name %>-Prefix.pch
swift:
- <%= project_name %>:
- Extensions:
- Protocols:
- Models:
- ViewModels:
- Controllers:
- AppDelegate.swift
- Views:
- Resources:
- Images.xcassets
- Storyboards:
- Main.storyboard
- Nibs:
- LaunchScreen.xib
- Other-Sources:
- Info.plist
test_target_templates:
objc:
- <%= test_target_name %>:
- Resources:
- <%= test_target_name %>-Info.plist
- <%= test_target_name %>-Prefix.pch
- Helpers:
- Tests:
swift:
- <%= test_target_name %>:
- Resources:
- <%= test_target_name %>-Info.plist
- Helpers:
- Tests:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment