cocottetech/@platform/codebase/@features/ai-copilot/ios-fe/project.yml
autocommit 249466dbd6 feat(ai-copilot): wire iOS Cockpit to live platform.api
App.swift builds LiveCockpitAPI from --api-base/--token launch args (mock
fallback) and calls model.refresh() on appear. ATS exception for cleartext
LAN HTTP to platform.api (black:3060); prod will front with Caddy HTTPS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 00:06:22 -07:00

53 lines
1.4 KiB
YAML

name: CocotteCockpitiOS
options:
bundleIdPrefix: tech.cocotte
deploymentTarget:
iOS: "17.0"
createIntermediateGroups: true
packages:
CocotteCockpitKit:
path: ../cockpit-kit
targets:
CocotteCockpitiOS:
type: application
platform: iOS
sources:
- path: Sources
dependencies:
- package: CocotteCockpitKit
product: CocotteCockpitKit
info:
path: Sources/Info.plist
properties:
CFBundleDisplayName: CocotteAI
UILaunchScreen: {}
# Dev/simulator builds hit platform.api over cleartext HTTP on the LAN
# (black:3060). Production fronts the API with Caddy HTTPS; tighten then.
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
NSAllowsLocalNetworking: true
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: tech.cocotte.cockpit.ios
GENERATE_INFOPLIST_FILE: "YES"
INFOPLIST_FILE: Sources/Info.plist
DEVELOPMENT_TEAM: ""
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "-"
PROVISIONING_PROFILE_SPECIFIER: ""
TARGETED_DEVICE_FAMILY: "1,2"
SWIFT_VERSION: "5.9"
schemes:
CocotteCockpitiOS:
build:
targets:
CocotteCockpitiOS: all
run:
config: Debug