Files
openclaw/apps/ios/project.yml

133 lines
4.4 KiB
YAML
Raw Normal View History

2026-01-04 14:32:47 +00:00
name: Clawdbot
options:
2026-01-04 14:32:47 +00:00
bundleIdPrefix: com.clawdbot
deploymentTarget:
iOS: "17.0"
xcodeVersion: "16.0"
settings:
base:
SWIFT_VERSION: "6.0"
packages:
2026-01-04 14:32:47 +00:00
ClawdbotKit:
path: ../shared/ClawdbotKit
2025-12-23 01:30:40 +01:00
Swabble:
path: ../../Swabble
schemes:
2026-01-04 14:32:47 +00:00
Clawdbot:
shared: true
build:
targets:
2026-01-04 14:32:47 +00:00
Clawdbot: all
test:
targets:
2026-01-04 14:32:47 +00:00
- ClawdbotTests
targets:
2026-01-04 14:32:47 +00:00
Clawdbot:
type: application
platform: iOS
sources:
- path: Sources
dependencies:
2026-01-04 14:32:47 +00:00
- package: ClawdbotKit
- package: ClawdbotKit
product: ClawdbotChatUI
2025-12-23 01:30:40 +01:00
- package: Swabble
product: SwabbleKit
2025-12-21 00:22:33 +01:00
- sdk: AppIntents.framework
preBuildScripts:
- name: SwiftFormat (lint)
basedOnDependencyAnalysis: false
2025-12-21 01:47:52 +01:00
inputFileLists:
- $(SRCROOT)/SwiftSources.input.xcfilelist
script: |
set -euo pipefail
2025-12-21 01:47:52 +01:00
export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"
if ! command -v swiftformat >/dev/null 2>&1; then
echo "error: swiftformat not found (brew install swiftformat)" >&2
exit 1
fi
swiftformat --lint --config "$SRCROOT/../../.swiftformat" \
2025-12-21 01:47:52 +01:00
--filelist "$SRCROOT/SwiftSources.input.xcfilelist"
- name: SwiftLint
basedOnDependencyAnalysis: false
2025-12-21 01:47:52 +01:00
inputFileLists:
- $(SRCROOT)/SwiftSources.input.xcfilelist
script: |
set -euo pipefail
2025-12-21 01:47:52 +01:00
export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"
if ! command -v swiftlint >/dev/null 2>&1; then
echo "error: swiftlint not found (brew install swiftlint)" >&2
exit 1
fi
2025-12-21 01:47:52 +01:00
swiftlint lint --config "$SRCROOT/.swiftlint.yml" --use-script-input-file-lists
settings:
base:
CODE_SIGN_IDENTITY: "Apple Development"
CODE_SIGN_STYLE: Manual
DEVELOPMENT_TEAM: Y5PE65HELJ
2026-01-04 14:32:47 +00:00
PRODUCT_BUNDLE_IDENTIFIER: com.clawdbot.ios
PROVISIONING_PROFILE_SPECIFIER: "com.clawdbot.ios Development"
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
ENABLE_APPINTENTS_METADATA: NO
info:
path: Sources/Info.plist
properties:
2026-01-04 14:32:47 +00:00
CFBundleDisplayName: Clawdbot
CFBundleIconName: AppIcon
CFBundleShortVersionString: "2026.1.9"
CFBundleVersion: "20260109"
UILaunchScreen: {}
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UIBackgroundModes:
- audio
2026-01-04 14:32:47 +00:00
NSLocalNetworkUsageDescription: Clawdbot discovers and connects to your Clawdbot bridge on the local network.
2025-12-21 01:47:52 +01:00
NSAppTransportSecurity:
NSAllowsArbitraryLoadsInWebContent: true
NSBonjourServices:
2026-01-04 14:32:47 +00:00
- _clawdbot-bridge._tcp
NSCameraUsageDescription: Clawdbot can capture photos or short video clips when requested via the bridge.
NSLocationWhenInUseUsageDescription: Clawdbot uses your location when you allow location sharing.
NSLocationAlwaysAndWhenInUseUsageDescription: Clawdbot can share your location in the background when you enable Always.
2026-01-04 14:32:47 +00:00
NSMicrophoneUsageDescription: Clawdbot needs microphone access for voice wake.
NSSpeechRecognitionUsageDescription: Clawdbot uses on-device speech recognition for voice wake.
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
2025-12-14 02:05:50 +00:00
2026-01-04 14:32:47 +00:00
ClawdbotTests:
2025-12-14 02:05:50 +00:00
type: bundle.unit-test
platform: iOS
sources:
- path: Tests
dependencies:
2026-01-04 14:32:47 +00:00
- target: Clawdbot
2025-12-23 01:30:40 +01:00
- package: Swabble
product: SwabbleKit
- sdk: AppIntents.framework
2025-12-14 02:05:50 +00:00
settings:
base:
2026-01-04 14:32:47 +00:00
PRODUCT_BUNDLE_IDENTIFIER: com.clawdbot.ios.tests
2025-12-14 02:05:50 +00:00
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
2026-01-04 14:32:47 +00:00
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Clawdbot.app/Clawdbot"
2025-12-14 02:05:50 +00:00
BUNDLE_LOADER: "$(TEST_HOST)"
info:
path: Tests/Info.plist
properties:
2026-01-04 14:32:47 +00:00
CFBundleDisplayName: ClawdbotTests
CFBundleShortVersionString: "2026.1.9"
CFBundleVersion: "20260109"