This commit is contained in:
Paolo Marrone 2024-07-08 15:22:14 +02:00
parent 3552a5e68e
commit 75585f3d48
2 changed files with 24 additions and 22 deletions

View File

@ -21,7 +21,7 @@
include vars.mk include vars.mk
COMMON_DIR := $(or $(COMMON_DIR),.) COMMON_DIR := $(or $(COMMON_DIR),.)
DATA_DIR := $(or $(DATA_DIR),.) DATA_DIR := $(or $(DATA_DIR),.)
PLUGIN_DIR := $(or $(PLUGIN_DIR),src) PLUGIN_DIR := $(or $(PLUGIN_DIR),src)
SOURCES := \ SOURCES := \

View File

@ -20,39 +20,41 @@
name: {{=it.product.bundleName}} name: {{=it.product.bundleName}}
targets: targets:
{{=it.product.bundleName}}: {{=it.product.bundleName}}:
{{?it.ios_make.supportedDestinations}} {{?it.ios_make.supportedDestinations}}
supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}} supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}}
{{??}} {{??}}
platform: [iOS] platform: [iOS]
{{?}} {{?}}
deploymentTarget: "{{=it.ios_make.deploymentTarget}}" deploymentTarget: "{{=it.ios_make.deploymentTarget}}"
type: application type: application
sources: sources:
- path: src - path: src
settings: dependencies:
base:
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}} settings:
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h base:
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}}
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h
{{?it.ios_make.headerSearchPaths}} {{?it.ios_make.headerSearchPaths}}
HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}} HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}}
- {{=p}}{{~}} - {{=p}}{{~}}
{{?}} {{?}}
info: info:
path: Info.plist path: Info.plist
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}} {{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}}
properties: properties:
{{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}} {{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}}
NSMicrophoneUsageDescription: Need audio input for processing sound NSMicrophoneUsageDescription: Need audio input for processing sound
{{?}} {{?}}
{{?it.ios_make.infoProperties}} {{?it.ios_make.infoProperties}}
{{~it.ios_make.infoProperties :p}} {{~it.ios_make.infoProperties :p}}
{{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}} {{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}}
{{~}} {{~}}
{{?}} {{?}}
{{?it.ios_make.launchScreen}} {{?it.ios_make.launchScreen}}
UILaunchScreen: UILaunchScreen:
UIColorName: {{=it.ios_make.launchScreen.colorName}} UIColorName: {{=it.ios_make.launchScreen.colorName}}
UIImageName: {{=it.ios_make.launchScreen.imageName}} UIImageName: {{=it.ios_make.launchScreen.imageName}}
{{?}} {{?}}
{{?}} {{?}}