git.iko.soy/parseable-macos
on 2026.06.22.0434 help sign in
parseable-macos/project.yml
84 lines 2.5 kB history raw
1name: ParseableViewer
2options:
3 bundleIdPrefix: com.parseableviewer
4 deploymentTarget:
5 macOS: "14.0"
6 xcodeVersion: "16.2"
7 createIntermediateGroups: true
8 defaultConfig: Release
10targets:
11 ParseableViewer:
12 type: application
13 platform: macOS
14 sources:
15 - path: ParseableViewer
16 excludes:
17 - "**/.DS_Store"
18 settings:
19 base:
20 PRODUCT_BUNDLE_IDENTIFIER: com.parseableviewer.app
21 PRODUCT_NAME: "Parseable Viewer"
22 PRODUCT_MODULE_NAME: ParseableViewer
23 MARKETING_VERSION: "1.0.0"
24 CURRENT_PROJECT_VERSION: 1
25 SWIFT_VERSION: "5.9"
26 MACOSX_DEPLOYMENT_TARGET: "14.0"
27 CODE_SIGN_IDENTITY: "-"
28 CODE_SIGN_STYLE: Manual
29 COMBINE_HIDPI_IMAGES: YES
30 INFOPLIST_FILE: ParseableViewer/Info.plist
31 ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
32 ENABLE_HARDENED_RUNTIME: YES
33 configs:
34 Debug:
35 SWIFT_OPTIMIZATION_LEVEL: "-Onone"
36 SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG"
37 Release:
38 SWIFT_OPTIMIZATION_LEVEL: "-O"
39 SWIFT_COMPILATION_MODE: "wholemodule"
40 postBuildScripts:
41 - script: |
42 COMMIT_TIMESTAMP=$(TZ=UTC git log -1 --format='%cd' --date=format-local:'%Y.%m.%d.%H%M' 2>/dev/null)
43 if [ -n "$COMMIT_TIMESTAMP" ]; then
44 /usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${COMMIT_TIMESTAMP}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
45 /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${COMMIT_TIMESTAMP}" "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}"
46 fi
47 name: Set Version from Git Commit Timestamp
48 basedOnDependencyAnalysis: false
49 entitlements:
50 path: ParseableViewer/ParseableViewer.entitlements
52 ParseableViewerTests:
53 type: bundle.unit-test
54 platform: macOS
55 sources:
56 - path: ParseableViewerTests
57 excludes:
58 - "**/.DS_Store"
59 settings:
60 base:
61 SWIFT_VERSION: "5.9"
62 MACOSX_DEPLOYMENT_TARGET: "14.0"
63 GENERATE_INFOPLIST_FILE: YES
64 BUNDLE_LOADER: "$(BUILT_PRODUCTS_DIR)/Parseable Viewer.app/Contents/MacOS/Parseable Viewer"
65 TEST_HOST: "$(BUNDLE_LOADER)"
66 dependencies:
67 - target: ParseableViewer
69schemes:
70 ParseableViewer:
71 build:
72 targets:
73 ParseableViewer: all
74 ParseableViewerTests: [test]
75 run:
76 config: Debug
77 test:
78 config: Debug
79 targets:
80 - ParseableViewerTests
81 profile:
82 config: Release
83 analyze:
84 config: Debug