-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.yml
More file actions
91 lines (86 loc) · 2.71 KB
/
Copy pathProject.yml
File metadata and controls
91 lines (86 loc) · 2.71 KB
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
name: Peripage
options:
bundleIdPrefix: com.elkus
deploymentTarget:
iOS: "17.0"
macOS: "14.0"
developmentLanguage: en
createIntermediateGroups: true
configFiles:
Debug: developer.xcconfig
Release: developer.xcconfig
settings:
base:
SWIFT_VERSION: "5.10"
MARKETING_VERSION: "0.1.0"
CURRENT_PROJECT_VERSION: "1"
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Peripage/Resources/Info.plist
CODE_SIGN_STYLE: Automatic
SWIFT_STRICT_CONCURRENCY: complete
targets:
Peripage:
type: application
supportedDestinations: [iOS, macOS]
sources:
- path: Peripage
excludes:
- "Resources/Info.plist"
- "Resources/Peripage.entitlements"
resources:
- Peripage/Resources/Assets.xcassets
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.elkus.peripage
CODE_SIGN_ENTITLEMENTS: Peripage/Resources/Peripage.entitlements
ENABLE_HARDENED_RUNTIME: YES
ENABLE_APP_SANDBOX: YES
configs:
Debug:
SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG
dependencies:
- target: PeripageShare
embed: true
platformFilter: iOS
scheme:
testTargets:
- PeripageTests
gatherCoverageData: false
PeripageShare:
type: app-extension
platform: iOS
sources:
- PeripageShare
- path: Peripage/Protocol
- path: Peripage/Imaging
- path: Peripage/Printer
- path: Peripage/Queue
- path: Peripage/SharedUI
- path: Peripage/App/DebugLog.swift
- path: Peripage/App/Haptics.swift
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.elkus.peripage.share
INFOPLIST_FILE: PeripageShare/Info.plist
CODE_SIGN_ENTITLEMENTS: PeripageShare/PeripageShare.entitlements
SWIFT_VERSION: "5.10"
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
# ENABLE_APP_SANDBOX + ENABLE_HARDENED_RUNTIME are macOS-only;
# leaving them on (inherited from the project base) can quietly
# block iOS app-extension embedding. Force them off here.
ENABLE_APP_SANDBOX: NO
ENABLE_HARDENED_RUNTIME: NO
PeripageTests:
type: bundle.unit-test
supportedDestinations: [iOS, macOS]
sources: [PeripageTests]
dependencies:
- target: Peripage
settings:
base:
# Platform-conditional TEST_HOST: iOS bundle is flat
# (Peripage.app/Peripage), macOS bundle nests under Contents/MacOS.
"TEST_HOST[sdk=iphoneos*]": "$(BUILT_PRODUCTS_DIR)/Peripage.app/Peripage"
"TEST_HOST[sdk=iphonesimulator*]": "$(BUILT_PRODUCTS_DIR)/Peripage.app/Peripage"
"TEST_HOST[sdk=macosx*]": "$(BUILT_PRODUCTS_DIR)/Peripage.app/Contents/MacOS/Peripage"
BUNDLE_LOADER: "$(TEST_HOST)"