Files
coucou/NotchBuddy/project.yml
LouisandClaude 1005abd7cb Release prep: Coucou 0.9.1, every ready-made Mochi in the Cloud (#1249)
CHANGELOG 0.9.1, the README row, What's new in the 16 languages (1 item),
version 0.9.1 build 32 in project.yml and Info.plist.


Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT

Co-authored-by: Claude <noreply@anthropic.com>
2026-12-01 16:02:21 +00:00

536 lines
20 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: NotchBuddy
options:
bundleIdPrefix: fr.louisraille
deploymentTarget:
macOS: "15.0"
xcodeVersion: "27.0"
createIntermediateGroups: true
# DebugCloud = Debug, but signed with iCloud (CloudKit) and push entitlements
# and compiled with PHONE_LINK, for the iPhone link spike. ReleaseCloud = the
# same for a Developer ID build with its provisioning profile
# (scripts/cloud-test-build.sh); a Developer ID profile only allows the
# Production CloudKit environment, so the iPhone joins it with the
# CoucouPhoneProduction scheme. Release also compiles PHONE_LINK (the sync
# stays off until turned on in Settings); Debug stays unsigned without it.
# FluidAudio (Apache-2.0): Parakeet speech-to-text and speaker diarization on the Mac's
# Neural Engine, for Flow dictation and the Notetaker (GitHub build only). Its models are
# downloaded from Hugging Face only when the user clicks Download in Coucou Flow → Settings.
packages:
FluidAudio:
url: https://github.com/FluidInference/FluidAudio
exactVersion: 0.17.7
configs:
Debug: debug
DebugCloud: debug
Release: release
ReleaseCloud: release
settings:
base:
SWIFT_VERSION: "6.0"
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGN_STYLE: Manual
OTHER_SWIFT_FLAGS: "-strict-concurrency=complete"
# Prevent Xcode from scanning Swift source and rewriting Localizable.xcstrings.
SWIFT_EMIT_LOC_STRINGS: NO
configs:
Debug:
CODE_SIGNING_REQUIRED: NO
CODE_SIGNING_ALLOWED: NO
DebugCloud:
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
DEVELOPMENT_TEAM: 256AUJ9555
Release:
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
CODE_SIGN_IDENTITY: "Developer ID Application"
DEVELOPMENT_TEAM: 256AUJ9555
OTHER_CODE_SIGN_FLAGS: "--timestamp"
CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO
CODE_SIGN_ENTITLEMENTS: Resources/Coucou.entitlements
ReleaseCloud:
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
CODE_SIGN_IDENTITY: "Developer ID Application"
DEVELOPMENT_TEAM: 256AUJ9555
OTHER_CODE_SIGN_FLAGS: "--timestamp"
CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO
schemes:
NotchBuddy:
build:
targets:
NotchBuddy: all
run:
config: Debug
archive:
config: Release
CoucouAppStore:
build:
targets:
CoucouAppStore: all
run:
config: Debug
archive:
config: Release
NotchBuddyCloud:
build:
targets:
NotchBuddy: all
run:
config: DebugCloud
archive:
config: Release
CoucouAppStoreCloud:
build:
targets:
CoucouAppStore: all
run:
config: DebugCloud
archive:
config: Release
CoucouPhone:
build:
targets:
CoucouPhone: all
run:
config: Debug
archive:
config: Release
# Same iPhone app on the Production CloudKit environment, to talk to the
# Developer ID build (scripts/cloud-test-build.sh), which can only use Production.
CoucouPhoneProduction:
build:
targets:
CoucouPhone: all
run:
config: DebugCloud
archive:
config: Release
targets:
NotchBuddy:
type: application
platform: macOS
sources:
- path: Sources
type: group
excludes:
- "Phone/**"
- "Widgets/**"
- "NotificationContent/**"
- "NotificationService/**"
- path: Assets.xcassets
buildPhase: resources
- path: Resources/sounds
buildPhase: resources
type: folder
- path: Resources/Localizable.xcstrings
buildPhase: resources
# What's new after an update, once in the notch (WhatsNewViews.swift; GitHub build)
- path: Resources/whats-new.json
buildPhase: resources
info:
path: Resources/Info.plist
properties:
CFBundleName: Coucou
CFBundleDisplayName: Coucou
CFBundleIdentifier: fr.louisraille.NotchBuddy
CFBundleVersion: "32"
CFBundleShortVersionString: "0.9.1"
CFBundlePackageType: APPL
LSUIElement: YES
NSHighResolutionCapable: YES
NSSupportsAutomaticGraphicsSwitching: YES
NSAppleEventsUsageDescription: "Pour sauter au terminal, envoyer des mails et piloter Musique et Spotify."
NSMicrophoneUsageDescription: "Coucou uses the microphone when you dictate, and to note your calls when you ask it to."
NSAudioCaptureUsageDescription: "Coucou records what your Mac plays only while you note a call, to write down what the other people say."
NSBluetoothAlwaysUsageDescription: "Coucou uses Bluetooth to talk to Botan, the little screen next to your Mac, when you link it in Settings."
NSSpeechRecognitionUsageDescription: "Coucou turns your voice into the text of a chat message."
NSAccessibilityUsageDescription: "Pour lire le titre de la fenêtre active et l'attacher comme contexte."
NSContactsUsageDescription: "Coucou looks up an email address when you ask it, by voice, to prepare an email."
NSFocusStatusUsageDescription: "Coucou stays quiet about new WhatsApp messages while a Focus is on."
NSAppTransportSecurity:
NSAllowsLocalNetworking: true
CFBundleLocalizations:
- en
- ar
- bn
- de
- es
- fr
- hi
- id
- ja
- ko
- pt-BR
- ru
- th
- tr
- zh-Hans
- zh-Hant
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.NotchBuddy
PRODUCT_NAME: Coucou
INFOPLIST_FILE: Resources/Info.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
MACOSX_DEPLOYMENT_TARGET: "15.0"
ENABLE_SANDBOX: NO
configs:
DebugCloud:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouCloud.entitlements
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG PHONE_LINK"
# The build run every day from Xcode: optimized like Release, so Mochi's
# drawing costs what it costs for users (unoptimized Swift was ~2× the CPU).
SWIFT_OPTIMIZATION_LEVEL: "-O"
# The distributed build carries the iPhone sync (off until the user
# turns it on in Settings), so it needs iCloud and its Developer ID profile.
Release:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouReleaseCloud.entitlements
SWIFT_ACTIVE_COMPILATION_CONDITIONS: PHONE_LINK
PROVISIONING_PROFILE_SPECIFIER: "Coucou Developer ID"
ReleaseCloud:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouReleaseCloud.entitlements
SWIFT_ACTIVE_COMPILATION_CONDITIONS: PHONE_LINK
PROVISIONING_PROFILE_SPECIFIER: "Coucou Developer ID"
dependencies:
- package: FluidAudio
postBuildScripts:
- name: "Write Git Hash to Info.plist"
script: |
HASH=$(git -C "${SRCROOT}/.." rev-parse --short HEAD 2>/dev/null || echo "unknown")
/usr/libexec/PlistBuddy -c "Set :CoucouGitHash ${HASH}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" 2>/dev/null \
|| /usr/libexec/PlistBuddy -c "Add :CoucouGitHash string ${HASH}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
showEnvVars: false
CoucouAppStore:
type: application
platform: macOS
sources:
- path: Sources
type: group
excludes:
- "Phone/**"
- "Widgets/**"
- "NotificationContent/**"
- "NotificationService/**"
- path: Assets.xcassets
buildPhase: resources
- path: Resources/sounds
buildPhase: resources
type: folder
- path: Resources/Localizable.xcstrings
buildPhase: resources
# Privacy manifest (required-reason APIs; no tracking, nothing collected).
- path: Resources/Privacy/Mac/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: Resources/InfoAppStore.plist
properties:
CFBundleName: Coucou
CFBundleDisplayName: Coucou
CFBundleIdentifier: fr.louisraille.Coucou
CFBundleVersion: "20"
CFBundleShortVersionString: "3.0"
CFBundlePackageType: APPL
LSUIElement: YES
NSHighResolutionCapable: YES
NSSupportsAutomaticGraphicsSwitching: YES
LSApplicationCategoryType: public.app-category.developer-tools
ITSAppUsesNonExemptEncryption: NO
NSMicrophoneUsageDescription: "Coucou uses the microphone when you dictate a chat message."
NSSpeechRecognitionUsageDescription: "Coucou turns your voice into the text of a chat message."
NSAppTransportSecurity:
NSAllowsLocalNetworking: true
CFBundleLocalizations:
- en
- ar
- bn
- de
- es
- fr
- hi
- id
- ja
- ko
- pt-BR
- ru
- th
- tr
- zh-Hans
- zh-Hant
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.Coucou
PRODUCT_NAME: Coucou
INFOPLIST_FILE: Resources/InfoAppStore.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
MACOSX_DEPLOYMENT_TARGET: "15.0"
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
CODE_SIGN_ENTITLEMENTS: Resources/CoucouAppStore.entitlements
DEVELOPMENT_TEAM: 256AUJ9555
SWIFT_ACTIVE_COMPILATION_CONDITIONS: APPSTORE
CODE_SIGNING_ALLOWED: YES
configs:
DebugCloud:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouAppStoreCloud.entitlements
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "APPSTORE PHONE_LINK"
# App Store archive: same iCloud entitlements; Xcode switches push to
# production when exporting for the App Store.
Release:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouAppStoreCloud.entitlements
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "APPSTORE PHONE_LINK"
# iPhone app. Same bundle ID as the Mac App Store build, for universal purchase.
CoucouPhone:
type: application
platform: iOS
deploymentTarget: "18.0"
dependencies:
- target: CoucouWidgets
- target: CoucouNotificationContent
- target: CoucouNotificationService
sources:
- path: Sources/Phone
type: group
# Shared with the Mac targets (they get it through Sources/).
- path: Sources/CoucouKit
type: group
- path: PhoneAssets.xcassets
buildPhase: resources
# Mochi's sounds for the iPhone's notifications.
- path: Resources/sounds/approval.wav
buildPhase: resources
- path: Resources/sounds/finish.wav
buildPhase: resources
- path: Resources/sounds/question.wav
buildPhase: resources
- path: Resources/sounds/error.wav
buildPhase: resources
# Privacy manifest (required-reason APIs; no tracking, nothing collected).
- path: Resources/Privacy/Phone/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: Resources/InfoPhone.plist
properties:
CFBundleName: Botan
CFBundleDisplayName: Botan
CFBundleIdentifier: fr.louisraille.Coucou
CFBundleVersion: "21"
CFBundleShortVersionString: "3.0"
CFBundlePackageType: APPL
LSRequiresIPhoneOS: YES
UILaunchScreen: {}
UIApplicationSupportsIndirectInputEvents: YES
UIBackgroundModes:
- remote-notification
# Botan (BotanBridge): keeps the link and takes its button with the iPhone locked.
- bluetooth-central
# Portrait, except a diff opened full screen (PhoneAppDelegate decides).
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
ITSAppUsesNonExemptEncryption: NO
# Botan is set up with AccessorySetupKit (the system sheet): on iOS 26 that lets iOS relaunch
# Coucou for Botan even after it was swiped away in the app switcher.
NSAccessorySetupKitSupports:
- Bluetooth
NSAccessorySetupBluetoothServices:
- B07A0001-6D6F-6368-6900-626F74616E00
NSBluetoothAlwaysUsageDescription: "Botan uses Bluetooth to show your agents on your Botan, the little screen on the back of your iPhone, and to take its button's answer."
NSFaceIDUsageDescription: "Botan asks for Face ID before allowing a command, starting a task or running an action from your iPhone."
NSMicrophoneUsageDescription: "Botan uses the microphone when you dictate an instruction, a task or a message to Botan."
NSSpeechRecognitionUsageDescription: "Botan turns your voice into text when you dictate an instruction, a task or a message."
NSSupportsLiveActivities: YES
# Lets Mochi move at 120 Hz on ProMotion screens, like the Mac's notch.
CADisableMinimumFrameDurationOnPhone: YES
# Steps change often while an agent works: without this, iOS holds back
# updates once its budget is spent, and "waiting for your OK" came late.
NSSupportsLiveActivitiesFrequentUpdates: YES
# coucou://session/<id>: the widgets open a session in the app.
CFBundleURLTypes:
- CFBundleURLName: fr.louisraille.Coucou
CFBundleURLSchemes:
- coucou
# Which APNs environment the Live Activity tokens belong to (read by the Mac).
CoucouAPNsEnvironment: $(COUCOU_APNS_ENV)
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.Coucou
PRODUCT_NAME: Coucou
INFOPLIST_FILE: Resources/InfoPhone.plist
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
# Botan orange (#FF5A24): the accent of buttons, links and switches.
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
# Other Botan looks, picked in Settings → Look (UIApplication.setAlternateIconName).
ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES: "AppIcon-Orange AppIcon-Glow AppIcon-MochiNight AppIcon-MochiOrange"
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS: NO
COUCOU_APNS_ENV: production
IPHONEOS_DEPLOYMENT_TARGET: "18.0"
TARGETED_DEVICE_FAMILY: "1"
SUPPORTS_MACCATALYST: NO
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
CODE_SIGN_ENTITLEMENTS: Resources/CoucouPhone.entitlements
DEVELOPMENT_TEAM: 256AUJ9555
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
ENABLE_HARDENED_RUNTIME: NO
OTHER_CODE_SIGN_FLAGS: ""
configs:
Debug:
COUCOU_APNS_ENV: development
DebugCloud:
CODE_SIGN_ENTITLEMENTS: Resources/CoucouPhoneProduction.entitlements
COUCOU_APNS_ENV: development
# Home Screen and Lock Screen widgets (Solo, Team, List, accessories). They
# read the sessions the iPhone app saves to the shared App Group.
CoucouWidgets:
type: app-extension
platform: iOS
deploymentTarget: "18.0"
sources:
- path: Sources/Widgets
type: group
- path: Sources/CoucouKit
type: group
- path: Sources/Phone/SharedSessions.swift
- path: Sources/Phone/MacStubs.swift
- path: Sources/Phone/MochiActivityAttributes.swift
- path: Sources/Phone/OpenLeadMochiIntent.swift
- path: Sources/Phone/DenyApprovalIntent.swift
- path: Resources/Privacy/Phone/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: Resources/InfoWidgets.plist
properties:
CFBundleName: CoucouWidgets
CFBundleDisplayName: Botan
CFBundleIdentifier: fr.louisraille.Coucou.Widgets
CFBundleVersion: "21"
CFBundleShortVersionString: "3.0"
CFBundlePackageType: XPC!
NSExtension:
NSExtensionPointIdentifier: com.apple.widgetkit-extension
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.Coucou.Widgets
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) WIDGET_EXTENSION"
PRODUCT_NAME: CoucouWidgets
INFOPLIST_FILE: Resources/InfoWidgets.plist
IPHONEOS_DEPLOYMENT_TARGET: "18.0"
TARGETED_DEVICE_FAMILY: "1"
SUPPORTS_MACCATALYST: NO
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
CODE_SIGN_ENTITLEMENTS: Resources/CoucouWidgets.entitlements
DEVELOPMENT_TEAM: 256AUJ9555
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
ENABLE_HARDENED_RUNTIME: NO
OTHER_CODE_SIGN_FLAGS: ""
SKIP_INSTALL: YES
APPLICATION_EXTENSION_API_ONLY: YES
# The expanded approval notification: Mochi alive, with the command.
CoucouNotificationContent:
type: app-extension
platform: iOS
deploymentTarget: "18.0"
sources:
- path: Sources/NotificationContent
type: group
- path: Sources/CoucouKit
type: group
- path: Sources/Phone/MochiLive.swift
- path: Sources/Phone/MacStubs.swift
- path: Resources/Privacy/Phone/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: Resources/InfoNotificationContent.plist
properties:
CFBundleName: CoucouNotificationContent
CFBundleDisplayName: Botan
CFBundleIdentifier: fr.louisraille.Coucou.NotificationContent
CFBundleVersion: "21"
CFBundleShortVersionString: "3.0"
CFBundlePackageType: XPC!
NSExtension:
NSExtensionPointIdentifier: com.apple.usernotifications.content-extension
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).NotificationViewController
NSExtensionAttributes:
UNNotificationExtensionCategory: COUCOU_APPROVAL
UNNotificationExtensionInitialContentSizeRatio: 0.45
UNNotificationExtensionDefaultContentHidden: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.Coucou.NotificationContent
PRODUCT_NAME: CoucouNotificationContent
INFOPLIST_FILE: Resources/InfoNotificationContent.plist
IPHONEOS_DEPLOYMENT_TARGET: "18.0"
TARGETED_DEVICE_FAMILY: "1"
SUPPORTS_MACCATALYST: NO
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
DEVELOPMENT_TEAM: 256AUJ9555
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
ENABLE_HARDENED_RUNTIME: NO
OTHER_CODE_SIGN_FLAGS: ""
SKIP_INSTALL: YES
APPLICATION_EXTENSION_API_ONLY: YES
# Fills in the iCloud alert for an approval (agent, project, command): one banner, not two.
CoucouNotificationService:
type: app-extension
platform: iOS
deploymentTarget: "18.0"
sources:
- path: Sources/NotificationService
type: group
- path: Sources/CoucouKit
type: group
- path: Sources/Phone/PendingApprovals.swift
- path: Sources/Phone/MacStubs.swift
- path: Resources/Privacy/Phone/PrivacyInfo.xcprivacy
buildPhase: resources
info:
path: Resources/InfoNotificationService.plist
properties:
CFBundleName: CoucouNotificationService
CFBundleDisplayName: Botan
CFBundleIdentifier: fr.louisraille.Coucou.NotificationService
CFBundleVersion: "21"
CFBundleShortVersionString: "3.0"
CFBundlePackageType: XPC!
NSExtension:
NSExtensionPointIdentifier: com.apple.usernotifications.service
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).NotificationService
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: fr.louisraille.Coucou.NotificationService
PRODUCT_NAME: CoucouNotificationService
INFOPLIST_FILE: Resources/InfoNotificationService.plist
CODE_SIGN_ENTITLEMENTS: Resources/CoucouNotificationService.entitlements
IPHONEOS_DEPLOYMENT_TARGET: "18.0"
TARGETED_DEVICE_FAMILY: "1"
SUPPORTS_MACCATALYST: NO
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "Apple Development"
DEVELOPMENT_TEAM: 256AUJ9555
CODE_SIGNING_REQUIRED: YES
CODE_SIGNING_ALLOWED: YES
ENABLE_HARDENED_RUNTIME: NO
OTHER_CODE_SIGN_FLAGS: ""
SKIP_INSTALL: YES
APPLICATION_EXTENSION_API_ONLY: YES