-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathproject.yml
More file actions
94 lines (90 loc) · 3.83 KB
/
Copy pathproject.yml
File metadata and controls
94 lines (90 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: CodegiOS
options:
bundleIdPrefix: com.codeg
deploymentTarget:
iOS: "26.0"
createIntermediateGroups: true
groupSortPosition: top
developmentLanguage: en
configFiles:
Debug: Config/Signing.xcconfig
Release: Config/Signing.xcconfig
packages:
# Native VT100/xterm terminal emulator (the equivalent of the web client's
# xterm.js) — backs the folder detail's Terminal tab. First SPM dependency in
# the project; resolved over the network on the first build.
SwiftTerm:
url: https://github.com/migueldeicaza/SwiftTerm
# Exact pin: CodegiOS.xcodeproj (and its Package.resolved) is git-ignored and
# regenerated by xcodegen, so a range would let fresh checkouts resolve a
# different SwiftTerm. Bump deliberately.
exactVersion: "1.13.0"
settings:
base:
SWIFT_VERSION: "5.0"
TARGETED_DEVICE_FAMILY: "1,2"
# Device installs require a team supplied by Config/Signing.local.xcconfig
# or the CODEG_DEVELOPMENT_TEAM xcodebuild setting. Simulators need neither.
CODE_SIGNING_ALLOWED: "YES"
CODE_SIGN_STYLE: Automatic
SWIFT_STRICT_CONCURRENCY: minimal
ENABLE_USER_SCRIPT_SANDBOXING: "YES"
targets:
CodegiOS:
type: application
platform: iOS
deploymentTarget: "26.0"
sources:
- path: CodegiOS
dependencies:
- package: SwiftTerm
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: app.codeg.ios
PRODUCT_NAME: Codeg
MARKETING_VERSION: "1.0.1"
CURRENT_PROJECT_VERSION: "2"
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS: "NO"
# App icon lives in Assets.xcassets/AppIcon.appiconset (single-size 1024 universal).
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
# No fixed status-bar style: let it follow the active color scheme (dark
# content on light backgrounds, light content on dark) so Light mode is legible.
info:
path: CodegiOS/Info.plist
properties:
CFBundleDisplayName: Codeg
# Version is single-sourced from the MARKETING_VERSION / CURRENT_PROJECT_VERSION
# build settings above so `scripts/release.sh` only has to bump those two lines.
# These MUST stay as $(...) references, not literals — a literal here overrides
# the build setting and silently freezes the displayed version.
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
# App-UI localizations. The String Catalog (Localizable.xcstrings) carries
# the actual translations; this advertises them at runtime so an in-app
# `.environment(\.locale, …)` override (the Language picker) can resolve
# zh-Hans even when the device language is English.
CFBundleLocalizations:
- en
- zh-Hans
CFBundleURLTypes:
- CFBundleURLName: app.codeg.ios
CFBundleURLSchemes:
- codeg
UILaunchScreen: {}
UIUserInterfaceStyleSupportsDark: true
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: true
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
NSLocalNetworkUsageDescription: "Codeg connects to your codeg server, which may run on your local network."
NSPhotoLibraryUsageDescription: "Codeg attaches photos you pick to your message to the agent."
NSCameraUsageDescription: "Codeg uses the camera to take photos for your messages and to scan a server's QR code."
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight