Files

90 lines
2.7 KiB
YAML

name: BroV
options:
bundleIdPrefix: local.maksar
deploymentTarget:
macOS: "15.0"
xcodeVersion: "27.0"
createIntermediateGroups: true
# BroV — personal fork of Coucou (MIT). Mac app only, signed with the personal
# Apple Development certificate (stable identity: TCC grants survive rebuilds).
configs:
Debug: debug
Release: release
settings:
base:
SWIFT_VERSION: "6.0"
# Hardened runtime, no get-task-allow: other processes can't inject code into BroV
# and borrow its Accessibility / Apple Events permissions.
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO
CODE_SIGN_ENTITLEMENTS: Resources/BroV.entitlements
OTHER_SWIFT_FLAGS: "-strict-concurrency=complete"
# Personal Team certificate (free Apple ID in Xcode). With ad-hoc signing macOS
# forgot Accessibility after every build; a real identity keeps it.
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Apple Development"
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
DEVELOPMENT_TEAM: V3NLZK45Q4
# The only third-party dependency: a real terminal emulator for the term.macOS tabs.
packages:
SwiftTerm:
url: https://github.com/migueldeicaza/SwiftTerm
from: 1.20.0
schemes:
BroV:
build:
targets:
BroV: all
run:
config: Debug
archive:
config: Release
targets:
BroV:
type: application
platform: macOS
sources:
- path: Sources
type: group
- path: Assets.xcassets
buildPhase: resources
- path: Resources/sounds
buildPhase: resources
type: folder
- path: Resources/memoji
buildPhase: resources
type: folder
dependencies:
- package: SwiftTerm
info:
path: Resources/Info.plist
properties:
CFBundleName: BroV
CFBundleDisplayName: BroV
CFBundleIdentifier: local.maksar.BroV
CFBundleVersion: "1"
CFBundleShortVersionString: "0.1.0"
CFBundlePackageType: APPL
LSUIElement: YES
NSHighResolutionCapable: YES
NSSupportsAutomaticGraphicsSwitching: YES
NSAppleEventsUsageDescription: "BroV jumps to your terminal, sends mail and controls Music."
NSAccessibilityUsageDescription: "BroV reads the front window's title to attach it as context."
NSAppTransportSecurity:
NSAllowsLocalNetworking: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: local.maksar.BroV
PRODUCT_NAME: BroV
PRODUCT_MODULE_NAME: NotchBuddy
INFOPLIST_FILE: Resources/Info.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
MACOSX_DEPLOYMENT_TARGET: "15.0"
ENABLE_SANDBOX: NO