openclaw/apps/ios/project.yml

135 lines
4.4 KiB
YAML
Raw Normal View History

2026-01-30 03:15:10 +01:00
name: OpenClaw
options:
2026-01-30 03:15:10 +01:00
bundleIdPrefix: ai.openclaw
deploymentTarget:
iOS: "18.0"
xcodeVersion: "16.0"
settings:
base:
SWIFT_VERSION: "6.0"
packages:
2026-01-30 03:15:10 +01:00
OpenClawKit:
path: ../shared/OpenClawKit
2025-12-23 01:30:40 +01:00
Swabble:
path: ../../Swabble
schemes:
2026-01-30 03:15:10 +01:00
OpenClaw:
shared: true
build:
targets:
2026-01-30 03:15:10 +01:00
OpenClaw: all
test:
targets:
2026-01-30 03:15:10 +01:00
- OpenClawTests
targets:
2026-01-30 03:15:10 +01:00
OpenClaw:
type: application
platform: iOS
sources:
- path: Sources
dependencies:
2026-01-30 03:15:10 +01:00
- package: OpenClawKit
- package: OpenClawKit
product: OpenClawChatUI
- package: OpenClawKit
product: OpenClawProtocol
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-30 03:15:10 +01:00
PRODUCT_BUNDLE_IDENTIFIER: ai.openclaw.ios
PROVISIONING_PROFILE_SPECIFIER: "ai.openclaw.ios Development"
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
ENABLE_APPINTENTS_METADATA: NO
info:
path: Sources/Info.plist
properties:
2026-01-30 03:15:10 +01:00
CFBundleDisplayName: OpenClaw
CFBundleIconName: AppIcon
2026-02-12 18:20:26 +01:00
CFBundleShortVersionString: "2026.2.12"
CFBundleVersion: "20260212"
UILaunchScreen: {}
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UIBackgroundModes:
- audio
2026-01-30 03:15:10 +01:00
NSLocalNetworkUsageDescription: OpenClaw discovers and connects to your OpenClaw gateway on the local network.
2025-12-21 01:47:52 +01:00
NSAppTransportSecurity:
NSAllowsArbitraryLoadsInWebContent: true
NSBonjourServices:
2026-01-30 03:15:10 +01:00
- _openclaw-gw._tcp
NSCameraUsageDescription: OpenClaw can capture photos or short video clips when requested via the gateway.
NSLocationWhenInUseUsageDescription: OpenClaw uses your location when you allow location sharing.
NSLocationAlwaysAndWhenInUseUsageDescription: OpenClaw can share your location in the background when you enable Always.
NSMicrophoneUsageDescription: OpenClaw needs microphone access for voice wake.
NSSpeechRecognitionUsageDescription: OpenClaw 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-30 03:15:10 +01:00
OpenClawTests:
2025-12-14 02:05:50 +00:00
type: bundle.unit-test
platform: iOS
sources:
- path: Tests
dependencies:
2026-01-30 03:15:10 +01:00
- target: OpenClaw
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-30 03:15:10 +01:00
PRODUCT_BUNDLE_IDENTIFIER: ai.openclaw.ios.tests
2025-12-14 02:05:50 +00:00
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
2026-01-30 03:15:10 +01:00
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/OpenClaw.app/OpenClaw"
2025-12-14 02:05:50 +00:00
BUNDLE_LOADER: "$(TEST_HOST)"
info:
path: Tests/Info.plist
properties:
2026-01-30 03:15:10 +01:00
CFBundleDisplayName: OpenClawTests
2026-02-12 18:20:26 +01:00
CFBundleShortVersionString: "2026.2.12"
CFBundleVersion: "20260212"