-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.yml
45 lines (45 loc) · 1.18 KB
/
project.yml
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
name: YAS
options:
deploymentTarget:
iOS: 10.0
macOS: 10.12
usesTabs: false
indentWidth: 2
targets:
Test:
platform: iOS
type: bundle.unit-test
sources:
- test
dependencies:
- target: YAS_iOS
scheme:
testTargets:
- Test
gatherCoverageData: true
environmentVariables:
- variable: TEST
value: YES
isEnabled: true
YAS:
platform: [iOS, macOS]
type: framework
sources:
- src
settings:
base:
INFOPLIST_FILE: src/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: io.alexdrone.yas
PLATFORM: platform $platform
GCC_GENERATE_DEBUGGING_SYMBOLS: YES
GCC_DEBUGGING_SYMBOLS: full,
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ONLY_ACTIVE_ARCH: NO
SWIFT_OPTIMIZATION_LEVEL: -Owholemodule
SWIFT_VERSION: 5
configFiles:
Debug: configs/Debug.xcconfig
Release: configs/Release.xcconfig
postbuildScripts:
- name: Dist
- script: NAME="YAS";PRODUCT="${BUILT_PRODUCTS_DIR}";cp -R "${PRODUCT}/${NAME}.framework" ./bin;cp -R "${PRODUCT}/${NAME}.framework.dSYM" ./bin;cd ./bin;zip -r dist.zip *;