Skip to content

Instantly share code, notes, and snippets.

@serhatsezer
Created June 12, 2020 10:25
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 serhatsezer/b370670590fe0d7f2aac09995200f0b9 to your computer and use it in GitHub Desktop.
Save serhatsezer/b370670590fe0d7f2aac09995200f0b9 to your computer and use it in GitHub Desktop.
name: MyApp
targetTemplates:
Module:
platform: iOS
type: framework
deploymentTarget: "10.0"
sources:
- path: Modules/${target_name}
group: MyApp/Modules
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.myapp.$(SWIFT_MODULE_NAME)
TARGETED_DEVICE_FAMILY: 1
SWIFT_VERSION: 5.0
SUPPORTS_MACCATALYST: NO
options:
developmentLanguage: "en-GB"
targets:
MyApp:
platform: iOS
type: application
deploymentTarget: "10.0"
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.myapp.$(SWIFT_MODULE_NAME)
TARGETED_DEVICE_FAMILY: 1
SWIFT_VERSION: 5.0
SUPPORTS_MACCATALYST: NO
sources:
- path: MyApp
dependencies:
- target: Core
- target: Discovery
- target: Merchant
- target: CommonUI
- target: Services
scheme:
gatherCoverageData: true
testTargets:
- name: MyAppTests
parallelizable: false
randomExecutionOrder: true
info:
path: MyApp/App/Info.plist
properties:
CFBundleName: MyApp
CFBundleDisplayName: MyApp
CFBundleIcons: {}
ITSAppUsesNonExemptEncryption: false
LSRequiresIPhoneOS: true
UIAppFonts: [ ]
UILaunchStoryboardName: LaunchScreen
UIRequiredDeviceCapabilities: [armv7]
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
UIViewControllerBasedStatusBarAppearance: YES
MyAppTests:
platform: iOS
type: bundle.unit-test
deploymentTarget: "10.0"
sources:
- MyAppTests
settings:
base:
SWIFT_VERSION: 5.0
# Modules
Core:
templates:
- Module
Discovery:
templates:
- Module
dependencies:
- target: Core
- target: CommonUI
- target: Services
Merchant:
templates:
- Module
CommonUI:
templates:
- Module
Services:
templates:
- Module
dependencies:
- target: Core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment