project.yml (4810B)
1name: Reportage
2
3options:
4 bundleIdPrefix: net.inqk.reportage
5 deploymentTarget:
6 iOS: "26.0"
7
8configFiles:
9 Debug: Generated/Config.xcconfig
10 Release: Generated/Config.xcconfig
11
12settings:
13 SWIFT_VERSION: 6
14 DEAD_CODE_STRIPPING: YES
15 ENABLE_USER_SCRIPT_SANDBOXING: YES
16 ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_EXTENSIONS: YES
17 ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: YES
18 SWIFT_EMIT_LOC_STRINGS: YES
19 STRING_CATALOG_GENERATE_SYMBOLS: YES
20 DEVELOPMENT_TEAM: 7TD7PZBNXP
21
22targets:
23 Reportage:
24 type: application
25 platform: iOS
26 sources:
27 - Reportage
28 - Shared
29 dependencies:
30 - target: ReportageWidgets
31 info:
32 path: Reportage/Info.plist
33 properties:
34 BGTaskSchedulerPermittedIdentifiers:
35 - net.inqk.reportage.prompts
36 CFBundleDisplayName: Reportage
37 CFBundleShortVersionString: "1.0.1"
38
39 CFBundleURLTypes:
40 - CFBundleURLName: net.inqk.reportage
41 CFBundleURLSchemes:
42 - reportage
43 CFBundleVersion: $(CURRENT_PROJECT_VERSION)
44 ITSAppUsesNonExemptEncryption: false
45 LSRequiresIPhoneOS: true
46 UIBackgroundModes:
47 - fetch
48 NSHealthShareUsageDescription: Reportage records your steps and other activity so far that day with each report, and how you slept with wake reports. Health data stays on this iPhone.
49 NSHealthUpdateUsageDescription: Reportage only reads from Health. It never saves anything to Health.
50 NSFaceIDUsageDescription: Reportage uses Face ID to unlock the app when App Lock is turned on.
51 NSLocationWhenInUseUsageDescription: Reportage records where you are with each report, and suggests places nearby when you say where you are.
52 NSLocationAlwaysAndWhenInUseUsageDescription: Reportage records where you are with each report, including reports you log from a notification without opening the app.
53 UILaunchScreen: {}
54 UISupportedInterfaceOrientations:
55 - UIInterfaceOrientationPortrait
56 settings:
57 base:
58 PRODUCT_BUNDLE_IDENTIFIER: net.inqk.reportage
59 INFOPLIST_FILE: Reportage/Info.plist
60 ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
61 CODE_SIGN_ENTITLEMENTS: Reportage/Reportage.entitlements
62 TARGETED_DEVICE_FAMILY: "1"
63 CODE_SIGN_STYLE: Automatic
64 configs:
65
66
67
68 Release:
69 OTHER_LDFLAGS: $(inherited) -Wl,-no_deduplicate
70
71 ReportageWidgets:
72 type: app-extension
73 platform: iOS
74 sources:
75 - ReportageWidgets
76
77 - Shared/Intents/LogPassiveReportIntent.swift
78 info:
79 path: ReportageWidgets/Info.plist
80 properties:
81 CFBundleDisplayName: Reportage
82 CFBundleShortVersionString: "1.0.1"
83 CFBundleVersion: $(CURRENT_PROJECT_VERSION)
84 NSExtension:
85 NSExtensionPointIdentifier: com.apple.widgetkit-extension
86 settings:
87 base:
88 PRODUCT_BUNDLE_IDENTIFIER: net.inqk.reportage.widgets
89 INFOPLIST_FILE: ReportageWidgets/Info.plist
90 TARGETED_DEVICE_FAMILY: "1"
91 CODE_SIGN_STYLE: Automatic
92
93 Reportage Unit Tests:
94 type: bundle.unit-test
95 platform: iOS
96 sources:
97 - Tests/Unit
98 - Tests/Support
99 dependencies:
100 - target: Reportage
101 settings:
102 PRODUCT_BUNDLE_IDENTIFIER: net.inqk.reportage.unittests
103 CODE_SIGN_STYLE: Automatic
104 TEST_HOST: $(BUILT_PRODUCTS_DIR)/Reportage.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Reportage
105 BUNDLE_LOADER: $(TEST_HOST)
106 GENERATE_INFOPLIST_FILE: YES
107
108schemes:
109 Reportage:
110 build:
111 targets:
112 Reportage: all
113 preActions:
114 - script: |
115 cd "${SRCROOT}"
116 mkdir -p Generated
117 unset SWIFT_DEBUG_INFORMATION_FORMAT SWIFT_DEBUG_INFORMATION_VERSION
118 buildYear=`git log -1 --format=%cd --date=format:%Y`
119 buildVersion=`git rev-list HEAD | wc -l | tr -d ' '`
120 {
121 echo '#include? "Local.xcconfig"'
122 echo "CURRENT_PROJECT_VERSION = $buildYear.$buildVersion"
123 } > Generated/Config.xcconfig
124 settingsTarget: Reportage
125 run:
126 config: Debug
127 test:
128 config: Debug
129 environmentVariables:
130 OS_ACTIVITY_DT_MODE: NO
131 targets:
132 - name: Reportage Unit Tests
133 parallelizable: false
134 randomExecutionOrder: true
135 profile:
136 config: Release
137 analyze:
138 config: Debug
139 archive:
140 config: Release