-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
51 lines (47 loc) · 1.82 KB
/
project.yml
File metadata and controls
51 lines (47 loc) · 1.82 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
# Xcode project configuration. Managed by https://github.com/yonaskolb/XcodeGen
# Xcode is only used to build the release App Bundle. Debug builds only use Swift Package Manager
name: WinMux
packages:
WinMuxPackage:
path: .
configs:
Debug: debug
Release: release
targets:
WinMux:
type: application
platform: macOS
deploymentTarget: "13.0"
sources:
- "Sources/WinMuxApp"
- "resources"
dependencies:
- package: WinMuxPackage
product: AppBundle
# https://developer.apple.com/documentation/xcode/build-settings-reference
settings:
base:
SWIFT_VERSION: 6.2 # Swift Language Version
GENERATE_INFOPLIST_FILE: YES
MARKETING_VERSION: ${XCODEGEN_WINMUX_VERSION}
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/20001431-108256
# Specifies whether the app runs as an agent app. If this key is set to YES, Launch Services runs the app as an agent app.
# Agent apps do not appear in the Dock or in the Force Quit window (cmd-opt-esc)
INFOPLIST_KEY_LSUIElement: YES
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: ${XCODEGEN_WINMUX_CODE_SIGN_IDENTITY}
DEVELOPMENT_TEAM: ${XCODEGEN_WINMUX_DEVELOPMENT_TEAM}
configs:
Debug:
PRODUCT_NAME: WinMux-Debug
PRODUCT_BUNDLE_IDENTIFIER: com.zimengxiong.winmux.debug
Release:
PRODUCT_NAME: WinMux
PRODUCT_BUNDLE_IDENTIFIER: com.zimengxiong.winmux
SWIFT_TREAT_WARNINGS_AS_ERRORS: YES
GCC_TREAT_WARNINGS_AS_ERRORS: YES
entitlements:
path: resources/WinMux.entitlements
properties:
# Accessibility API doesn't work in sandboxed apps
com.apple.security.app-sandbox: false