-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathproject.yml
More file actions
81 lines (78 loc) · 2.34 KB
/
project.yml
File metadata and controls
81 lines (78 loc) · 2.34 KB
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
name: Spacie
configs:
Debug: debug
Release: release
Release-AppStore: release
options:
bundleIdPrefix: com.spacie
deploymentTarget:
macOS: "15.0"
xcodeVersion: "16.0"
createIntermediateGroups: true
generateEmptyDirectories: false
settings:
base:
SWIFT_VERSION: "6.0"
MACOSX_DEPLOYMENT_TARGET: "15.0"
SWIFT_STRICT_CONCURRENCY: complete
ENABLE_HARDENED_RUNTIME: YES
CODE_SIGN_IDENTITY: "-"
CODE_SIGN_STYLE: Manual
MARKETING_VERSION: "0.0.1"
CURRENT_PROJECT_VERSION: "3"
PRODUCT_NAME: Spacie
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.utilities
INFOPLIST_KEY_NSHumanReadableCopyright: "MIT License"
INFOPLIST_KEY_CFBundleDisplayName: Spacie
configs:
Debug:
SWIFT_OPTIMIZATION_LEVEL: "-Onone"
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG DIRECT"
Release:
SWIFT_OPTIMIZATION_LEVEL: "-O"
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DIRECT"
Release-AppStore:
SWIFT_OPTIMIZATION_LEVEL: "-O"
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "APPSTORE"
targets:
Spacie:
type: application
platform: macOS
preBuildScripts:
- name: "Build KMP SpacieKit"
script: |
cd "$SRCROOT/shared"
if [ "$CONFIGURATION" = "Debug" ]; then
./gradlew assembleSpacieKitDebugXCFramework --no-daemon -q
else
./gradlew assembleSpacieKitReleaseXCFramework --no-daemon -q
fi
basedOnDependencyAnalysis: false
sources:
- path: Spacie
excludes:
- "**/*Tests*"
dependencies:
- framework: shared/build/XCFrameworks/debug/SpacieKit.xcframework
embed: false
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.spacie.app
INFOPLIST_KEY_LSUIElement: false
CODE_SIGN_ENTITLEMENTS: Spacie/Spacie.entitlements
FRAMEWORK_SEARCH_PATHS: "$(inherited) $(SRCROOT)/shared/build/XCFrameworks/debug"
SpacieTests:
type: bundle.unit-test
platform: macOS
sources:
- path: SpacieTests
dependencies:
- target: Spacie
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.spacie.tests
PRODUCT_MODULE_NAME: SpacieTests
GENERATE_INFOPLIST_FILE: YES
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Spacie.app/Contents/MacOS/Spacie"
BUNDLE_LOADER: "$(TEST_HOST)"