Branchwell

Bucksley / app / project.yml

1# XcodeGen spec: `brew install xcodegen && xcodegen` creates Bucksley.xcodeproj with the Mac app
2# and the iPhone and iPad app. Both use the local Swift package for shared code.
3# Releases: scripts/release-mac.sh (Developer ID + Sparkle) and scripts/release-ios.sh (TestFlight). See RELEASING.md.
4name: Bucksley
5options:
6 bundleIdPrefix: com.protomota
7 deploymentTarget: { macOS: "15.0", iOS: "18.0" }
8packages:
9 Bucksley: { path: . }
10 Sparkle: { url: https://github.com/sparkle-project/Sparkle, from: "2.10.0" }
11settings:
12 base:
13 MARKETING_VERSION: "0.1.11"
14 CURRENT_PROJECT_VERSION: "12"
15 SWIFT_VERSION: "6.0"
16 PRODUCT_NAME: Bucksley
17 PRODUCT_BUNDLE_IDENTIFIER: com.protomota.bucksley
18 DEVELOPMENT_TEAM: 22HV69L32T
19 CODE_SIGN_STYLE: Automatic
20 ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
21 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
22targets:
23 BucksleyMac:
24 type: application
25 platform: macOS
26 sources: [Apps/Mac]
27 dependencies:
28 - package: Bucksley
29 product: BucksleyKit
30 - package: Bucksley
31 product: BucksleyUI
32 - package: Sparkle
33 product: Sparkle
34 settings:
35 base:
36 ENABLE_HARDENED_RUNTIME: YES
37 # The Mac release script sets this to the Developer ID profile name when it signs manually.
38 PROVISIONING_PROFILE_SPECIFIER: $(BUCKSLEY_RELEASE_PROFILE)
39 # Mac updates from bucksley.ai (Sparkle). The private key is in the release Mac's Keychain
40 # (account com.protomota.bucksley) and in the BUCKSLEY_SPARKLE_EDDSA_PRIVATE_KEY GitHub secret.
41 BUCKSLEY_UPDATE_FEED: https:/$()/bucksley.ai/appcast.xml
42 BUCKSLEY_UPDATE_PUBLIC_KEY: "YQ9IjLHfKZz/9UlsCbhIKMU95L1ntmsAlV4DiIL5RsE="
43 entitlements:
44 path: Apps/Mac/BucksleyMac.entitlements
45 properties:
46 # Not sandboxed (like Inkspring) so Ask Bucksley can start the person's own Claude Code or Codex.
47 com.apple.security.network.client: true
48 com.apple.developer.icloud-services: [CloudKit]
49 com.apple.developer.icloud-container-identifiers: [iCloud.com.protomota.bucksley]
50 com.apple.developer.aps-environment: production
51 info:
52 path: Apps/Mac/Info.plist
53 properties:
54 CFBundleDisplayName: Bucksley
55 CFBundleShortVersionString: $(MARKETING_VERSION)
56 CFBundleVersion: $(CURRENT_PROJECT_VERSION)
57 LSApplicationCategoryType: public.app-category.finance
58 ITSAppUsesNonExemptEncryption: false
59 NSHumanReadableCopyright: "A Project ATOM project. Free and open source, public domain (Unlicense)."
60 SUFeedURL: $(BUCKSLEY_UPDATE_FEED)
61 SUPublicEDKey: $(BUCKSLEY_UPDATE_PUBLIC_KEY)
62 BucksleyPhone:
63 type: application
64 platform: iOS
65 sources: [Apps/iPhone]
66 dependencies:
67 - package: Bucksley
68 product: BucksleyKit
69 - package: Bucksley
70 product: BucksleyUI
71 settings:
72 base:
73 TARGETED_DEVICE_FAMILY: "1,2" # iPhone and iPad
74 # The TestFlight script sets this to the App Store profile name.
75 PROVISIONING_PROFILE_SPECIFIER: $(BUCKSLEY_IOS_RELEASE_PROFILE)
76 # Theme-matched icons the user switches between in Settings → Appearance.
77 ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES: "AppIcon-Evergreen AppIcon-Almanac"
78 ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES
79 entitlements:
80 path: Apps/iPhone/BucksleyPhone.entitlements
81 properties:
82 com.apple.developer.icloud-services: [CloudKit]
83 com.apple.developer.icloud-container-identifiers: [iCloud.com.protomota.bucksley]
84 aps-environment: production
85 info:
86 path: Apps/iPhone/Info.plist
87 properties:
88 CFBundleDisplayName: Bucksley
89 CFBundleShortVersionString: $(MARKETING_VERSION)
90 CFBundleVersion: $(CURRENT_PROJECT_VERSION)
91 ITSAppUsesNonExemptEncryption: false
92 LSApplicationCategoryType: public.app-category.finance
93 NSFinancialDataUsageDescription: "Bucksley reads your Apple Card, Apple Cash and Savings balances and transactions so you can see them with your other accounts. It never moves money."
94 UILaunchScreen: {}
95 UIBackgroundModes: [remote-notification]
96 UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
97 UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight]
98 BucksleyPhoneUITests:
99 type: bundle.ui-testing
100 platform: iOS
101 sources: [Apps/iPhoneUITests]
102 dependencies:
103 - target: BucksleyPhone
104 settings:
105 base:
106 GENERATE_INFOPLIST_FILE: YES
107 TEST_TARGET_NAME: BucksleyPhone
108 PRODUCT_NAME: BucksleyPhoneUITests
109 PRODUCT_BUNDLE_IDENTIFIER: com.protomota.bucksley.uitests
110
111schemes:
112 BucksleyMac:
113 build:
114 targets:
115 BucksleyMac: all
116 run:
117 config: Debug
118 archive:
119 config: Release
120 BucksleyPhone:
121 build:
122 targets:
123 BucksleyPhone: all
124 BucksleyPhoneUITests: [test]
125 run:
126 config: Debug
127 test:
128 config: Debug
129 targets: [BucksleyPhoneUITests]
130 archive:
131 config: Release