tibia/templates/ios-make/project.yml
2024-03-21 15:03:52 +01:00

51 lines
1.6 KiB
YAML

#
# Tibia
#
# Copyright (C) 2023, 2024 Orastron Srl unipersonale
#
# Tibia is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# Tibia is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Tibia. If not, see <http://www.gnu.org/licenses/>.
#
# File author: Stefano D'Angelo
#
name: {{=it.product.bundleName}}
targets:
{{=it.product.bundleName}}:
platform: [iOS]
deploymentTarget:
iOS: {{=it.ios_make.deploymentTarget}}
type: application
sources:
- path: src
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}}
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h
{{?it.ios_make.headerSearchPaths}}
HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}}
- {{=p}}{{~}}
{{?}}
info:
path: Info.plist
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || (it.ios_make && it.ios_make.infoProperties)}}
properties:
{{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}}
NSMicrophoneUsageDescription: Need audio input for processing sound
{{?}}
{{?it.ios_make && it.ios_make.infoProperties}}
{{~it.ios_make.infoProperties :p}}
{{=p.key}}: {{=p.value.toString()}}
{{~}}
{{?}}
{{?}}