# XcodeGen spec: `brew install xcodegen && xcodegen` creates Bucksley.xcodeproj with the Mac app # and the iPhone and iPad app. Both use the local Swift package for shared code. # Releases: scripts/release-mac.sh (Developer ID + Sparkle) and scripts/release-ios.sh (TestFlight). See RELEASING.md. name: Bucksley options: bundleIdPrefix: com.protomota deploymentTarget: { macOS: "15.0", iOS: "18.0" } packages: Bucksley: { path: . } Sparkle: { url: https://github.com/sparkle-project/Sparkle, from: "2.10.0" } settings: base: MARKETING_VERSION: "0.1.11" CURRENT_PROJECT_VERSION: "12" SWIFT_VERSION: "6.0" PRODUCT_NAME: Bucksley PRODUCT_BUNDLE_IDENTIFIER: com.protomota.bucksley DEVELOPMENT_TEAM: 22HV69L32T CODE_SIGN_STYLE: Automatic ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor targets: BucksleyMac: type: application platform: macOS sources: [Apps/Mac] dependencies: - package: Bucksley product: BucksleyKit - package: Bucksley product: BucksleyUI - package: Sparkle product: Sparkle settings: base: ENABLE_HARDENED_RUNTIME: YES # The Mac release script sets this to the Developer ID profile name when it signs manually. PROVISIONING_PROFILE_SPECIFIER: $(BUCKSLEY_RELEASE_PROFILE) # Mac updates from bucksley.ai (Sparkle). The private key is in the release Mac's Keychain # (account com.protomota.bucksley) and in the BUCKSLEY_SPARKLE_EDDSA_PRIVATE_KEY GitHub secret. BUCKSLEY_UPDATE_FEED: https:/$()/bucksley.ai/appcast.xml BUCKSLEY_UPDATE_PUBLIC_KEY: "YQ9IjLHfKZz/9UlsCbhIKMU95L1ntmsAlV4DiIL5RsE=" entitlements: path: Apps/Mac/BucksleyMac.entitlements properties: # Not sandboxed (like Inkspring) so Ask Bucksley can start the person's own Claude Code or Codex. com.apple.security.network.client: true com.apple.developer.icloud-services: [CloudKit] com.apple.developer.icloud-container-identifiers: [iCloud.com.protomota.bucksley] com.apple.developer.aps-environment: production info: path: Apps/Mac/Info.plist properties: CFBundleDisplayName: Bucksley CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType: public.app-category.finance ITSAppUsesNonExemptEncryption: false NSHumanReadableCopyright: "A Project ATOM project. Free and open source, public domain (Unlicense)." SUFeedURL: $(BUCKSLEY_UPDATE_FEED) SUPublicEDKey: $(BUCKSLEY_UPDATE_PUBLIC_KEY) BucksleyPhone: type: application platform: iOS sources: [Apps/iPhone] dependencies: - package: Bucksley product: BucksleyKit - package: Bucksley product: BucksleyUI settings: base: TARGETED_DEVICE_FAMILY: "1,2" # iPhone and iPad # The TestFlight script sets this to the App Store profile name. PROVISIONING_PROFILE_SPECIFIER: $(BUCKSLEY_IOS_RELEASE_PROFILE) # Theme-matched icons the user switches between in Settings → Appearance. ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES: "AppIcon-Evergreen AppIcon-Almanac" ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: YES entitlements: path: Apps/iPhone/BucksleyPhone.entitlements properties: com.apple.developer.icloud-services: [CloudKit] com.apple.developer.icloud-container-identifiers: [iCloud.com.protomota.bucksley] aps-environment: production info: path: Apps/iPhone/Info.plist properties: CFBundleDisplayName: Bucksley CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) ITSAppUsesNonExemptEncryption: false LSApplicationCategoryType: public.app-category.finance 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." UILaunchScreen: {} UIBackgroundModes: [remote-notification] UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait] UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] BucksleyPhoneUITests: type: bundle.ui-testing platform: iOS sources: [Apps/iPhoneUITests] dependencies: - target: BucksleyPhone settings: base: GENERATE_INFOPLIST_FILE: YES TEST_TARGET_NAME: BucksleyPhone PRODUCT_NAME: BucksleyPhoneUITests PRODUCT_BUNDLE_IDENTIFIER: com.protomota.bucksley.uitests schemes: BucksleyMac: build: targets: BucksleyMac: all run: config: Debug archive: config: Release BucksleyPhone: build: targets: BucksleyPhone: all BucksleyPhoneUITests: [test] run: config: Debug test: config: Debug targets: [BucksleyPhoneUITests] archive: config: Release