-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.yml
108 lines (101 loc) · 3.29 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: RK
############
# Options
############
options:
minimumXcodeGenVersion: 2.10
groupSortPosition: top
generateEmptyDirectories: true
xcodeVersion: 11.0
deploymentTarget:
iOS: "14.0"
############
# Configs
############
configs:
Debug: debug
Release: release
packages:
Swinject:
url: https://github.com/Swinject/Swinject
from: 2.5.0
URLImage:
url: https://github.com/dmytro-anokhin/url-image
from: 2.1.1
Rswift:
url: https://github.com/mac-cain13/R.swift.Library
from: 5.2.0
############
# Targets
############
targets:
RK:
type: application
platform: iOS
deploymentTarget:
iOS: "14.0"
settings:
base:
SWIFT_VERSION: 5.0
TARGETED_DEVICE_FAMILY: 1
PRODUCT_BUNDLE_IDENTIFIER: "ru.trykov.roskachestvo"
CODE_SIGN_STYLE: "Manual"
ENABLE_BITCODE: false
DEVELOPMENT_TEAM: 7ZU2JEECEY
CURRENT_PROJECT_VERSION: 1
VERSIONING_SYSTEM: "apple-generic"
configs:
debug:
CODE_SIGN_IDENTITY: "Apple Development: Iurii Trykov (ZR4UPZM377)"
PROVISIONING_PROFILE_SPECIFIER: "match Development ru.trykov.roskachestvo"
release:
CODE_SIGN_IDENTITY: "Apple Distribution: Юрий Трыков (7ZU2JEECEY)"
PROVISIONING_PROFILE_SPECIFIER: "match AppStore ru.trykov.roskachestvo"
sources:
- path: RK
dependencies:
- package: Swinject
- package: URLImage
- package: Rswift
scheme:
testTargets:
- RKTests
gatherCoverageData: true
preBuildScripts:
- script: "export PATH=\"$PATH:/opt/homebrew/bin\" \n if which \"swiftlint\" > /dev/null; then\n\"swiftlint\" --strict\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"
name: Swiftlint
- script: "export PATH=\"$PATH:/opt/homebrew/bin\" \n \"rswift\" generate \"$SRCROOT/RK/Resources/Rswift/R.generated.swift\"\n"
inputFiles: [ "$TEMP_DIR/rswift-lastrun" ]
outputFiles: [ "$SRCROOT/RK/Resources/Rswift/R.generated.swift" ]
name: R.swift
info:
path: RK/SupportingFiles/Info.plist
properties:
CFBundleDisplayName: "Роскачество+"
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "1"
UISupportedInterfaceOrientations: [ UIInterfaceOrientationPortrait ]
UILaunchStoryboardName: LaunchScreen
UIUserInterfaceStyle: Light
NSCameraUsageDescription: Приложение сможет отсканировать бар код для поиска продуктов
UIStatusBarStyle: UIStatusBarStyleLightContent
LSRequiresIPhoneOS: true
ITSAppUsesNonExemptEncryption: false
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UISceneConfigurations:
UIWindowSceneSessionRoleApplication:
- UISceneConfigurationName: Default Configuration
UISceneDelegateClassName: $(PRODUCT_MODULE_NAME).SceneDelegate
RKTests:
type: bundle.unit-test
platform: iOS
sources: RKTests
settings:
base:
SWIFT_VERSION: 5.0
DEVELOPMENT_TEAM: 7ZU2JEECEY
TEST_HOST: $(BUILT_PRODUCTS_DIR)/RK.app/RK
TARGETED_DEVICE_FAMILY: 1
dependencies:
- target: RK