-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
90 lines (80 loc) · 2.33 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
name: ESFramework
options:
bundleIdPrefix: com.0x123
createIntermediateGroups: true
usesTabs: false
indentWidth: 4
tabWidth: 4
deploymentTarget:
iOS: '9.0'
tvOS: '9.0'
macOS: '10.10'
watchOS: '2.0'
attributes:
CLASSPREFIX: ES
ORGANIZATIONNAME: 'https://0x123.com'
settings:
MARKETING_VERSION: 3.27.7
CURRENT_PROJECT_VERSION: 3
# Fix warning for Xcode 11.3: Enable "Missing Localizability"
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
# Xcode 12 default setting
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: YES
targetTemplates:
Framework:
type: framework
scheme: {} # To generate default shared schemes: https://github.com/yonaskolb/XcodeGen/issues/215
sources:
- ESFramework
- Supporting Files/Info.plist
settings:
PRODUCT_NAME: ESFramework
APPLICATION_EXTENSION_API_ONLY: YES
Example:
type: application
scheme: {} # To generate default shared schemes: https://github.com/yonaskolb/XcodeGen/issues/215
sources: ["Examples/${target_name}"]
settings:
DEVELOPMENT_TEAM: B86YZY7YJX
targets:
ESFramework:
platform: [iOS, tvOS, macOS, watchOS]
templates: [Framework]
iOS Example:
platform: iOS
templates: [Example]
settings:
CODE_SIGN_ENTITLEMENTS: Examples/${target_name}/${target_name}.entitlements
SUPPORTS_MACCATALYST: YES
dependencies:
- target: ESFramework_iOS
- target: watchOS Example # TODO: Need `platformFilter` https://github.com/yonaskolb/XcodeGen/issues/900
tvOS Example:
platform: tvOS
templates: [Example]
dependencies:
- target: ESFramework_tvOS
macOS Example:
platform: macOS
templates: [Example]
settings:
CODE_SIGN_ENTITLEMENTS: Examples/${target_name}/${target_name}.entitlements
CODE_SIGN_IDENTITY: '-'
dependencies:
- target: ESFramework_macOS
watchOS Example:
platform: watchOS
type: application.watchapp2
templates: [Example]
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.0x123.iOSExample.watchkitapp
dependencies:
- target: watchOS Example Extension
watchOS Example Extension:
platform: watchOS
type: watchkit2-extension
templates: [Example]
settings:
PRODUCT_BUNDLE_IDENTIFIER: com.0x123.iOSExample.watchkitapp.watchkitextension
dependencies:
- target: ESFramework_watchOS