-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
108 lines (103 loc) · 3.76 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: XcodeGenSample
packages:
Kingfisher:
url: https://github.com/onevcat/Kingfisher
majorVersion: 6.0.0
#SwiftPM:
# url: https://github.com/apple/swift-package-manager
# branch: swift-5.0-branch
schemes:
XcodeGenSample-UAT:
build:
targets:
XcodeGenSample: all
run:
config: UAT-Debug
commandLineArguments:
-FIRDebugDisabled: NO
-FIRDebugEnable: YES
archive:
config: UAT-Release
XcodeGenSample-PROD:
build:
targets:
XcodeGenSample: all
run:
config: PROD-Debug
archive:
config: PROD-Release
configs:
UAT-Debug: debug
UAT-Release: release
PROD-Debug: debug
PROD-Release: release
configFiles:
UAT-Debug: XcodeGenSample/Config/UAT-Debug.xcconfig
UAT-Release: XcodeGenSample/Config/UAT-Release.xcconfig
PROD-Debug: XcodeGenSample/Config/PROD-Debug.xcconfig
PROD-Release: XcodeGenSample/Config/PROD-Release.xcconfig
settings:
CODE_SIGN_STYLE: Manual
ENABLE_BITCODE: false
options:
createIntermediateGroups: true
deploymentTarget:
iOS: 12.0
xcodeVersion: 14.0
targets:
XcodeGenSample:
dependencies:
- package: Kingfisher
info:
path: XcodeGenSample/Config/Info.plist
properties:
CFBundleDevelopmentRegion: zh-hant
UIUserInterfaceStyle: Light
CFBundleDisplayName: $(CFG_APP_NAME)
CFBundleShortVersionString: $(CFG_APP_VERSION)
CFBundleVersion: $(CFG_APP_BUILD)
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait]
UILaunchStoryboardName: LaunchScreen
NSCameraUsageDescription: Enable camera access to capture photos and videos.
NSPhotoLibraryAddUsageDescription: Allow this app to save photos and videos to your photo library.
NSPhotoLibraryUsageDescription: Access to your photo library is required to select and share photos and videos within the app.
NSLocationWhenInUseUsageDescription: Allow this app to access your location while in use to provide relevant location-based features.
NSMicrophoneUsageDescription: Grant access to your microphone to enable audio recording and use voice features within the app.
NSSpeechRecognitionUsageDescription: Enable speech recognition to use voice commands and dictation within the app.
CfgMode: $(CFG_MODE)
ITSAppUsesNonExemptEncryption: false
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UIBackgroundModes: [location, remote-notification]
NSAppTransportSecurity:
NSExceptionDomains:
your-app-ats.exception.domain.com.tw:
NSExceptionAllowsInsecureHTTPLoads: true
NSIncludesSubdomains: true
type: application
platform: iOS
deploymentTarget: "12.0"
preBuildScripts:
- path: "/bin/sh"
script: '"$PODS_ROOT/R.swift/rswift" generate "$SRCROOT/R.generated.swift"'
name: Generate R.swift
basedOnDependencyAnalysis: false
outputFiles:
- $SRCROOT/R.generated.swift
settings:
base:
INFOPLIST_FILE: XcodeGenSample/Config/Info.plist
PRODUCT_NAME: XcodeGenSample
TARGETED_DEVICE_FAMILY: [1, 2] #1 is iPhone, 2 is iPad
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
SWIFT_OBJC_BRIDGING_HEADER: XcodeGenSample/Resources/XcodeGenSample-Bridging-Header.h
CODE_SIGN_IDENTITY: $(CFG_CODE_SIGN_IDENTITY)
CODE_SIGN_ENTITLEMENTS: $(CFG_CODE_SIGN_ENTITLEMENTS)
PRODUCT_BUNDLE_IDENTIFIER: $(CFG_PRODUCT_BUNDLE_IDENTIFIER)
PROVISIONING_PROFILE_SPECIFIER: $(CFG_PROVISIONING_PROFILE_SPECIFIER)
DEVELOPMENT_TEAM: $(CFG_DEVELOPMENT_TEAM)
sources:
- path: XcodeGenSample
name: XcodeGenSample
type: group
- path: ./R.generated.swift