-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathproject.yml
More file actions
91 lines (85 loc) · 2.17 KB
/
project.yml
File metadata and controls
91 lines (85 loc) · 2.17 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
name: OpenVision
options:
bundleIdPrefix: com.openvision
deploymentTarget:
iOS: "16.0"
xcodeVersion: "15.0"
generateEmptyDirectories: true
groupSortPosition: top
settings:
base:
MARKETING_VERSION: "1.0.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "5.9"
DEVELOPMENT_TEAM: ${DEVELOPMENT_TEAM}
CODE_SIGN_STYLE: Automatic
INFOPLIST_FILE: OpenVision/Resources/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: ${PRODUCT_BUNDLE_IDENTIFIER}
META_APP_ID: ${META_APP_ID}
CLIENT_TOKEN: ${CLIENT_TOKEN}
APP_LINK_URL_SCHEME: ${APP_LINK_URL_SCHEME}
configs:
Debug:
settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
Release:
settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
configFiles:
Debug: Config.xcconfig
Release: Config.xcconfig
targets:
OpenVision:
type: application
platform: iOS
sources:
- path: OpenVision
excludes:
- "**/*.example"
resources:
- path: OpenVision/Resources
excludes:
- "**/*.plist"
settings:
base:
INFOPLIST_FILE: OpenVision/Resources/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: $(PRODUCT_BUNDLE_IDENTIFIER)
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
TARGETED_DEVICE_FAMILY: "1,2"
SUPPORTS_MACCATALYST: false
ENABLE_PREVIEWS: true
dependencies:
- package: meta-wearables-dat-ios
products:
- MWDATCore
- MWDATCamera
preBuildScripts:
- name: "Check Config Files"
script: |
if [ ! -f "${PROJECT_DIR}/Config.xcconfig" ]; then
echo "error: Config.xcconfig not found. Copy Config.xcconfig.example to Config.xcconfig"
exit 1
fi
basedOnDependencyAnalysis: false
packages:
meta-wearables-dat-ios:
url: https://github.com/facebook/meta-wearables-dat-ios
from: 0.4.0
schemes:
OpenVision:
build:
targets:
OpenVision: all
run:
config: Debug
commandLineArguments:
"-FIRDebugEnabled": false
test:
config: Debug
gatherCoverageData: true
profile:
config: Release
analyze:
config: Debug
archive:
config: Release