-
Notifications
You must be signed in to change notification settings - Fork 13
/
project.yml
31 lines (31 loc) · 974 Bytes
/
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
name: Buffer
options:
deploymentTarget:
iOS: 10.0
macOS: 10.12
usesTabs: false
indentWidth: 2
targets:
Buffer:
platform: [iOS, macOS]
type: framework
sources:
- src
settings:
base:
INFOPLIST_FILE: src/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: io.alexdrone.buffer
PLATFORM: platform $platform
SWIFT_VERSION: 5
SWIFT_OPTIMIZATION_LEVEL: -Owholemodule
PLATFORM: platform $platform
GCC_GENERATE_DEBUGGING_SYMBOLS: YES
GCC_DEBUGGING_SYMBOLS: full,
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ONLY_ACTIVE_ARCH: NO
configFiles:
Debug: configs/Debug.xcconfig
Release: configs/Release.xcconfig
postbuildScripts:
- name: Dist
- script: PRODUCT="${BUILT_PRODUCTS_DIR}/${TARGET_NAME}"; cp -R "${PRODUCT}.framework" ./bin; cp -R "${PRODUCT}.framework.dSYM" ./bin; cd ./bin; zip -r dist.zip Buffer.framework.dSYM Buffer.framework;