forked from AndrewBennet/ReadingListV1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
94 lines (88 loc) · 2.58 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
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: ReadingList
options:
groupSortPosition: top
usesTabs: false
indentWith: 4
bundleIdPrefix: com.andrewbennet
targets:
ReadingList:
type: application
platform: iOS
deploymentTarget: 11.0
sources: [ReadingList]
scheme:
testTargets:
- ReadingList_UnitTests
- ReadingList_UITests
dependencies:
- sdk: StoreKit.framework
- target: ReadingList_Foundation
preBuildScripts:
- name: SwiftLint
script: |
if [[ -z $CI ]]; then
"/usr/local/bin/swiftlint" --path "${PROJECT_DIR}"
fi
postBuildScripts:
- name: "[CP] Embed Pods Frameworks"
script:
- name: Run Fabric Script
inputFiles: [$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)]
script: |
"${PODS_ROOT}/Fabric/run"
settings:
base:
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
CODE_SIGN_STYLE: Manual
CODE_SIGN_ENTITLEMENTS: ReadingList/ReadingList.entitlements
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
DEVELOPMENT_TEAM: YPDEV2E775
PRODUCT_BUNDLE_IDENTIFIER: com.andrewbennet.books
configs:
Debug:
PROVISIONING_PROFILE_SPECIFIER: match Development com.andrewbennet.books
OTHER_SWIFT_FLAGS: $(inherited) "-D" "DEBUG"
Release:
PROVISIONING_PROFILE_SPECIFIER: match AppStore com.andrewbennet.books
CODE_SIGN_IDENTITY[sdk=iphoneos*]: "iPhone Distribution: Andrew Bennet (YPDEV2E775)"
OTHER_SWIFT_FLAGS: $(inherited) "-D" "RELEASE"
attributes:
SystemCapabilities:
com.apple.iCloud:
enabled: 1
com.apple.InAppPurchase:
enabled: 1
ReadingList_Foundation:
type: framework
platform: iOS
deploymentTarget: 11.0
sources: [ReadingList_Foundation]
ReadingList_UnitTests:
type: bundle.unit-test
platform: iOS
deploymentTarget: 11.0
sources: [ReadingList_UnitTests]
dependencies:
- target: ReadingList
ReadingList_UITests:
type: bundle.ui-testing
platform: iOS
deploymentTarget: 11.0
sources:
- path: ReadingList_UITests
- path: ReadingList/Api/GoogleBooksRequest.swift
dependencies:
- target: ReadingList
ReadingList_Screenshots:
type: bundle.ui-testing
platform: iOS
deploymentTarget: 11.0
sources:
- path: ReadingList_Screenshots
- path: ReadingList_UITests
- path: ReadingList/Api/GoogleBooksRequest.swift
dependencies:
- target: ReadingList
scheme:
testTargets:
- ReadingList_Screenshots