Files

87 lines
3.2 KiB
YAML

name: Stemify
options:
bundleIdPrefix: org.cdnutter
deploymentTarget:
iOS: "17.0"
settings:
base:
SWIFT_VERSION: "5.0"
# iOS needs a plain number for the bundle version; the label is what the app and releases show.
MARKETING_VERSION: "1.0"
VERSION_LABEL: "1.0 RC 4"
CURRENT_PROJECT_VERSION: "24"
# Dev builds override these (build-ipa.sh dev) so they install next to the release app.
APP_ID: org.cdnutter.stemify
APP_NAME: Stemify
APP_ICON: AppIcon
targets:
Stemify:
type: application
platform: iOS
sources: [Stemify, Shared]
dependencies:
- target: StemifyWidgets
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: $(APP_ID)
TARGETED_DEVICE_FAMILY: "1"
ASSETCATALOG_COMPILER_APPICON_NAME: $(APP_ICON)
CODE_SIGN_ENTITLEMENTS: Stemify/Stemify.entitlements
entitlements:
path: Stemify/Stemify.entitlements
properties:
com.apple.developer.carplay-audio: true
com.apple.developer.siri: true
com.apple.security.application-groups: [group.$(APP_ID)]
info:
path: Stemify/Info.plist
properties:
CFBundleDisplayName: $(APP_NAME)
StemifyAppGroup: group.$(APP_ID)
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
StemifyVersionLabel: $(VERSION_LABEL)
UILaunchScreen: {}
UIBackgroundModes: [audio, fetch]
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight]
CADisableMinimumFrameDurationOnPhone: true
ITSAppUsesNonExemptEncryption: false
NSLocalNetworkUsageDescription: Stemify talks to Plex and the stems server on your home network.
NSSiriUsageDescription: Ask Siri to play music from your Plex library.
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
NSAllowsLocalNetworking: true
NSUserActivityTypes: [INPlayMediaIntent]
INIntentsSupported: [INPlayMediaIntent]
INSupportedMediaCategories: [INMediaCategoryMusic]
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UISceneConfigurations:
UIWindowSceneSessionRoleApplication:
- UISceneConfigurationName: Phone
CPTemplateApplicationSceneSessionRoleApplication:
- UISceneConfigurationName: CarPlay
UISceneDelegateClassName: $(PRODUCT_MODULE_NAME).CarPlayScene
StemifyWidgets:
type: app-extension
platform: iOS
sources: [Widgets, Shared]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: $(APP_ID).widgets
TARGETED_DEVICE_FAMILY: "1"
CODE_SIGN_ENTITLEMENTS: Widgets/StemifyWidgets.entitlements
entitlements:
path: Widgets/StemifyWidgets.entitlements
properties:
com.apple.security.application-groups: [group.$(APP_ID)]
info:
path: Widgets/Info.plist
properties:
CFBundleDisplayName: $(APP_NAME)
StemifyAppGroup: group.$(APP_ID)
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
NSExtension:
NSExtensionPointIdentifier: com.apple.widgetkit-extension