summaryrefslogtreecommitdiff
path: root/makima/ios/project.yml
blob: 5ec3eeeab91ee317029edae65817bcf15f5cf69c (plain) (blame)
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
name: Makima
options:
  bundleIdPrefix: co.soryu
  deploymentTarget:
    iOS: "18.0"
  developmentLanguage: en
  createIntermediateGroups: true
  xcodeVersion: "16.0"
  groupSortPosition: top
  generateEmptyDirectories: true

settings:
  base:
    SWIFT_VERSION: "5.10"
    IPHONEOS_DEPLOYMENT_TARGET: "18.0"
    ENABLE_USER_SCRIPT_SANDBOXING: YES
    CURRENT_PROJECT_VERSION: "1"
    MARKETING_VERSION: "0.1.0"
    SWIFT_STRICT_CONCURRENCY: complete
    CODE_SIGN_STYLE: Automatic
    DEVELOPMENT_TEAM: ""

targets:
  Makima:
    type: application
    platform: iOS
    sources:
      - path: Sources/Makima
        excludes:
          - "**/.DS_Store"
    resources:
      - path: Sources/Makima/Resources
    info:
      path: Sources/Makima/App/Info.plist
      properties:
        CFBundleDisplayName: Makima
        CFBundleShortVersionString: $(MARKETING_VERSION)
        CFBundleVersion: $(CURRENT_PROJECT_VERSION)
        LSRequiresIPhoneOS: true
        UILaunchScreen:
          UIColorName: BrandBackground
        UISupportedInterfaceOrientations:
          - UIInterfaceOrientationPortrait
        UIUserInterfaceStyle: Dark
        ITSAppUsesNonExemptEncryption: false
        NSAppTransportSecurity:
          NSAllowsArbitraryLoads: false
          NSAllowsArbitraryLoadsForMedia: false
        CFBundleURLTypes:
          - CFBundleURLName: co.soryu.makima
            CFBundleURLSchemes:
              - makima
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: co.soryu.makima
        TARGETED_DEVICE_FAMILY: "1"
        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
        ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: BrandAccent
        INFOPLIST_KEY_UIApplicationSceneManifest_Generation: YES

  MakimaTests:
    type: bundle.unit-test
    platform: iOS
    sources:
      - path: Tests/MakimaTests
    dependencies:
      - target: Makima
    settings:
      base:
        PRODUCT_BUNDLE_IDENTIFIER: co.soryu.makima.tests

schemes:
  Makima:
    build:
      targets:
        Makima: all
    run:
      config: Debug
    test:
      config: Debug
      targets:
        - MakimaTests
    archive:
      config: Release