krz/moonrise

Night-sky companion for iPhone, Apple Watch and Vision Pro: what's up tonight, the Moon, planets, launches and missions, and a Library of the solar system. SwiftUI app with a Cloudflare Workers backend. astronomy cloudflare-workers ios night-sky space swiftui visionos watchos

App/project.yml

v1.0.0
moonrise/App/project.yml history · blame · raw

194 lines · 6369 bytes

  1name: Moonrise
  2options:
  3  bundleIdPrefix: sh.krz
  4  deploymentTarget:
  5    iOS: "26.0"
  6    watchOS: "26.0"
  7    visionOS: "26.0"
  8packages:
  9  MoonriseKit:
 10    path: ../Packages/MoonriseKit
 11targets:
 12  Moonrise:
 13    type: application
 14    platform: iOS
 15    scheme:
 16      testTargets: [MoonriseUITests]
 17    sources:
 18      - Sources
 19      - Shared
 20      - path: Globes
 21        type: folder
 22    dependencies:
 23      - package: MoonriseKit
 24        product: SkyEngine
 25      - package: MoonriseKit
 26        product: SkyRenderer
 27      - package: MoonriseKit
 28        product: Feeds
 29      - package: MoonriseKit
 30        product: Library
 31      - package: MoonriseKit
 32        product: ObservingLog
 33      - target: MoonriseWidgets
 34      - target: MoonriseWatch
 35    entitlements:
 36      path: Sources/Moonrise.entitlements
 37      properties:
 38        aps-environment: development
 39    info:
 40      path: Sources/Info.plist
 41      properties:
 42        MoonriseAPIURL: $(MOONRISE_API_URL)
 43        NSAppTransportSecurity:
 44          NSAllowsLocalNetworking: true
 45    settings:
 46      configs:
 47        Debug:
 48          MOONRISE_API_URL: https://moonrise-server.audit-labs.workers.dev
 49        Release:
 50          MOONRISE_API_URL: https://moonrise-server.audit-labs.workers.dev
 51      base:
 52        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise
 53        DEVELOPMENT_TEAM: ZCNAX3VL9D
 54        CODE_SIGN_STYLE: Automatic
 55        SWIFT_VERSION: "6.0"
 56        TARGETED_DEVICE_FAMILY: "1,2"
 57        MARKETING_VERSION: "1.0.0"
 58        CURRENT_PROJECT_VERSION: "52"
 59        GENERATE_INFOPLIST_FILE: YES
 60        INFOPLIST_KEY_CFBundleDisplayName: Moonrise
 61        INFOPLIST_KEY_NSSupportsLiveActivities: YES
 62        INFOPLIST_KEY_ITSAppUsesNonExemptEncryption: NO
 63        INFOPLIST_KEY_UIFileSharingEnabled: YES
 64        INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace: YES
 65        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
 66        INFOPLIST_KEY_UILaunchScreen_Generation: YES
 67        INFOPLIST_KEY_UIStatusBarStyle: UIStatusBarStyleLightContent
 68        INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortrait
 69        INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight
 70        INFOPLIST_KEY_NSLocationWhenInUseUsageDescription: Moonrise uses your location to draw the sky above you.
 71  MoonriseWidgets:
 72    type: app-extension
 73    platform: iOS
 74    sources: [Widgets, Shared]
 75    dependencies:
 76      - package: MoonriseKit
 77        product: SkyEngine
 78      - package: MoonriseKit
 79        product: SkyRenderer
 80      - sdk: WidgetKit.framework
 81      - sdk: SwiftUI.framework
 82    info:
 83      path: Widgets/Info.plist
 84      properties:
 85        CFBundleDisplayName: Moonrise
 86        CFBundleShortVersionString: $(MARKETING_VERSION)
 87        CFBundleVersion: $(CURRENT_PROJECT_VERSION)
 88        NSWidgetWantsLocation: true
 89        NSExtension:
 90          NSExtensionPointIdentifier: com.apple.widgetkit-extension
 91    settings:
 92      base:
 93        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise.widgets
 94        DEVELOPMENT_TEAM: ZCNAX3VL9D
 95        CODE_SIGN_STYLE: Automatic
 96        SWIFT_VERSION: "6.0"
 97        TARGETED_DEVICE_FAMILY: "1,2"
 98        MARKETING_VERSION: "1.0.0"
 99        CURRENT_PROJECT_VERSION: "52"
