-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yml
100 lines (92 loc) · 2.81 KB
/
project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# ${PROJECT_NAME}
#
# Doc: https://github.com/yonaskolb/XcodeGen
#
name: ${PROJECT_NAME}
options:
developmentLanguage: pt-BR
deploymentTarget:
iOS: '16.0'
localPackages:
- Packages/AppNavigationKit
- Packages/UtilKit
- Packages/NetworkKit
# packages:
# SamplePackageName:
# url: https://github.com/SamplePackageName
# exactVersion: X.X.X
configs:
Development: debug
Production: release
targets:
####################
# Main app
####################
${PROJECT_NAME}:
type: application
platform: iOS
configFiles:
Development: Config/dev.xcconfig
Production: Config/prd.xcconfig
settings:
base:
ASSETCATALOG_COMPILER_APPICON_NAME: $(APP_ICON)
PRODUCT_NAME: ${PROJECT_NAME}
ONLY_ACTIVE_ARCH: YES
DEVELOPMENT_TEAM: $(DEVELOPMENT_TEAM)
CODE_SIGN_IDENTITY: "iPhone Distribution"
CODE_SIGN_STYLE: Manual
PROVISIONING_PROFILE_SPECIFIER: $(PROVISIONING_PROFILE_SPECIFIER)
SWIFT_VERSION: $(SWIFT_VERSION)
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
CURRENT_PROJECT_VERSION: $(CURRENT_PROJECT_VERSION)
OTHER_LDFLAGS: ["$(inherited)", "-ObjC"]
FRAMEWORK_SEARCH_PATHS: ["$(inherited)", "$(PROJECT_DIR)"]
PRODUCT_BUNDLE_IDENTIFIER: $(BUNDLE_IDENTIFIER)
sources:
- ${PROJECT_NAME}
resources:
- ${PROJECT_NAME}/Application/Resources
# InfoPlist Configurations
info:
path: Config/Info.plist
properties:
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
CFBundleIdentifier: $(BUNDLE_IDENTIFIER)
CFBundleDisplayName: $(APP_DISPLAY_NAME)
ITSAppUsesNonExemptEncryption: NO
UIStatusBarStyle: UIStatusBarStyleLightContent
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UILaunchStoryboardName: LaunchScreen
UIRequiredDeviceCapabilities:
- armv7
ENVIRONMENT: $(ENVIRONMENT)
entitlements:
path: Config/${PROJECT_NAME}.entitlements
properties:
com.apple.security.application-groups:
- group.com.appgroup.sample.${PROJECT_NAME}
dependencies:
- package: AppNavigationKit
- package: UtilKit
- package: NetworkKit
schemes:
${PROJECT_NAME}:
run:
config: Development
archive:
config: Production
build:
targets:
${PROJECT_NAME}: all
parallelizeBuild: true
buildImplicitDependencies: true