Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
65 lines (64 loc) · 2.06 KB
/
Copy pathproject.yml
File metadata and controls
65 lines (64 loc) · 2.06 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
name: Meter
options:
bundleIdPrefix: dev.meter
deploymentTarget:
macOS: "15.0"
createIntermediateGroups: true
groupSortPosition: top
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: dev.meter.Meter
MARKETING_VERSION: "0.2.0" # x-release-please-version
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "-"
CODE_SIGNING_REQUIRED: "NO"
CODE_SIGNING_ALLOWED: "NO"
ENABLE_HARDENED_RUNTIME: "NO"
DEAD_CODE_STRIPPING: "YES"
ENABLE_USER_SCRIPT_SANDBOXING: "NO"
COMBINE_HIDPI_IMAGES: "YES"
targets:
Meter:
type: application
platform: macOS
sources:
- path: Sources/Meter
dependencies:
- sdk: libsqlite3.tbd
settings:
base:
GENERATE_INFOPLIST_FILE: "YES"
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
INFOPLIST_KEY_LSUIElement: "YES"
INFOPLIST_KEY_CFBundleDisplayName: "Meter"
INFOPLIST_KEY_NSHumanReadableCopyright: "Meter — local AI usage tracker"
INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.developer-tools"
MeterTests:
type: bundle.unit-test
platform: macOS
sources:
- path: Tests/MeterTests
dependencies:
- target: Meter
settings:
base:
GENERATE_INFOPLIST_FILE: "YES"
# ---------------------------------------------------------------------------
# FUTURE (do not enable now — needs a paid Apple Developer account for the
# App Group entitlement). A WidgetKit extension would read the exact same
# Codable MeterSnapshot that SnapshotStore already persists, so switching
# FileSnapshotStore -> AppGroupSnapshotStore is the only change required.
#
# MeterWidget:
# type: app-extension
# platform: macOS
# sources: [ Sources/MeterWidget ]
# settings:
# base:
# INFOPLIST_KEY_CFBundleDisplayName: "Meter"
# # Add to BOTH targets' entitlements:
# # com.apple.security.application-groups = [ group.dev.meter ]
# ---------------------------------------------------------------------------