Skip to content

Instantly share code, notes, and snippets.

@OhKanghoon
Last active September 28, 2020 14:10
Show Gist options
  • Select an option

  • Save OhKanghoon/e9f9c8de83b2af4771c46885efe21b0e to your computer and use it in GitHub Desktop.

Select an option

Save OhKanghoon/e9f9c8de83b2af4771c46885efe21b0e to your computer and use it in GitHub Desktop.
project spec
name: Karrot
options:
defaultConfig: Production # 기본 configuration
createIntermediateGroups: true # path 로 그룹핑
tabWidth: 2 # tab 설정
indentWidth: 2 # indent 설정
groupSortPosition: top # sort 기준
postGenCommand: bundle exec pod install # 생성 이후 명령 실행
attributes:
ORGANIZATIONNAME: Hello # Organization Name
configs: # configuration 별 설정
Alpha: debug
Development: debug
Production: release
configFiles: # 프로젝트 xcconfig 파일을 등록
Alpha: Project-Alpha.xcconfig
Development: Project-Development.xcconfig
Production: Project-Production.xcconfig
fileGroups:
- Project-Shared.xcconfig
- ... # 타겟별 Shared xcconfig 파일 추가
- ... # Info.plist 파일들 추가
schemes:
Scheme1:
test:
config: Development # 해당 스킴의 동작별 config 설정 가능
include:
- Projects/AA/project.yml # 분리한 project 파일들을 추가 (타겟 파일들)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment