108 lines
3.2 KiB
YAML
108 lines
3.2 KiB
YAML
name: AdvancedParentalControls
|
|
options:
|
|
minimumXcodeGenVersion: 2.42.0
|
|
deploymentTarget:
|
|
iOS: '18.0'
|
|
createIntermediateGroups: true
|
|
configFiles:
|
|
Debug: Config/Base.xcconfig
|
|
Release: Config/Base.xcconfig
|
|
settings:
|
|
base:
|
|
SWIFT_VERSION: '5.0'
|
|
SWIFT_STRICT_CONCURRENCY: targeted
|
|
TARGETED_DEVICE_FAMILY: '1'
|
|
CODE_SIGN_STYLE: Automatic
|
|
DEVELOPMENT_TEAM: $(APC_DEVELOPMENT_TEAM)
|
|
MARKETING_VERSION: 0.1.0
|
|
CURRENT_PROJECT_VERSION: 1
|
|
packages:
|
|
PolicyCore:
|
|
path: ../packages/PolicyCore
|
|
targetTemplates:
|
|
ScreenTimeExtension:
|
|
type: app-extension
|
|
platform: iOS
|
|
settings:
|
|
base:
|
|
APPLICATION_EXTENSION_API_ONLY: YES
|
|
CODE_SIGN_ENTITLEMENTS: Config/FamilyControls.entitlements
|
|
dependencies:
|
|
- package: PolicyCore
|
|
targets:
|
|
FamilyQuests:
|
|
type: application
|
|
platform: iOS
|
|
sources: [App, Shared]
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: $(APC_BUNDLE_PREFIX).app
|
|
CODE_SIGN_ENTITLEMENTS: Config/FamilyControls.entitlements
|
|
info:
|
|
path: Generated/App-Info.plist
|
|
properties:
|
|
CFBundleDisplayName: Family Quests
|
|
APCAppGroup: $(APC_APP_GROUP)
|
|
UILaunchScreen: {}
|
|
UIApplicationSceneManifest:
|
|
UIApplicationSupportsMultipleScenes: false
|
|
NSLocalNetworkUsageDescription: Connect to your family's self-hosted policy server on the local network.
|
|
NSAppTransportSecurity:
|
|
NSAllowsLocalNetworking: true
|
|
dependencies:
|
|
- package: PolicyCore
|
|
- target: ActivityMonitor
|
|
embed: true
|
|
- target: ShieldConfiguration
|
|
embed: true
|
|
- target: ShieldAction
|
|
embed: true
|
|
ActivityMonitor:
|
|
templates: [ScreenTimeExtension]
|
|
sources: [Monitor, Shared]
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: $(APC_BUNDLE_PREFIX).app.monitor
|
|
info:
|
|
path: Generated/Monitor-Info.plist
|
|
properties:
|
|
APCAppGroup: $(APC_APP_GROUP)
|
|
NSExtension:
|
|
NSExtensionPointIdentifier: com.apple.deviceactivity.monitor-extension
|
|
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).ActivityMonitor
|
|
ShieldConfiguration:
|
|
templates: [ScreenTimeExtension]
|
|
sources: [Shield]
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: $(APC_BUNDLE_PREFIX).app.shield
|
|
info:
|
|
path: Generated/Shield-Info.plist
|
|
properties:
|
|
APCAppGroup: $(APC_APP_GROUP)
|
|
NSExtension:
|
|
NSExtensionPointIdentifier: com.apple.ManagedSettingsUI.shield-configuration-service
|
|
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).ShieldConfigurationExtension
|
|
ShieldAction:
|
|
templates: [ScreenTimeExtension]
|
|
sources: [ShieldAction]
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: $(APC_BUNDLE_PREFIX).app.shieldaction
|
|
info:
|
|
path: Generated/ShieldAction-Info.plist
|
|
properties:
|
|
APCAppGroup: $(APC_APP_GROUP)
|
|
NSExtension:
|
|
NSExtensionPointIdentifier: com.apple.ManagedSettings.shield-action-service
|
|
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).ShieldActionExtension
|
|
schemes:
|
|
FamilyQuests:
|
|
build:
|
|
targets:
|
|
FamilyQuests: all
|
|
run:
|
|
config: Debug
|
|
archive:
|
|
config: Release
|