ios info properties and assets

This commit is contained in:
Stefano D'Angelo 2024-03-21 15:03:52 +01:00
parent 7cbf1aa52f
commit bc962f2e65
2 changed files with 9 additions and 2 deletions

View File

@ -54,4 +54,4 @@ clean:
PERCENT := % PERCENT := %
$(SOURCES_OUT): build/gen/src/%: $$(filter $$(PERCENT)/%,$$(SOURCES)) | build/gen/src $(SOURCES_OUT): build/gen/src/%: $$(filter $$(PERCENT)/%,$$(SOURCES)) | build/gen/src
cp $^ $@ cp -R $^ $@

View File

@ -37,7 +37,14 @@ targets:
{{?}} {{?}}
info: info:
path: Info.plist path: Info.plist
{{?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) || (it.ios_make && it.ios_make.infoProperties)}}
properties: properties:
{{?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 && it.ios_make.infoProperties}}
{{~it.ios_make.infoProperties :p}}
{{=p.key}}: {{=p.value.toString()}}
{{~}}
{{?}}
{{?}}