-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathxcodegen.yml
81 lines (80 loc) · 2.56 KB
/
xcodegen.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
name: App
schemes:
App:
build:
targets:
App: all
AppTests: [run, tests]
AppUITests: [run, test]
test:
targets:
- AppTests
targets:
App:
type: application
platform: iOS
deploymentTarget: "15.2"
sources: [App]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ${SWISH_EXAMPLE_BUNDLE_ID}
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: "1.0.0"
TARGETED_DEVICE_FAMILY: 1
DEVELOPMENT_TEAM: ${SWISH_EXAMPLE_DEVELOPMENT_TEAM}
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: YES
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: "UIInterfaceOrientationPortrait"
info:
path: App/Info.plist
properties:
CFBundleDisplayName: Swish Example
UILaunchScreen: {}
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
ITSAppUsesNonExemptEncryption: false
preBuildScripts:
-
name: "Swish: generateCode"
script: xcrun --sdk macosx mint run -m ${PROJECT_DIR}/Mintfile swish generate
AppTests:
type: bundle.unit-test
platform: iOS
deploymentTarget: "15.2"
sources: [AppTests]
dependencies:
- target: App
info:
path: AppTests/Info.plist
properties:
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE)
settings:
TEST_TARGET_NAME: App
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: "1.0"
TARGETED_DEVICE_FAMILY: 1
DEVELOPMENT_TEAM: ${SWISH_EXAMPLE_DEVELOPMENT_TEAM}
GENERATE_INFOPLIST_FILE: YES
PRODUCT_BUNDLE_IDENTIFIER: ${SWISH_EXAMPLE_BUNDLE_ID}.UnitTests
AppUITests:
type: bundle.ui-testing
platform: iOS
deploymentTarget: "15.2"
sources: [AppUITests]
info:
path: AppUITests/Info.plist
properties:
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE)
settings:
TEST_TARGET_NAME: App
CODE_SIGN_STYLE: Automatic
CURRENT_PROJECT_VERSION: 1
MARKETING_VERSION: "1.0"
TARGETED_DEVICE_FAMILY: 1
DEVELOPMENT_TEAM: ${SWISH_EXAMPLE_DEVELOPMENT_TEAM}
GENERATE_INFOPLIST_FILE: YES
PRODUCT_BUNDLE_IDENTIFIER: ${SWISH_EXAMPLE_BUNDLE_ID}.UITests