-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
95 lines (90 loc) · 2.88 KB
/
Copy pathproject.yml
File metadata and controls
95 lines (90 loc) · 2.88 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
92
93
94
95
# XcodeGen spec for the Capsule macOS app target.
#
# Generates Capsule.xcodeproj at the repository root from a thin app target that
# consumes the strictly-layered SwiftPM modules in this repo. Regenerate with:
#
# make xcodeproj # xcodegen generate --spec App/project.yml --project-root . --project .
#
# The generated project is git-ignored; the package + this spec are the sources of truth.
name: Capsule
options:
bundleIdPrefix: com.capsule
deploymentTarget:
macOS: "26.0"
createIntermediateGroups: true
groupSortPosition: top
developmentLanguage: en
settings:
base:
SWIFT_VERSION: "5.0"
MACOSX_DEPLOYMENT_TARGET: "26.0"
ARCHS: arm64
ONLY_ACTIVE_ARCH: YES
DEAD_CODE_STRIPPING: YES
# Localization: let the compiler extract Swift/SwiftUI user-facing strings into the
# app target's String Catalog on build ("Use Compiler to Extract Swift Strings").
SWIFT_EMIT_LOC_STRINGS: YES
# Unsandboxed + Hardened Runtime (notarizable distribution).
ENABLE_APP_SANDBOX: NO
ENABLE_HARDENED_RUNTIME: YES
ENABLE_USER_SCRIPT_SANDBOXING: NO
DEVELOPMENT_TEAM: ""
CODE_SIGN_STYLE: Automatic
packages:
Capsule:
path: .
targets:
Capsule:
type: application
platform: macOS
sources:
- path: App/Sources
- path: App/Assets.xcassets
- path: App/Resources/Localizable.xcstrings
# AppleScript terminology — copied into Contents/Resources so OSAScriptingDefinition
# (Capsule.sdef) resolves it.
- path: App/Capsule.sdef
settings:
base:
PRODUCT_NAME: Capsule
PRODUCT_BUNDLE_IDENTIFIER: com.capsule.app
INFOPLIST_FILE: App/Info.plist
CODE_SIGN_ENTITLEMENTS: App/Capsule.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
ENABLE_HARDENED_RUNTIME: YES
ENABLE_APP_SANDBOX: NO
COMBINE_HIDPI_IMAGES: YES
# App Intents metadata extraction must scan the library module that owns the intents
# (Xcode 26 supports intents in static SwiftPM libraries via this + AppIntentsPackage).
APP_INTENTS_MODULE_NAMES: CapsuleAutomation
dependencies:
- package: Capsule
product: CapsuleApp
# The app target hosts the AppShortcutsProvider + AppIntentsPackage, which reference the
# intent types in CapsuleAutomation.
- package: Capsule
product: CapsuleAutomation
CapsuleUITests:
type: bundle.ui-testing
platform: macOS
sources:
- path: App/CapsuleUITests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.capsule.app.uitests
GENERATE_INFOPLIST_FILE: YES
dependencies:
- target: Capsule
schemes:
Capsule:
build:
targets:
Capsule: all
CapsuleUITests: [test]
run:
config: Debug
test:
config: Debug
targets:
- CapsuleUITests