-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
project.yml
143 lines (136 loc) · 4.48 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
name: Kiwix
options:
xcodeVersion: 15.0
deploymentTarget: # the three latest major versions should be supported
iOS: 16.0
macOS: 13.0
generateEmptyDirectories: true
useTabs: false
groupSortPosition: top
postGenCommand: cp IDETemplateMacros.plist Kiwix.xcodeproj/xcshareddata/
settings:
base:
DEVELOPMENT_TEAM: L7HWM3SP3L
GENERATE_INFOPLIST_FILE: YES
CURRENT_PROJECT_VERSION: 185
ENABLE_USER_SCRIPT_SANDBOXING: NO
ENABLE_MODULE_VERIFIER: YES
MODULE_VERIFIER_SUPPORTED_LANGUAGES: "objective-c objective-c++"
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: YES
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
ENABLE_PREVIEWS: YES
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.reference
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
INFOPLIST_KEY_NSPhotoLibraryUsageDescription: "Kiwix needs permission to saves images to your photos app."
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace: YES
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES
SWIFT_OBJC_INTEROP_MODE: objcxx
SWIFT_OBJC_BRIDGING_HEADER: $(PROJECT_DIR)/Support/Kiwix-Bridging-Header.h
GCC_C_LANGUAGE_STANDARD: c11
CLANG_CXX_LANGUAGE_STANDARD: c++14
ENABLE_HARDENED_RUNTIME[sdk=macosx*]: YES
APP_STORE_ID: $(APP_STORE_ID)
INFOPLIST_KEY_UILaunchScreen_Generation: YES
configs:
debug:
DEAD_CODE_STRIPPING: YES
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS: "gnu11 gnu14++"
release:
DEAD_CODE_STRIPPING: YES
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS: "gnu11 gnu14++"
VALIDATE_PRODUCT: YES
packages:
Defaults:
url: https://github.com/sindresorhus/Defaults
majorVersion: 6.0.0
StripeApplePay:
url: https://github.com/CodeLikeW/stripe-apple-pay
majorVersion: 24.0.0
targetTemplates:
ApplicationTemplate:
type: application
supportedDestinations: [iOS, macOS]
entitlements:
path: Support/Kiwix.entitlements
properties:
com.apple.security.app-sandbox: true
com.apple.security.files.user-selected.read-write: true
com.apple.security.network.client: true
com.apple.security.print: true
dependencies:
- framework: CoreKiwix.xcframework
embed: false
codeSign: true
- sdk: SwiftUI.framework
- sdk: MapKit.framework
- sdk: WebKit.framework
- sdk: NotificationCenter.framework
- sdk: QuickLook.framework
- sdk: PassKit.framework
- sdk: SystemConfiguration.framework
- package: Defaults
- package: StripeApplePay
sources:
- path: App
- path: Model
- path: SwiftUI
- path: ViewModel
- path: Views
- path: PrivacyInfo.xcprivacy
destinationFilters:
- iOS
- path: Contents
includes:
- Resources
- Resources/PrivacyInfo.xcprivacy
destinationFilters:
- macOS
targets:
Kiwix:
templates:
- ApplicationTemplate
entitlements:
properties:
com.apple.security.files.downloads.read-write: true
com.apple.developer.in-app-payments: [merchant.org.kiwix.apple]
settings:
base:
MARKETING_VERSION: "3.7.0"
PRODUCT_BUNDLE_IDENTIFIER: self.Kiwix
INFOPLIST_KEY_CFBundleDisplayName: Kiwix
INFOPLIST_FILE: Support/Info.plist
INFOPLIST_KEY_UILaunchStoryboardName: SplashScreenKiwix.storyboard
sources:
- path: Support
excludes:
- "**/qqq.lproj"
- "**/igl.lproj"
- "**/dag.lproj"
- path: Kiwix/SplashScreenKiwix.storyboard
destinationFilters:
- iOS
UnitTests:
type: bundle.unit-test
supportedDestinations: [iOS, macOS]
settings:
PRODUCT_BUNDLE_IDENTIFIER: org.kiwix.Tests
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Kiwix.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Kiwix
BUNDLE_LOADER: $(TEST_HOST)
sources:
- path: Tests
dependencies:
- target: Kiwix
schemes:
Kiwix:
build:
targets:
Kiwix: all
test:
targets:
- UnitTests
commandLineArguments:
testing: true
gatherCoverageData: true
coverageTargets:
- Kiwix