100  MoonriseWatch:
101    type: application
102    platform: watchOS
103    sources: [Watch]
104    dependencies:
105      - package: MoonriseKit
106        product: SkyEngine
107      - package: MoonriseKit
108        product: SkyRenderer
109      - target: MoonriseWatchWidgets
110    settings:
111      base:
112        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise.watchkitapp
113        DEVELOPMENT_TEAM: ZCNAX3VL9D
114        CODE_SIGN_STYLE: Automatic
115        SWIFT_VERSION: "6.0"
116        MARKETING_VERSION: "1.0.0"
117        CURRENT_PROJECT_VERSION: "52"
118        GENERATE_INFOPLIST_FILE: YES
119        INFOPLIST_KEY_CFBundleDisplayName: Moonrise
120        INFOPLIST_KEY_WKCompanionAppBundleIdentifier: sh.krz.moonrise
121        INFOPLIST_KEY_WKRunsIndependentlyOfCompanionApp: YES
122        INFOPLIST_KEY_NSLocationWhenInUseUsageDescription: Moonrise uses your location to work out tonight's sky.
123        ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
124  MoonriseWatchWidgets:
125    type: app-extension
126    platform: watchOS
127    sources:
128      - Widgets/MoonriseWidgets.swift
129    dependencies:
130      - package: MoonriseKit
131        product: SkyEngine
132      - package: MoonriseKit
133        product: SkyRenderer
134      - sdk: WidgetKit.framework
135      - sdk: SwiftUI.framework
136    info:
137      path: Watch/Widgets-Info.plist
138      properties:
139        CFBundleDisplayName: Moonrise
140        CFBundleShortVersionString: $(MARKETING_VERSION)
141        CFBundleVersion: $(CURRENT_PROJECT_VERSION)
142        NSWidgetWantsLocation: true
143        NSExtension:
144          NSExtensionPointIdentifier: com.apple.widgetkit-extension
145    settings:
146      base:
147        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise.watchkitapp.widgets
148        DEVELOPMENT_TEAM: ZCNAX3VL9D
149        CODE_SIGN_STYLE: Automatic
150        SWIFT_VERSION: "6.0"
151        MARKETING_VERSION: "1.0.0"
152        CURRENT_PROJECT_VERSION: "52"
153  MoonriseVision:
154    type: application
155    platform: visionOS
156    sources:
157      - Vision
158      - Sources/GlobeView.swift
159      - Sources/GlobeMaps.swift
160      - Sources/ColorHex.swift
161      - path: Globes
162        type: folder
163    dependencies:
164      - package: MoonriseKit
165        product: SkyEngine
166      - package: MoonriseKit
167        product: SkyRenderer
168      - package: MoonriseKit
169        product: Library
170    settings:
171      base:
172        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise.vision
173        DEVELOPMENT_TEAM: ZCNAX3VL9D
174        CODE_SIGN_STYLE: Automatic
175        SWIFT_VERSION: "6.0"
176        MARKETING_VERSION: "1.0.0"
177        CURRENT_PROJECT_VERSION: "52"
178        GENERATE_INFOPLIST_FILE: YES
179        INFOPLIST_KEY_CFBundleDisplayName: Moonrise
180        INFOPLIST_KEY_UIApplicationSceneManifest_Generation: YES
181  MoonriseUITests:
182    type: bundle.ui-testing
183    platform: iOS
184    sources: [UITests]
185    dependencies:
186      - target: Moonrise
187    settings:
188      base:
189        PRODUCT_BUNDLE_IDENTIFIER: sh.krz.moonrise.uitests
190        DEVELOPMENT_TEAM: ZCNAX3VL9D
191        CODE_SIGN_STYLE: Automatic
192        SWIFT_VERSION: "5.0"
193        TARGETED_DEVICE_FAMILY: "1,2"
194        GENERATE_INFOPLIST_FILE: YES